@sikka/hawa 0.1.2 → 0.1.3-next

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 (386) hide show
  1. package/README.md +21 -43
  2. package/dist/index.css +1064 -0
  3. package/dist/index.d.mts +15 -0
  4. package/dist/index.d.ts +15 -0
  5. package/dist/index.js +246 -0
  6. package/dist/index.mjs +157 -0
  7. package/package.json +48 -115
  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 -3532
  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/UsageCard.d.ts +0 -9
  108. package/es/elements/UserFeedback.d.ts +0 -14
  109. package/es/elements/index.d.ts +0 -52
  110. package/es/hooks/index.d.ts +0 -2
  111. package/es/hooks/useBreakpoint.d.ts +0 -2
  112. package/es/hooks/useDiscloser.d.ts +0 -7
  113. package/es/hooks/useHover.d.ts +0 -3
  114. package/es/hooks/useScrollPosition.d.ts +0 -2
  115. package/es/hooks/useTable.d.ts +0 -5
  116. package/es/index.d.ts +0 -4
  117. package/es/index.es.js +0 -16
  118. package/es/layout/AppSidebar.d.ts +0 -11
  119. package/es/layout/Banner.d.ts +0 -14
  120. package/es/layout/Box.d.ts +0 -2
  121. package/es/layout/Footer.d.ts +0 -20
  122. package/es/layout/HawaAppLayout.d.ts +0 -31
  123. package/es/layout/HawaAppLayoutSimplified.d.ts +0 -33
  124. package/es/layout/HawaBottomAppBar.d.ts +0 -8
  125. package/es/layout/HawaContainer.d.ts +0 -10
  126. package/es/layout/HawaGrid.d.ts +0 -6
  127. package/es/layout/HawaSiteLayout.d.ts +0 -23
  128. package/es/layout/index.d.ts +0 -10
  129. package/es/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
  130. package/es/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
  131. package/es/stories/ManualStories/Customization.stories.d.ts +0 -21
  132. package/es/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
  133. package/es/stories/ManualStories/Installation.stories.d.ts +0 -21
  134. package/es/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
  135. package/es/stories/ManualStories/Overview.stories.d.ts +0 -22
  136. package/es/stories/ManualStories/Usage.stories.d.ts +0 -21
  137. package/es/util.d.ts +0 -10
  138. package/lib/blocks/Account/HawaApiBox.d.ts +0 -8
  139. package/lib/blocks/Account/UserProfileForm.d.ts +0 -8
  140. package/lib/blocks/Account/UserSettingsForm.d.ts +0 -9
  141. package/lib/blocks/Account/index.d.ts +0 -2
  142. package/lib/blocks/AuthForms/AppLanding.d.ts +0 -15
  143. package/lib/blocks/AuthForms/CodeConfirmation.d.ts +0 -22
  144. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +0 -18
  145. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +0 -18
  146. package/lib/blocks/AuthForms/SignInBlock.d.ts +0 -2
  147. package/lib/blocks/AuthForms/SignInForm.d.ts +0 -51
  148. package/lib/blocks/AuthForms/SignInPhone.d.ts +0 -13
  149. package/lib/blocks/AuthForms/SignUpForm.d.ts +0 -55
  150. package/lib/blocks/AuthForms/index.d.ts +0 -8
  151. package/lib/blocks/Misc/EmptyState.d.ts +0 -11
  152. package/lib/blocks/Misc/LeadGenerator.d.ts +0 -12
  153. package/lib/blocks/Misc/NoPermission.d.ts +0 -10
  154. package/lib/blocks/Misc/NotFound.d.ts +0 -11
  155. package/lib/blocks/Misc/Testimonial.d.ts +0 -6
  156. package/lib/blocks/Misc/index.d.ts +0 -5
  157. package/lib/blocks/Payment/ChargeWalletForm.d.ts +0 -12
  158. package/lib/blocks/Payment/CheckoutForm.d.ts +0 -27
  159. package/lib/blocks/Payment/Confirmation.d.ts +0 -38
  160. package/lib/blocks/Payment/CreditCardForm.d.ts +0 -7
  161. package/lib/blocks/Payment/PayWithWallet.d.ts +0 -8
  162. package/lib/blocks/Payment/SelectPayment.d.ts +0 -26
  163. package/lib/blocks/Payment/index.d.ts +0 -6
  164. package/lib/blocks/Pricing/ComparingPlans.d.ts +0 -39
  165. package/lib/blocks/Pricing/HorizontalPricing.d.ts +0 -47
  166. package/lib/blocks/Pricing/PricingPlans.d.ts +0 -47
  167. package/lib/blocks/Pricing/index.d.ts +0 -3
  168. package/lib/blocks/Referral/ReferralAccount.d.ts +0 -7
  169. package/lib/blocks/Referral/ReferralSettlement.d.ts +0 -8
  170. package/lib/blocks/Referral/ReferralStats.d.ts +0 -8
  171. package/lib/blocks/Referral/index.d.ts +0 -3
  172. package/lib/blocks/index.d.ts +0 -6
  173. package/lib/countries.d.ts +0 -2
  174. package/lib/elements/ArrowCarousel.d.ts +0 -13
  175. package/lib/elements/AutoCompleteField.d.ts +0 -8
  176. package/lib/elements/BackToTop.d.ts +0 -10
  177. package/lib/elements/Breadcrumb.d.ts +0 -12
  178. package/lib/elements/Button.d.ts +0 -12
  179. package/lib/elements/Card.d.ts +0 -10
  180. package/lib/elements/DragDropImages.d.ts +0 -28
  181. package/lib/elements/DraggableCard.d.ts +0 -6
  182. package/lib/elements/FloatingComment.d.ts +0 -32
  183. package/lib/elements/FloatingCommentExec.d.ts +0 -4
  184. package/lib/elements/FloatingCommentSlate.d.ts +0 -19
  185. package/lib/elements/HawaAccordion.d.ts +0 -11
  186. package/lib/elements/HawaAdCard.d.ts +0 -10
  187. package/lib/elements/HawaAlert.d.ts +0 -23
  188. package/lib/elements/HawaButton.d.ts +0 -21
  189. package/lib/elements/HawaCardInput.d.ts +0 -25
  190. package/lib/elements/HawaCheckbox.d.ts +0 -11
  191. package/lib/elements/HawaChip.d.ts +0 -17
  192. package/lib/elements/HawaCodeBlock.d.ts +0 -15
  193. package/lib/elements/HawaColorPicker.d.ts +0 -9
  194. package/lib/elements/HawaCopyrights.d.ts +0 -15
  195. package/lib/elements/HawaDatepicker.d.ts +0 -4
  196. package/lib/elements/HawaDropdownMenu.d.ts +0 -7
  197. package/lib/elements/HawaIconCount.d.ts +0 -9
  198. package/lib/elements/HawaInlineCode.d.ts +0 -6
  199. package/lib/elements/HawaItemCard.d.ts +0 -32
  200. package/lib/elements/HawaLandingCard.d.ts +0 -18
  201. package/lib/elements/HawaLoading.d.ts +0 -8
  202. package/lib/elements/HawaLogoButton.d.ts +0 -10
  203. package/lib/elements/HawaMenu.d.ts +0 -24
  204. package/lib/elements/HawaModal.d.ts +0 -21
  205. package/lib/elements/HawaPanelTabs.d.ts +0 -13
  206. package/lib/elements/HawaPhoneInput.d.ts +0 -11
  207. package/lib/elements/HawaPinInput.d.ts +0 -10
  208. package/lib/elements/HawaPricingCard.d.ts +0 -21
  209. package/lib/elements/HawaRadio.d.ts +0 -16
  210. package/lib/elements/HawaRange.d.ts +0 -12
  211. package/lib/elements/HawaSearchBar.d.ts +0 -4
  212. package/lib/elements/HawaSelect.d.ts +0 -23
  213. package/lib/elements/HawaSettingsRow.d.ts +0 -44
  214. package/lib/elements/HawaSnackbar.d.ts +0 -19
  215. package/lib/elements/HawaStats.d.ts +0 -14
  216. package/lib/elements/HawaStepper.d.ts +0 -8
  217. package/lib/elements/HawaStoreButtons.d.ts +0 -7
  218. package/lib/elements/HawaSwitch.d.ts +0 -7
  219. package/lib/elements/HawaTable.d.ts +0 -45
  220. package/lib/elements/HawaTabs.d.ts +0 -13
  221. package/lib/elements/HawaTextField.d.ts +0 -31
  222. package/lib/elements/HawaTooltip.d.ts +0 -12
  223. package/lib/elements/HawaTypography.d.ts +0 -7
  224. package/lib/elements/Icons.d.ts +0 -19
  225. package/lib/elements/Input.d.ts +0 -5
  226. package/lib/elements/InvoiceAccordion.d.ts +0 -31
  227. package/lib/elements/Label.d.ts +0 -5
  228. package/lib/elements/SubsectionList.d.ts +0 -19
  229. package/lib/elements/TabPanel.d.ts +0 -8
  230. package/lib/elements/Timeline.d.ts +0 -13
  231. package/lib/elements/UsageCard.d.ts +0 -9
  232. package/lib/elements/UserFeedback.d.ts +0 -14
  233. package/lib/elements/index.d.ts +0 -52
  234. package/lib/hooks/index.d.ts +0 -2
  235. package/lib/hooks/useBreakpoint.d.ts +0 -2
  236. package/lib/hooks/useDiscloser.d.ts +0 -7
  237. package/lib/hooks/useHover.d.ts +0 -3
  238. package/lib/hooks/useScrollPosition.d.ts +0 -2
  239. package/lib/hooks/useTable.d.ts +0 -5
  240. package/lib/index.d.ts +0 -4
  241. package/lib/index.js +0 -16
  242. package/lib/layout/AppSidebar.d.ts +0 -11
  243. package/lib/layout/Banner.d.ts +0 -14
  244. package/lib/layout/Box.d.ts +0 -2
  245. package/lib/layout/Footer.d.ts +0 -20
  246. package/lib/layout/HawaAppLayout.d.ts +0 -31
  247. package/lib/layout/HawaAppLayoutSimplified.d.ts +0 -33
  248. package/lib/layout/HawaBottomAppBar.d.ts +0 -8
  249. package/lib/layout/HawaContainer.d.ts +0 -10
  250. package/lib/layout/HawaGrid.d.ts +0 -6
  251. package/lib/layout/HawaSiteLayout.d.ts +0 -23
  252. package/lib/layout/index.d.ts +0 -10
  253. package/lib/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
  254. package/lib/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
  255. package/lib/stories/ManualStories/Customization.stories.d.ts +0 -21
  256. package/lib/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
  257. package/lib/stories/ManualStories/Installation.stories.d.ts +0 -21
  258. package/lib/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
  259. package/lib/stories/ManualStories/Overview.stories.d.ts +0 -22
  260. package/lib/stories/ManualStories/Usage.stories.d.ts +0 -21
  261. package/lib/util.d.ts +0 -10
  262. package/postcss.config.js +0 -6
  263. package/rollup.config.js +0 -61
  264. package/src/blocks/Account/HawaApiBox.tsx +0 -12
  265. package/src/blocks/Account/UserProfileForm.tsx +0 -118
  266. package/src/blocks/Account/UserSettingsForm.tsx +0 -21
  267. package/src/blocks/Account/index.ts +0 -2
  268. package/src/blocks/AuthForms/AppLanding.tsx +0 -89
  269. package/src/blocks/AuthForms/CodeConfirmation.tsx +0 -72
  270. package/src/blocks/AuthForms/NewPasswordForm.tsx +0 -116
  271. package/src/blocks/AuthForms/ResetPasswordForm.tsx +0 -97
  272. package/src/blocks/AuthForms/SignInBlock.tsx +0 -60
  273. package/src/blocks/AuthForms/SignInForm.tsx +0 -228
  274. package/src/blocks/AuthForms/SignInPhone.tsx +0 -57
  275. package/src/blocks/AuthForms/SignUpForm.tsx +0 -342
  276. package/src/blocks/AuthForms/index.ts +0 -8
  277. package/src/blocks/Misc/EmptyState.tsx +0 -49
  278. package/src/blocks/Misc/LeadGenerator.tsx +0 -49
  279. package/src/blocks/Misc/NoPermission.tsx +0 -44
  280. package/src/blocks/Misc/NotFound.tsx +0 -36
  281. package/src/blocks/Misc/Testimonial.tsx +0 -44
  282. package/src/blocks/Misc/index.ts +0 -5
  283. package/src/blocks/Payment/ChargeWalletForm.tsx +0 -82
  284. package/src/blocks/Payment/CheckoutForm.tsx +0 -271
  285. package/src/blocks/Payment/Confirmation.tsx +0 -94
  286. package/src/blocks/Payment/CreditCardForm.tsx +0 -108
  287. package/src/blocks/Payment/PayWithWallet.tsx +0 -26
  288. package/src/blocks/Payment/SelectPayment.tsx +0 -89
  289. package/src/blocks/Payment/index.ts +0 -6
  290. package/src/blocks/Pricing/ComparingPlans.tsx +0 -154
  291. package/src/blocks/Pricing/HorizontalPricing.tsx +0 -148
  292. package/src/blocks/Pricing/PricingPlans.tsx +0 -81
  293. package/src/blocks/Pricing/index.ts +0 -3
  294. package/src/blocks/Referral/ReferralAccount.tsx +0 -68
  295. package/src/blocks/Referral/ReferralSettlement.tsx +0 -170
  296. package/src/blocks/Referral/ReferralStats.tsx +0 -85
  297. package/src/blocks/Referral/index.ts +0 -3
  298. package/src/blocks/index.ts +0 -6
  299. package/src/countries.ts +0 -1940
  300. package/src/elements/ArrowCarousel.tsx +0 -94
  301. package/src/elements/AutoCompleteField.tsx +0 -37
  302. package/src/elements/BackToTop.tsx +0 -129
  303. package/src/elements/Breadcrumb.tsx +0 -41
  304. package/src/elements/Button.tsx +0 -77
  305. package/src/elements/Card.tsx +0 -87
  306. package/src/elements/DragDropImages.tsx +0 -251
  307. package/src/elements/DraggableCard.tsx +0 -27
  308. package/src/elements/FloatingComment.tsx +0 -1107
  309. package/src/elements/FloatingCommentExec.tsx +0 -106
  310. package/src/elements/FloatingCommentSlate.tsx +0 -149
  311. package/src/elements/HawaAccordion.tsx +0 -57
  312. package/src/elements/HawaAdCard.tsx +0 -49
  313. package/src/elements/HawaAlert.tsx +0 -195
  314. package/src/elements/HawaButton.tsx +0 -241
  315. package/src/elements/HawaCardInput.tsx +0 -318
  316. package/src/elements/HawaCheckbox.tsx +0 -54
  317. package/src/elements/HawaChip.tsx +0 -59
  318. package/src/elements/HawaCodeBlock.tsx +0 -156
  319. package/src/elements/HawaColorPicker.tsx +0 -40
  320. package/src/elements/HawaCopyrights.tsx +0 -30
  321. package/src/elements/HawaDatepicker.tsx +0 -23
  322. package/src/elements/HawaDropdownMenu.tsx +0 -267
  323. package/src/elements/HawaIconCount.tsx +0 -17
  324. package/src/elements/HawaInlineCode.tsx +0 -9
  325. package/src/elements/HawaItemCard.tsx +0 -157
  326. package/src/elements/HawaLandingCard.tsx +0 -68
  327. package/src/elements/HawaLoading.tsx +0 -83
  328. package/src/elements/HawaLogoButton.tsx +0 -154
  329. package/src/elements/HawaMenu.tsx +0 -226
  330. package/src/elements/HawaModal.tsx +0 -89
  331. package/src/elements/HawaPanelTabs.tsx +0 -57
  332. package/src/elements/HawaPhoneInput.tsx +0 -171
  333. package/src/elements/HawaPinInput.tsx +0 -78
  334. package/src/elements/HawaPricingCard.tsx +0 -107
  335. package/src/elements/HawaRadio.tsx +0 -180
  336. package/src/elements/HawaRange.tsx +0 -49
  337. package/src/elements/HawaSearchBar.tsx +0 -7
  338. package/src/elements/HawaSelect.tsx +0 -209
  339. package/src/elements/HawaSettingsRow.tsx +0 -74
  340. package/src/elements/HawaSnackbar.tsx +0 -137
  341. package/src/elements/HawaStats.tsx +0 -72
  342. package/src/elements/HawaStepper.tsx +0 -109
  343. package/src/elements/HawaStoreButtons.tsx +0 -129
  344. package/src/elements/HawaSwitch.tsx +0 -41
  345. package/src/elements/HawaTable.tsx +0 -587
  346. package/src/elements/HawaTabs.tsx +0 -143
  347. package/src/elements/HawaTextField.tsx +0 -148
  348. package/src/elements/HawaTooltip.tsx +0 -137
  349. package/src/elements/HawaTypography.tsx +0 -9
  350. package/src/elements/Icons.tsx +0 -145
  351. package/src/elements/Input.tsx +0 -25
  352. package/src/elements/InvoiceAccordion.tsx +0 -155
  353. package/src/elements/Label.tsx +0 -26
  354. package/src/elements/SubsectionList.tsx +0 -77
  355. package/src/elements/TabPanel.tsx +0 -25
  356. package/src/elements/Timeline.tsx +0 -35
  357. package/src/elements/UsageCard.tsx +0 -45
  358. package/src/elements/UserFeedback.tsx +0 -126
  359. package/src/elements/index.ts +0 -55
  360. package/src/hooks/index.ts +0 -2
  361. package/src/hooks/useBreakpoint.ts +0 -24
  362. package/src/hooks/useDiscloser.ts +0 -21
  363. package/src/hooks/useHover.ts +0 -25
  364. package/src/hooks/useScrollPosition.ts +0 -30
  365. package/src/hooks/useTable.ts +0 -159
  366. package/src/index.ts +0 -4
  367. package/src/layout/AppSidebar.tsx +0 -39
  368. package/src/layout/Banner.tsx +0 -122
  369. package/src/layout/Box.tsx +0 -5
  370. package/src/layout/Footer.tsx +0 -71
  371. package/src/layout/HawaAppLayout.tsx +0 -527
  372. package/src/layout/HawaAppLayoutSimplified.tsx +0 -568
  373. package/src/layout/HawaBottomAppBar.tsx +0 -55
  374. package/src/layout/HawaContainer.tsx +0 -43
  375. package/src/layout/HawaGrid.tsx +0 -15
  376. package/src/layout/HawaSiteLayout.tsx +0 -159
  377. package/src/layout/index.ts +0 -10
  378. package/src/styles.css +0 -3532
  379. package/src/tailwind.css +0 -179
  380. package/src/translations/ar.json +0 -30
  381. package/src/translations/en.json +0 -29
  382. package/src/translations/i18n.js +0 -15
  383. package/src/util.ts +0 -149
  384. package/tailwind.config.js +0 -227
  385. package/tools/build-styles.js +0 -17
  386. package/tsconfig.json +0 -31
