@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
@@ -0,0 +1,15 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const buttonVariants: (props?: ({
6
+ variant?: "link" | "default" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
7
+ size?: "xs" | "sm" | "lg" | "xl" | "default" | "heightless" | "icon" | "smallIcon" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
10
+ asChild?: boolean;
11
+ isLoading?: boolean;
12
+ }
13
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
14
+
15
+ export { Button, ButtonProps, buttonVariants };
@@ -0,0 +1,15 @@
1
+ import * as class_variance_authority_types from 'class-variance-authority/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const buttonVariants: (props?: ({
6
+ variant?: "link" | "default" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
7
+ size?: "xs" | "sm" | "lg" | "xl" | "default" | "heightless" | "icon" | "smallIcon" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
10
+ asChild?: boolean;
11
+ isLoading?: boolean;
12
+ }
13
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
14
+
15
+ export { Button, ButtonProps, buttonVariants };
package/dist/index.js ADDED
@@ -0,0 +1,246 @@
1
+ "use strict";
2
+ function _define_property(obj, key, value) {
3
+ if (key in obj) {
4
+ Object.defineProperty(obj, key, {
5
+ value: value,
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true
9
+ });
10
+ } else {
11
+ obj[key] = value;
12
+ }
13
+ return obj;
14
+ }
15
+ function _object_spread(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i] != null ? arguments[i] : {};
18
+ var ownKeys = Object.keys(source);
19
+ if (typeof Object.getOwnPropertySymbols === "function") {
20
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
21
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
22
+ }));
23
+ }
24
+ ownKeys.forEach(function(key) {
25
+ _define_property(target, key, source[key]);
26
+ });
27
+ }
28
+ return target;
29
+ }
30
+ function _object_without_properties(source, excluded) {
31
+ if (source == null) return {};
32
+ var target = _object_without_properties_loose(source, excluded);
33
+ var key, i;
34
+ if (Object.getOwnPropertySymbols) {
35
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
36
+ for(i = 0; i < sourceSymbolKeys.length; i++){
37
+ key = sourceSymbolKeys[i];
38
+ if (excluded.indexOf(key) >= 0) continue;
39
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
40
+ target[key] = source[key];
41
+ }
42
+ }
43
+ return target;
44
+ }
45
+ function _object_without_properties_loose(source, excluded) {
46
+ if (source == null) return {};
47
+ var target = {};
48
+ var sourceKeys = Object.keys(source);
49
+ var key, i;
50
+ for(i = 0; i < sourceKeys.length; i++){
51
+ key = sourceKeys[i];
52
+ if (excluded.indexOf(key) >= 0) continue;
53
+ target[key] = source[key];
54
+ }
55
+ return target;
56
+ }
57
+ var __create = Object.create;
58
+ var __defProp = Object.defineProperty;
59
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
60
+ var __getOwnPropNames = Object.getOwnPropertyNames;
61
+ var __getProtoOf = Object.getPrototypeOf;
62
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
63
+ var __export = function(target, all) {
64
+ for(var name in all)__defProp(target, name, {
65
+ get: all[name],
66
+ enumerable: true
67
+ });
68
+ };
69
+ var __copyProps = function(to, from, except, desc) {
70
+ if (from && typeof from === "object" || typeof from === "function") {
71
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
72
+ try {
73
+ var _loop = function() {
74
+ var key = _step.value;
75
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
76
+ get: function() {
77
+ return from[key];
78
+ },
79
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
80
+ });
81
+ };
82
+ for(var _iterator = __getOwnPropNames(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true)_loop();
83
+ } catch (err) {
84
+ _didIteratorError = true;
85
+ _iteratorError = err;
86
+ } finally{
87
+ try {
88
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
89
+ _iterator.return();
90
+ }
91
+ } finally{
92
+ if (_didIteratorError) {
93
+ throw _iteratorError;
94
+ }
95
+ }
96
+ }
97
+ }
98
+ return to;
99
+ };
100
+ var __toESM = function(mod, isNodeMode, target) {
101
+ return target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
102
+ // file that has been converted to a CommonJS file using a Babel-
103
+ // compatible transform (i.e. "__esModule" has not been set), then set
104
+ // "default" to the CommonJS "module.exports" for node compatibility.
105
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
106
+ value: mod,
107
+ enumerable: true
108
+ }) : target, mod);
109
+ };
110
+ var __toCommonJS = function(mod) {
111
+ return __copyProps(__defProp({}, "__esModule", {
112
+ value: true
113
+ }), mod);
114
+ };
115
+ // components/index.tsx
116
+ var components_exports = {};
117
+ __export(components_exports, {
118
+ Button: function() {
119
+ return Button;
120
+ },
121
+ buttonVariants: function() {
122
+ return buttonVariants;
123
+ }
124
+ });
125
+ module.exports = __toCommonJS(components_exports);
126
+ // components/elements/Button.tsx
127
+ var React2 = __toESM(require("react"));
128
+ var import_class_variance_authority = require("class-variance-authority");
129
+ // components/util.ts
130
+ var import_clsx = require("clsx");
131
+ var import_tailwind_merge = require("tailwind-merge");
132
+ function cn() {
133
+ for(var _len = arguments.length, inputs = new Array(_len), _key = 0; _key < _len; _key++){
134
+ inputs[_key] = arguments[_key];
135
+ }
136
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
137
+ }
138
+ // components/elements/Loading.tsx
139
+ var import_react = __toESM(require("react"));
140
+ var import_clsx2 = __toESM(require("clsx"));
141
+ var Loading = function(_param) {
142
+ var _param_design = _param.design, design = _param_design === void 0 ? "spinner" : _param_design, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, color = _param.color, props = _object_without_properties(_param, [
143
+ "design",
144
+ "size",
145
+ "color"
146
+ ]);
147
+ var sizeStyles = {
148
+ button: "h-4 w-4",
149
+ xs: "h-1 w-1",
150
+ sm: "h-6 w-6",
151
+ normal: "h-8 w-8",
152
+ lg: "h-14 w-14",
153
+ xl: "h-24 w-24"
154
+ };
155
+ var animationStyles = {
156
+ pulse: "animate-in fade-in duration-1000",
157
+ bounce: "animate-bounce"
158
+ };
159
+ switch(design.split("-")[0]){
160
+ case "dots":
161
+ return /* @__PURE__ */ import_react.default.createElement("div", {
162
+ className: "flex flex-row gap-2"
163
+ }, /* @__PURE__ */ import_react.default.createElement("div", {
164
+ className: (0, import_clsx2.default)("animate-bounce rounded-full delay-100 repeat-infinite", size === "button" ? "h-2 w-2" : sizeStyles[size], animationStyles[design.split("-")[1]], color ? color : "bg-primary")
165
+ }), /* @__PURE__ */ import_react.default.createElement("div", {
166
+ className: (0, import_clsx2.default)("animate-bounce rounded-full delay-200 repeat-infinite", size === "button" ? "h-2 w-2" : sizeStyles[size], animationStyles[design.split("-")[1]], color ? color : "bg-primary")
167
+ }), /* @__PURE__ */ import_react.default.createElement("div", {
168
+ className: (0, import_clsx2.default)("animate-bounce rounded-full delay-300 repeat-infinite", size === "button" ? "h-2 w-2" : sizeStyles[size], animationStyles[design.split("-")[1]], color ? color : "bg-primary")
169
+ }));
170
+ default:
171
+ return /* @__PURE__ */ import_react.default.createElement("div", {
172
+ className: "flex flex-row gap-x-3"
173
+ }, /* @__PURE__ */ import_react.default.createElement("div", {
174
+ "aria-label": "Loading...",
175
+ role: "status"
176
+ }, /* @__PURE__ */ import_react.default.createElement("svg", {
177
+ className: (0, import_clsx2.default)(sizeStyles[size], "animate-spin"),
178
+ viewBox: "3 3 18 18"
179
+ }, /* @__PURE__ */ import_react.default.createElement("path", {
180
+ className: "fill-primary/20",
181
+ d: "M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"
182
+ }), /* @__PURE__ */ import_react.default.createElement("path", {
183
+ className: color ? color : "fill-primary",
184
+ d: "M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"
185
+ }))));
186
+ }
187
+ };
188
+ // components/elements/Button.tsx
189
+ var buttonVariants = (0, import_class_variance_authority.cva)("inline-flex items-center justify-center select-none rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", {
190
+ variants: {
191
+ variant: {
192
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
193
+ light: "bg-primary/20 text-primary hover:bg-primary/40",
194
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
195
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
196
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
197
+ ghost: "hover:bg-accent hover:text-accent-foreground",
198
+ link: "text-primary underline-offset-4 hover:underline",
199
+ neoBrutalism: "cursor-pointer transition-all uppercase font-mono dark:bg-black font-bold py-2 px-4 rounded border-2 border-primary shadow-color-primary transition-[transform_50ms, box-shadow_50ms] active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
200
+ },
201
+ size: {
202
+ default: "h-10 px-4 py-2",
203
+ heightless: "px-4 py-4",
204
+ xs: "h-fit py-1 text-[10px] px-2 ",
205
+ sm: "h-9 text-[11px] rounded-md px-3",
206
+ lg: "h-11 rounded-md px-8",
207
+ xl: "h-14 rounded-md px-10",
208
+ icon: "h-10 w-10",
209
+ smallIcon: "h-7 w-7"
210
+ }
211
+ },
212
+ defaultVariants: {
213
+ variant: "default",
214
+ size: "default"
215
+ }
216
+ });
217
+ var Button = React2.forwardRef(function(_param, ref) {
218
+ var className = _param.className, variant = _param.variant, size = _param.size, _param_asChild = _param.asChild, asChild = _param_asChild === void 0 ? false : _param_asChild, isLoading = _param.isLoading, children = _param.children, props = _object_without_properties(_param, [
219
+ "className",
220
+ "variant",
221
+ "size",
222
+ "asChild",
223
+ "isLoading",
224
+ "children"
225
+ ]);
226
+ var Comp = "button";
227
+ var loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "bg-primary" : "bg-primary-foreground";
228
+ return /* @__PURE__ */ React2.createElement(Comp, _object_spread({
229
+ className: cn(buttonVariants({
230
+ variant: variant,
231
+ size: size,
232
+ className: className
233
+ })),
234
+ ref: ref
235
+ }, props), isLoading ? /* @__PURE__ */ React2.createElement(Loading, {
236
+ design: "dots-pulse",
237
+ color: loadingColor,
238
+ size: size === "sm" ? "xs" : "button"
239
+ }) : children);
240
+ });
241
+ Button.displayName = "Button";
242
+ // Annotate the CommonJS export names for ESM import in node:
243
+ 0 && (module.exports = {
244
+ Button: Button,
245
+ buttonVariants: buttonVariants
246
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,157 @@
1
+ // components/elements/Button.tsx
2
+ import * as React2 from "react";
3
+ import { cva } from "class-variance-authority";
4
+
5
+ // components/util.ts
6
+ import { clsx } from "clsx";
7
+ import { twMerge } from "tailwind-merge";
8
+ function cn(...inputs) {
9
+ return twMerge(clsx(inputs));
10
+ }
11
+
12
+ // components/elements/Loading.tsx
13
+ import React from "react";
14
+ import clsx2 from "clsx";
15
+ var Loading = ({
16
+ design = "spinner",
17
+ size = "sm",
18
+ color,
19
+ ...props
20
+ }) => {
21
+ let sizeStyles = {
22
+ button: "h-4 w-4",
23
+ xs: "h-1 w-1",
24
+ sm: "h-6 w-6",
25
+ normal: "h-8 w-8",
26
+ lg: "h-14 w-14",
27
+ xl: "h-24 w-24"
28
+ };
29
+ let animationStyles = {
30
+ pulse: "animate-in fade-in duration-1000",
31
+ bounce: "animate-bounce"
32
+ };
33
+ switch (design.split("-")[0]) {
34
+ case "dots":
35
+ return /* @__PURE__ */ React.createElement("div", { className: "flex flex-row gap-2" }, /* @__PURE__ */ React.createElement(
36
+ "div",
37
+ {
38
+ className: clsx2(
39
+ "animate-bounce rounded-full delay-100 repeat-infinite",
40
+ size === "button" ? "h-2 w-2" : sizeStyles[size],
41
+ animationStyles[design.split("-")[1]],
42
+ color ? color : "bg-primary"
43
+ )
44
+ }
45
+ ), /* @__PURE__ */ React.createElement(
46
+ "div",
47
+ {
48
+ className: clsx2(
49
+ "animate-bounce rounded-full delay-200 repeat-infinite",
50
+ size === "button" ? "h-2 w-2" : sizeStyles[size],
51
+ animationStyles[design.split("-")[1]],
52
+ color ? color : "bg-primary"
53
+ )
54
+ }
55
+ ), /* @__PURE__ */ React.createElement(
56
+ "div",
57
+ {
58
+ className: clsx2(
59
+ "animate-bounce rounded-full delay-300 repeat-infinite",
60
+ size === "button" ? "h-2 w-2" : sizeStyles[size],
61
+ animationStyles[design.split("-")[1]],
62
+ color ? color : "bg-primary"
63
+ )
64
+ }
65
+ ));
66
+ default:
67
+ return /* @__PURE__ */ React.createElement("div", { className: "flex flex-row gap-x-3" }, /* @__PURE__ */ React.createElement("div", { "aria-label": "Loading...", role: "status" }, /* @__PURE__ */ React.createElement(
68
+ "svg",
69
+ {
70
+ className: clsx2(sizeStyles[size], "animate-spin"),
71
+ viewBox: "3 3 18 18"
72
+ },
73
+ /* @__PURE__ */ React.createElement(
74
+ "path",
75
+ {
76
+ className: "fill-primary/20",
77
+ d: "M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"
78
+ }
79
+ ),
80
+ /* @__PURE__ */ React.createElement(
81
+ "path",
82
+ {
83
+ className: color ? color : "fill-primary",
84
+ d: "M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"
85
+ }
86
+ )
87
+ )));
88
+ }
89
+ };
90
+
91
+ // components/elements/Button.tsx
92
+ var buttonVariants = cva(
93
+ "inline-flex items-center justify-center select-none rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
94
+ {
95
+ variants: {
96
+ variant: {
97
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
98
+ light: "bg-primary/20 text-primary hover:bg-primary/40",
99
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
100
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
101
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
102
+ ghost: "hover:bg-accent hover:text-accent-foreground",
103
+ link: "text-primary underline-offset-4 hover:underline",
104
+ neoBrutalism: "cursor-pointer transition-all uppercase font-mono dark:bg-black font-bold py-2 px-4 rounded border-2 border-primary shadow-color-primary transition-[transform_50ms, box-shadow_50ms] active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
105
+ },
106
+ size: {
107
+ default: "h-10 px-4 py-2",
108
+ heightless: "px-4 py-4",
109
+ xs: "h-fit py-1 text-[10px] px-2 ",
110
+ sm: "h-9 text-[11px] rounded-md px-3",
111
+ lg: "h-11 rounded-md px-8",
112
+ xl: "h-14 rounded-md px-10",
113
+ icon: "h-10 w-10",
114
+ smallIcon: "h-7 w-7"
115
+ }
116
+ },
117
+ defaultVariants: {
118
+ variant: "default",
119
+ size: "default"
120
+ }
121
+ }
122
+ );
123
+ var Button = React2.forwardRef(
124
+ ({
125
+ className,
126
+ variant,
127
+ size,
128
+ asChild = false,
129
+ isLoading,
130
+ children,
131
+ ...props
132
+ }, ref) => {
133
+ const Comp = "button";
134
+ const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "bg-primary" : "bg-primary-foreground";
135
+ return /* @__PURE__ */ React2.createElement(
136
+ Comp,
137
+ {
138
+ className: cn(buttonVariants({ variant, size, className })),
139
+ ref,
140
+ ...props
141
+ },
142
+ isLoading ? /* @__PURE__ */ React2.createElement(
143
+ Loading,
144
+ {
145
+ design: "dots-pulse",
146
+ color: loadingColor,
147
+ size: size === "sm" ? "xs" : "button"
148
+ }
149
+ ) : children
150
+ );
151
+ }
152
+ );
153
+ Button.displayName = "Button";
154
+ export {
155
+ Button,
156
+ buttonVariants
157
+ };
package/package.json CHANGED
@@ -1,124 +1,57 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.1.2",
4
- "description": "SaaS Oriented UI Kit",
5
- "main": "lib/index.js",
6
- "module": "es/index.es.js",
7
- "author": {
8
- "name": "Sikka Software",
9
- "email": "contact@sikka.io",
10
- "url": "http://sikka.io"
11
- },
12
- "license": "MIT",
13
- "keywords": [
14
- "ui",
15
- "kit",
16
- "saas",
17
- "kit",
18
- "tailwind",
19
- "hawa"
3
+ "version": "0.1.3-next",
4
+ "main": "./dist/index.js",
5
+ "types": "./dist/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./dist/index.js"
9
+ },
10
+ "./dist/style.css": "./dist/index.css"
11
+ },
12
+ "files": [
13
+ "dist/**"
20
14
  ],
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/sikka-software/hawa.git"
24
- },
25
- "bugs": {
26
- "url": "https://github.com/sikka-software/hawa/issues",
27
- "email": "hawa@sikka.io"
28
- },
29
- "homepage": "https://hawa.style",
30
15
  "scripts": {
31
- "test": "echo \"Error: no test specified\" && exit 1",
32
- "start": "start-storybook -p 6006 -s public",
33
- "storybook": "start-storybook -p 6006 -s public",
34
- "generate-css": "postcss src/tailwind.css -o src/styles.css && mkdir -p dist && cp src/styles.css dist/",
35
- "deploy-storybook": "storybook-to-ghpages",
36
- "build-storybook": "build-storybook -o ./docs/documentation",
37
- "build-lib": "rollup -c",
38
- "build:styles": " node tools/build-styles",
39
- "chromatic": "npx chromatic --project-token=chpt_9c33d11ef14064f --output-dir ./docs/documentation"
40
- },
41
- "devDependencies": {
42
- "@babel/core": "^7.12.10",
43
- "@babel/preset-react": "^7.12.10",
44
- "@rollup/plugin-babel": "^6.0.3",
45
- "@rollup/plugin-commonjs": "^21.0.1",
46
- "@rollup/plugin-node-resolve": "^11.1.1",
47
- "@rollup/plugin-terser": "^0.4.3",
48
- "@storybook/addon-actions": "^6.5.8",
49
- "@storybook/addon-docs": "^6.5.8",
50
- "@storybook/addon-essentials": "^6.5.8",
51
- "@storybook/addon-links": "^6.5.8",
52
- "@storybook/addon-postcss": "^2.0.0",
53
- "@storybook/addons": "^6.5.8",
54
- "@storybook/api": "^7.3.2",
55
- "@storybook/builder-webpack5": "^6.5.13",
56
- "@storybook/manager-webpack5": "^6.5.13",
57
- "@storybook/react": "^6.5.8",
58
- "@storybook/storybook-deployer": "^2.8.11",
59
- "@storybook/theming": "^6.5.8",
60
- "@swc/core": "^1.3.53",
61
- "@types/react": "^18.0.25",
62
- "@types/react-dom": "^18.0.9",
63
- "babel-loader": "^8.2.2",
64
- "chromatic": "^6.22.0",
65
- "framer-motion": "^4.1.7",
66
- "html-webpack-plugin": "^5.5.0",
67
- "postcss": "^8.4.18",
68
- "postcss-cli": "^10.0.0",
69
- "postcss-focus-visible": "^7.1.0",
70
- "prettier": "^2.7.1",
71
- "prettier-plugin-tailwindcss": "^0.1.13",
72
- "qs": "^6.10.3",
73
- "react": "^18.2.0",
74
- "react-color": "^2.19.3",
75
- "react-dnd": "^15.1.2",
76
- "react-dom": "^18.2.0",
77
- "react-hook-form": "^7.28.0",
78
- "react-phone-input-2": "^2.15.1",
79
- "react-select": "^5.7.4",
80
- "react-transition-group": "^4.4.2",
81
- "rollup": "^2.38.4",
82
- "rollup-plugin-cleaner": "^1.0.0",
83
- "rollup-plugin-peer-deps-external": "^2.2.4",
84
- "rollup-plugin-postcss": "^4.0.0",
85
- "rollup-plugin-swc": "^0.2.1",
86
- "rollup-plugin-typescript2": "^0.34.1",
87
- "storybook-dark-mode": "^3.0.1",
88
- "tailwindcss": "^3.3.3",
89
- "tailwindcss-animate": "^1.0.6",
90
- "tinycolor2": "^1.4.2",
91
- "tslib": "^2.4.1",
92
- "typescript": "^4.8.4",
93
- "webpack": "^5.75.0"
94
- },
95
- "peerDependencies": {
96
- "react": "^18.2.0",
97
- "react-dom": "^18.2.0"
98
- },
99
- "resolutions": {
100
- "@storybook/react-docgen-typescript-plugin": "npm:react-docgen-typescript-plugin@1.0.2",
101
- "@storybook/react/webpack": "^5",
102
- "@storybook/core-common/webpack": "^5",
103
- "@storybook/core-server/webpack": "^5",
104
- "@storybook/builder-webpack5/webpack": "^5",
105
- "@storybook/manager-webpack5/webpack": "^5"
16
+ "dev": "next dev",
17
+ "build": "next build",
18
+ "start": "next start",
19
+ "lint": "next lint",
20
+ "storybook": "storybook dev -p 6006",
21
+ "build-storybook": "storybook build",
22
+ "build-lib": "tsup components/index.tsx --format cjs,esm --dts",
23
+ "build-css": "postcss styles/globals.css -o dist/index.css"
106
24
  },
