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