@@ -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: "contained" | "outlined";
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 {};
@@ -1,15 +0,0 @@
1
- import { FC } from "react";
2
- type CopyRightsTypes = {
3
- /** A text used as the version of the app, for example: v1.0.0 */
4
- version?: string;
5
- /** Credit to the creator of the app, for example: Sikka Software */
6
- credits?: string;
7
- /** The URL of the logo in the copyrights */
8
- logoURL?: string;
9
- /** Enable/Disable the existance of the logo */
10
- withLogo?: boolean;
11
- /** Fires when the logo is clicked, usually goes to the website of the creator of the app */
12
- onLogoClicked?: any;
13
- };
14
- export declare const HawaCopyrights: FC<CopyRightsTypes>;
15
- export {};
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- type DatepickerTypes = {};
3
- export declare const HawaDatepicker: FC<DatepickerTypes>;
4
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- interface TMenuTypes {
3
- children?: any;
4
- direction?: "rtl" | "ltr";
5
- }
6
- export declare const HawaDropdownMenu: FC<TMenuTypes>;
7
- export {};
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- type IconCountTypes = {
3
- /** The icon of the counter */
4
- icon: JSX.Element;
5
- /** The text next to the icon */
6
- count?: string;
7
- };
8
- export declare const HawaIconCount: FC<IconCountTypes>;
9
- export {};
@@ -1,6 +0,0 @@
1
- import { FC } from "react";
2
- type InlineCodeTypes = {
3
- text: string;
4
- };
5
- export declare const HawaInlineCode: FC<InlineCodeTypes>;
6
- export {};
@@ -1,32 +0,0 @@
1
- import { FC } from "react";
2
- interface ItemCardTypes {
3
- headerActions?: THeaderActions[][];
4
- header?: any;
5
- content?: any;
6
- /** a URL for the image of the card */
7
- cardImage?: string;
8
- /** a function that fires when the card is clicked anywhere */
9
- onCardClick?: any;
10
- /** a React node with HawaIconCount children to have counters at the bottom of the card */
11
- counts?: JSX.Element;
12
- /** The action buttons on the bottom right of the card */
13
- actions?: JSX.Element;
14
- /** The orientation of the card */
15
- orientation?: "horizontal" | "vertical";
16
- /** Enabling this blurs the image on hover and shows an action button */
17
- clickableImage?: boolean;
18
- /** The function of the action button on the image of the card */
19
- clickableImageAction?: () => void;
20
- /** The text of the action button on the image of the card */
21
- clickableImageActionText: string;
22
- /** The icon of the action button on the image of the card */
23
- clickableImageActionIcon?: any;
24
- }
25
- type THeaderActions = {
26
- icon?: JSX.Element;
27
- label: string;
28
- action?: (e: any) => void;
29
- isButton?: boolean;
30
- };
31
- export declare const HawaItemCard: FC<ItemCardTypes>;
32
- export {};
@@ -1,18 +0,0 @@
1
- import { FC } from "react";
2
- type LandingCardTypes = {
3
- orientation: "vertical" | "horizontal";
4
- title: string;
5
- description: string;
6
- imageURL: string;
7
- handleHide: any;
8
- texts?: {
9
- titleTip?: string;
10
- title?: string;
11
- description?: string;
12
- linkText?: string;
13
- };
14
- buttonLink?: string;
15
- className?: any;
16
- };
17
- export declare const HawaLandingCard: FC<LandingCardTypes>;
18
- export {};
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- type LoadingTypes = {
3
- size?: "button" | "sm" | "normal" | "lg" | "xl";
4
- design?: "spinner" | "dots-bounce" | "dots-pulse" | "pulse" | "spinner-dots";
5
- color?: any;
6
- };
7
- export declare const HawaLoading: FC<LoadingTypes>;
8
- export {};
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- type LogoButtonTypes = {
3
- lang?: any;
4
- logo?: "google" | "github" | "twitter" | "wallet" | "googlepay" | "applepay" | "stcpay" | "visa/master" | "paypal" | "mada";
5
- onClick?: any;
6
- buttonText?: any;
7
- direction?: "rtl" | "ltr";
8
- };
9
- export declare const HawaLogoButton: FC<LogoButtonTypes>;
10
- export {};
@@ -1,24 +0,0 @@
1
- import { ReactNode, FC } from "react";
2
- interface TMenuTypes {
3
- menuItems: MenuItems[][];
4
- withHeader?: boolean;
5
- headerTitle?: string;
6
- headerSubtitle?: string;
7
- direction?: "rtl" | "ltr";
8
- anchor?: any;
9
- children?: ReactNode;
10
- position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
11
- onClickOutside?: any;
12
- actionedItem?: any;
13
- size?: "small" | "normal" | "large";
14
- }
15
- type MenuItems = {
16
- icon?: JSX.Element;
17
- disabled?: boolean;
18
- label: string;
19
- action?: (e: any) => void;
20
- isButton?: boolean;
21
- element?: any;
22
- };
23
- export declare const HawaMenu: FC<TMenuTypes>;
24
- export {};
@@ -1,21 +0,0 @@
1
- import { ReactElement, FC } from "react";
2
- type ModalTypes = {
3
- /** * The boolean to open and close the modal */
4
- open: boolean;
5
- /** * The title of the modal, it will appear in the header of the modal */
6
- title: string;
7
- /**
8
- * a function that's triggered when the modal is closed either by the clicking the close button or outside the modal.
9
- * @returns void
10
- */
11
- onClose: () => void;
12
- /** * Boolean to enable/disable closing the modal upon clicking outside the modal */
13
- closeOnClickOutside?: boolean;
14
- /** * The id of the modal */
15
- modalID?: string;
16
- children: ReactElement;
17
- /** * The array of actions for the modal, it will appear in the footer of the modal */
18
- actions: any;
19
- };
20
- export declare const HawaModal: FC<ModalTypes>;
21
- export {};
@@ -1,13 +0,0 @@
1
- import { FC } from "react";
2
- type PanelTabsTypes = {
3
- defaultValue: any;
4
- options: [{
5
- label: string;
6
- value: string;
7
- }];
8
- lang: any;
9
- handleChange: any;
10
- location: any;
11
- };
12
- export declare const HawaPanelTabs: FC<PanelTabsTypes>;
13
- export {};
@@ -1,11 +0,0 @@
1
- import { FC } from "react";
2
- type HawaPhoneInputTypes = {
3
- preferredCountry?: any;
4
- helperText?: any;
5
- label?: string;
6
- value?: any;
7
- country?: any;
8
- handleChange?: any;
9
- };
10
- export declare const HawaPhoneInput: FC<HawaPhoneInputTypes>;
11
- export {};
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- type PinInputTypes = {
3
- label?: string;
4
- icon?: JSX.Element;
5
- digits: number;
6
- width?: "normal" | "full";
7
- getPins?: any;
8
- };
9
- export declare const HawaPinInput: FC<PinInputTypes>;
10
- export {};
@@ -1,21 +0,0 @@
1
- import { FC } from "react";
2
- type PricingCardTypes = {
3
- direction?: "rtl" | "ltr";
4
- features: [{
5
- included: boolean;
6
- text: string;
7
- }];
8
- price: number;
9
- texts: {
10
- title: string;
11
- subtitle: string;
12
- buttonText: string;
13
- cycleText: string;
14
- currencyText: string;
15
- };
16
- onPlanClicked?: () => void;
17
- currentPlan?: boolean;
18
- size: "small" | "medium" | "large";
19
- };
20
- export declare const HawaPricingCard: FC<PricingCardTypes>;
21
- export {};
@@ -1,16 +0,0 @@
1
- import { FC } from "react";
2
- type RadioTypes = {
3
- orientation?: "vertical" | "horizontal";
4
- design?: "default" | "tabs" | "cards" | "bordered";
5
- options?: {
6
- value: any;
7
- label: any;
8
- disabled?: any;
9
- sublabel?: any;
10
- icon?: any;
11
- }[];
12
- onChangeTab?: any;
13
- defaultValue?: any;
14
- };
15
- export declare const HawaRadio: FC<RadioTypes>;
16
- export {};
@@ -1,12 +0,0 @@
1
- import { FC } from "react";
2
- type RangeTypes = {
3
- value?: any;
4
- handleChange?: any;
5
- startElement?: any;
6
- endElement?: any;
7
- label?: string;
8
- min?: any;
9
- max?: any;
10
- };
11
- export declare const HawaRange: FC<RangeTypes>;
12
- export {};
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- type SearchBarTypes = {};
3
- export declare const HawaSearchBar: FC<SearchBarTypes>;
4
- export {};
@@ -1,23 +0,0 @@
1
- import { FC } from "react";
2
- type SelectTypes = {
3
- label?: string;
4
- options?: {
5
- value: any;
6
- label: any;
7
- }[];
8
- isCreatable?: boolean;
9
- isClearable?: boolean;
10
- isMulti?: boolean;
11
- isSearchable?: boolean;
12
- onChange?: any;
13
- helperText?: any;
14
- onInputChange?: any;
15
- native?: any;
16
- width?: "full" | "small";
17
- value?: any;
18
- children?: any;
19
- getOptionLabel?: any;
20
- disabled?: boolean;
21
- };
22
- export declare const HawaSelect: FC<SelectTypes>;
23
- export {};
@@ -1,44 +0,0 @@
1
- import { FC } from "react";
2
- type SettingsRowTypes = {
3
- settingsLabel: string;
4
- settingsType: "text" | "radio" | "boolean" | "color" | "range" | "select";
5
- settingsDescription?: string;
6
- radioProps: {
7
- defaultValue: any;
8
- onChangeTab: any;
9
- options: [{
10
- label: string;
11
- value: any;
12
- }];
13
- };
14
- colorProps: {
15
- color?: any;
16
- handleChange?: any;
17
- };
18
- rangeProps: {
19
- min?: any;
20
- max?: any;
21
- };
22
- switchProps: {
23
- size: "small" | "normal" | "large";
24
- };
25
- selectProps: {
26
- label?: string;
27
- options?: any[any];
28
- isCreatable?: boolean;
29
- isClearable?: boolean;
30
- isMulti?: boolean;
31
- isSearchable?: boolean;
32
- onChange?: any;
33
- helperText?: any;
34
- onInputChange?: any;
35
- native?: any;
36
- fullWidth?: any;
37
- value?: any;
38
- children?: any;
39
- getOptionLabel?: any;
40
- disabled?: boolean;
41
- };
42
- };
43
- export declare const HawaSettingsRow: FC<SettingsRowTypes>;
44
- export {};
@@ -1,19 +0,0 @@
1
- import { FC } from "react";
2
- type THawaSnackBar = {
3
- severity: "info" | "warning" | "error" | "success" | "none";
4
- title: string;
5
- description: string;
6
- onCloseSnakbar?: () => void;
7
- duration?: number;
8
- position?: "top-left" | "top-center" | "top-right" | "bottom-right" | "bottom-center" | "bottom-left";
9
- actions?: [
10
- {
11
- icon?: any;
12
- label: string;
13
- onClick: any;
14
- variant: "contained" | "outlined";
15
- }
16
- ];
17
- };
18
- export declare const HawaSnackbar: FC<THawaSnackBar>;
19
- export {};