107
25
  "dependencies": {
108
- "@radix-ui/react-dropdown-menu": "^2.0.5",
109
- "@radix-ui/react-label": "^2.0.2",
26
+ "@types/node": "20.8.0",
27
+ "@types/react": "18.2.23",
28
+ "@types/react-dom": "18.2.8",
29
+ "autoprefixer": "10.4.16",
110
30
  "class-variance-authority": "^0.7.0",
111
- "clsx": "^1.2.1",
112
- "cmdk": "^0.2.0",
113
- "react": "^18.2.0",
114
- "react-dropzone": "^12.0.4",
115
- "react-hook-form": "^7.28.0",
116
- "react-icons": "^4.10.1",
117
- "react-select": "^5.3.2",
118
- "slate": "^0.94.1",
119
- "slate-react": "^0.97.1",
120
- "tailwind-merge": "^1.14.0"
31
+ "clsx": "^2.0.0",
32
+ "eslint": "8.50.0",
33
+ "eslint-config-next": "13.5.3",
34
+ "next": "13.5.3",
35
+ "postcss": "^8.4.31",
36
+ "react": "18.2.0",
37
+ "react-dom": "18.2.0",
38
+ "tailwind-merge": "^1.14.0",
39
+ "tailwindcss": "3.3.3",
40
+ "typescript": "5.2.2"
121
41
  },
122
- "readme": "ERROR: No README data found!",
123
- "_id": "@sikka/hawa@0.0.285"
42
+ "devDependencies": {
43
+ "@storybook/addon-essentials": "^7.4.5",
44
+ "@storybook/addon-interactions": "^7.4.5",
45
+ "@storybook/addon-links": "^7.4.5",
46
+ "@storybook/addon-onboarding": "^1.0.8",
47
+ "@storybook/blocks": "^7.4.5",
48
+ "@storybook/nextjs": "^7.4.5",
49
+ "@storybook/react": "^7.4.5",
50
+ "@storybook/testing-library": "^0.2.1",
51
+ "eslint-plugin-storybook": "^0.6.14",
52
+ "postcss-cli": "^10.1.0",
53
+ "storybook": "^7.4.5",
54
+ "tailwindcss-animate": "^1.0.7",
55
+ "tsup": "^7.2.0"
56
+ }
124
57
  }