@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,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 {};
@@ -1,14 +0,0 @@
1
- import { FC } from "react";
2
- type StatTypes = {
3
- label?: string;
4
- color?: string;
5
- number?: string;
6
- helperText?: string;
7
- icon?: any;
8
- variant?: "default" | "plain" | "contained" | "outlined" | "brutalist" | "dropshadow";
9
- width?: "full" | "min" | "normal";
10
- isLoading?: boolean;
11
- handleClick?: () => void;
12
- };
13
- export declare const HawaStats: FC<StatTypes>;
14
- export {};
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- type THawaTimeline = {
3
- steps: any[any];
4
- currentStep: any;
5
- orientation: "vertical" | "horizontal";
6
- };
7
- export declare const HawaStepper: FC<THawaTimeline>;
8
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- type StoreButtonsTypes = {
3
- store: "apple" | "google";
4
- mode: "dark" | "light";
5
- };
6
- export declare const HawaStoreButtons: FC<StoreButtonsTypes>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- type SwitchTypes = {
3
- text?: any;
4
- size?: "small" | "normal" | "large";
5
- };
6
- export declare const HawaSwitch: FC<SwitchTypes>;
7
- export {};
@@ -1,45 +0,0 @@
1
- import { FC } from "react";
2
- type RowTypes = {
3
- hidden: boolean;
4
- value: any;
5
- suffix?: any;
6
- };
7
- type ColTypes = {
8
- hidden: boolean;
9
- value: any;
10
- sortable?: boolean;
11
- };
12
- type TableTypes = {
13
- pagination?: boolean;
14
- columns: ColTypes[];
15
- actions?: ActionItems[][];
16
- direction?: "rtl" | "ltr";
17
- rows?: RowTypes[][];
18
- handleActionClick?: any;
19
- end?: any;
20
- size?: "normal" | "small";
21
- highlightFirst?: boolean;
22
- bodyColor?: string;
23
- headerColor?: string;
24
- clickable?: boolean;
25
- texts?: {
26
- actions?: string;
27
- noData?: any;
28
- items?: string;
29
- page?: string;
30
- filter?: string;
31
- };
32
- bordersWidth?: string;
33
- onActionClicked?: any;
34
- headerTools?: boolean;
35
- borders?: "all" | "cols" | "rows" | "outer" | "inner";
36
- };
37
- type ActionItems = {
38
- icon?: JSX.Element;
39
- label: string;
40
- action?: (e: any) => void;
41
- isButton?: boolean;
42
- element?: any;
43
- };
44
- export declare const HawaTable: FC<TableTypes>;
45
- export {};
@@ -1,13 +0,0 @@
1
- import { FC } from "react";
2
- type TabsTypes = {
3
- options?: any;
4
- onChangeTab?: (option: any) => void;
5
- defaultValue?: any;
6
- orientation?: "horizontal" | "vertical";
7
- direction?: "rtl" | "ltr";
8
- marginBetween?: any;
9
- width?: "full" | "normal";
10
- pill?: boolean;
11
- };
12
- export declare const HawaTabs: FC<TabsTypes>;
13
- export {};
@@ -1,31 +0,0 @@
1
- import { FC, PropsWithRef } from "react";
2
- type TextFieldTypes = {
3
- margin?: "none" | "normal" | "large";
4
- width?: "small" | "normal" | "full";
5
- /** The label of the input field */
6
- label?: any;
7
- /** Disable/Enable multiple line text input field */
8
- multiline?: boolean;
9
- /** The small red text under the input field to show validation or a hint. */
10
- helpertext?: any;
11
- /** The value of the input field */
12
- value?: any;
13
- props?: PropsWithRef<"input">;
14
- /** The type of input field. Same as the types of <input/> component */
15
- type?: any;
16
- /** The placeholder of the input field */
17
- placeholder?: any;
18
- defaultValue?: any;
19
- name?: any;
20
- inputProps?: any;
21
- onChange?: any;
22
- ref?: any;
23
- /** The icon inside the input field */
24
- icon?: any;
25
- /** Boolean to enable/disable editing the input field and using it as a text field */
26
- preview?: boolean;
27
- autoComplete?: any;
28
- maxLength?: any;
29
- };
30
- export declare const HawaTextField: FC<TextFieldTypes>;
31
- export {};
@@ -1,12 +0,0 @@
1
- import { ReactElement, FC } from "react";
2
- type THawaToolTip = {
3
- children?: ReactElement;
4
- content?: string;
5
- btnHovered?: any;
6
- buttonRef?: any;
7
- direction?: "rtl" | "ltr";
8
- size?: "normal" | "small" | "large";
9
- position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
10
- };
11
- export declare const HawaTooltip: FC<THawaToolTip>;
12
- export {};
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- type TypographyTypes = {
3
- children: any;
4
- align?: any;
5
- };
6
- export declare const HawaTypography: FC<TypographyTypes>;
7
- export {};
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- type IconProps = React.HTMLAttributes<SVGElement>;
3
- export declare const Icons: {
4
- logo: (props: IconProps) => import("react").JSX.Element;
5
- twitter: (props: IconProps) => import("react").JSX.Element;
6
- gitHub: (props: IconProps) => import("react").JSX.Element;
7
- radix: (props: IconProps) => import("react").JSX.Element;
8
- aria: (props: IconProps) => import("react").JSX.Element;
9
- npm: (props: IconProps) => import("react").JSX.Element;
10
- yarn: (props: IconProps) => import("react").JSX.Element;
11
- pnpm: (props: IconProps) => import("react").JSX.Element;
12
- react: (props: IconProps) => import("react").JSX.Element;
13
- tailwind: (props: IconProps) => import("react").JSX.Element;
14
- google: (props: IconProps) => import("react").JSX.Element;
15
- apple: (props: IconProps) => import("react").JSX.Element;
16
- paypal: (props: IconProps) => import("react").JSX.Element;
17
- spinner: (props: IconProps) => import("react").JSX.Element;
18
- };
19
- export {};
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- }
4
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
5
- export { Input };
@@ -1,31 +0,0 @@
1
- import { FC } from "react";
2
- type InvoiceAccordionTypes = {
3
- products: {
4
- usage?: string;
5
- price?: string;
6
- amount?: string;
7
- plan?: string;
8
- }[];
9
- texts: {
10
- total: string;
11
- plan: string;
12
- usage: string;
13
- amount: string;
14
- price: string;
15
- };
16
- invoiceTitle: string;
17
- invoiceSubtitle: string;
18
- invoiceDescription?: string;
19
- invoiceActions?: {
20
- icon?: JSX.Element;
21
- label: string;
22
- action?: (e: any) => void;
23
- isButton?: boolean;
24
- element?: any;
25
- }[][];
26
- total: any;
27
- direction?: "rtl" | "ltr";
28
- status?: "paid" | "pending" | "overdue";
29
- };
30
- export declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
31
- export {};
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- import * as LabelPrimitive from "@radix-ui/react-label";
3
- import { type VariantProps } from "class-variance-authority";
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
3
- export { Skeleton };
@@ -1,19 +0,0 @@
1
- import { FC } from "react";
2
- type SubsectionListTypes = {
3
- align?: any;
4
- subsections: [
5
- {
6
- title: string;
7
- sections: [
8
- {
9
- label: string;
10
- action: () => void;
11
- icon?: any;
12
- value?: any;
13
- }
14
- ];
15
- }
16
- ];
17
- };
18
- export declare const SubsectionList: FC<SubsectionListTypes>;
19
- export {};
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- type TabPanelTypes = {
3
- children: any;
4
- value: any;
5
- index: any;
6
- };
7
- export declare const TabPanel: FC<TabPanelTypes>;
8
- export {};
@@ -1,13 +0,0 @@
1
- import { FC } from "react";
2
- type TimelineTypes = {
3
- title: any;
4
- steps: StepTypes[];
5
- };
6
- type StepTypes = {
7
- date: string;
8
- title: string;
9
- description?: string;
10
- actions?: any;
11
- };
12
- export declare const Timeline: FC<TimelineTypes>;
13
- export {};
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- type TooltipTypes = {
3
- side?: "top" | "right" | "bottom" | "left";
4
- children?: any;
5
- content?: any;
6
- open?: any;
7
- defaultOpen?: any;
8
- onOpenChange?: any;
9
- delayDuration?: any;
10
- };
11
- export declare const Tooltip: React.FunctionComponent<TooltipTypes>;
12
- export {};
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- type UsageCardTypes = {
3
- tooltip?: any;
4
- title: any;
5
- percent: any;
6
- currentUsage: any;
7
- };
8
- export declare const UsageCard: FC<UsageCardTypes>;
9
- export {};