@sikka/hawa 0.0.250 → 0.0.252

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 (89) hide show
  1. package/es/elements/HawaButton.d.ts +3 -3
  2. package/es/elements/HawaCardInput.d.ts +2 -2
  3. package/es/hooks/useHover.d.ts +2 -2
  4. package/es/index.es.js +3 -3
  5. package/lib/elements/HawaButton.d.ts +3 -3
  6. package/lib/elements/HawaCardInput.d.ts +2 -2
  7. package/lib/hooks/useHover.d.ts +2 -2
  8. package/lib/index.js +3 -3
  9. package/package.json +1 -1
  10. package/src/blocks/Account/HawaApiBox.tsx +1 -1
  11. package/src/blocks/Account/UserProfileForm.tsx +1 -1
  12. package/src/blocks/Account/UserSettingsForm.tsx +1 -1
  13. package/src/blocks/AuthForms/AppLanding.tsx +1 -1
  14. package/src/blocks/AuthForms/CodeConfirmation.tsx +1 -1
  15. package/src/blocks/AuthForms/NewPasswordForm.tsx +1 -1
  16. package/src/blocks/AuthForms/ResetPasswordForm.tsx +1 -1
  17. package/src/blocks/AuthForms/SignInForm.tsx +1 -1
  18. package/src/blocks/AuthForms/SignInPhone.tsx +1 -1
  19. package/src/blocks/AuthForms/SignUpForm.tsx +1 -1
  20. package/src/blocks/Misc/EmptyState.tsx +1 -1
  21. package/src/blocks/Misc/LeadGenerator.tsx +1 -1
  22. package/src/blocks/Misc/Newsletter.tsx +1 -1
  23. package/src/blocks/Misc/NoPermission.tsx +1 -1
  24. package/src/blocks/Misc/NotFound.tsx +1 -1
  25. package/src/blocks/Misc/Testimonial.tsx +1 -1
  26. package/src/blocks/Payment/ChargeWalletForm.tsx +1 -1
  27. package/src/blocks/Payment/CheckoutForm.tsx +1 -1
  28. package/src/blocks/Payment/Confirmation.tsx +1 -1
  29. package/src/blocks/Payment/CreditCardForm.tsx +1 -1
  30. package/src/blocks/Payment/PayWithWallet.tsx +1 -1
  31. package/src/blocks/Payment/SelectPayment.tsx +1 -1
  32. package/src/blocks/Pricing/ComparingPlans.tsx +1 -1
  33. package/src/blocks/Pricing/PricingPlans.tsx +1 -1
  34. package/src/blocks/Referral/ReferralAccount.tsx +1 -1
  35. package/src/blocks/Referral/ReferralSettlement.tsx +1 -1
  36. package/src/blocks/Referral/ReferralStats.tsx +1 -1
  37. package/src/elements/ArrowCarousel.tsx +1 -1
  38. package/src/elements/AutoCompleteField.tsx +1 -1
  39. package/src/elements/BackToTop.tsx +1 -1
  40. package/src/elements/Breadcrumb.tsx +1 -1
  41. package/src/elements/DraggableCard.tsx +1 -1
  42. package/src/elements/HawaAccordion.tsx +1 -1
  43. package/src/elements/HawaAdCard.tsx +1 -1
  44. package/src/elements/HawaButton.tsx +4 -4
  45. package/src/elements/HawaCardInput.tsx +1 -1
  46. package/src/elements/HawaCheckbox.tsx +1 -1
  47. package/src/elements/HawaChip.tsx +1 -1
  48. package/src/elements/HawaColorPicker.tsx +1 -1
  49. package/src/elements/HawaCopyrights.tsx +1 -1
  50. package/src/elements/HawaDatepicker.tsx +1 -1
  51. package/src/elements/HawaDrawer.tsx +1 -1
  52. package/src/elements/HawaIconCount.tsx +1 -1
  53. package/src/elements/HawaItemCard.tsx +1 -1
  54. package/src/elements/HawaLandingCard.tsx +1 -1
  55. package/src/elements/HawaLogoButton.tsx +1 -1
  56. package/src/elements/HawaMenu.tsx +1 -1
  57. package/src/elements/HawaModal.tsx +1 -1
  58. package/src/elements/HawaPanelTabs.tsx +1 -1
  59. package/src/elements/HawaPhoneInput.tsx +1 -1
  60. package/src/elements/HawaPinInput.tsx +1 -1
  61. package/src/elements/HawaPricingCard.tsx +1 -1
  62. package/src/elements/HawaRadio.tsx +1 -1
  63. package/src/elements/HawaRange.tsx +1 -1
  64. package/src/elements/HawaSearchBar.tsx +1 -1
  65. package/src/elements/HawaSelect.tsx +1 -1
  66. package/src/elements/HawaSettingsRow.tsx +1 -1
  67. package/src/elements/HawaSnackbar.tsx +1 -1
  68. package/src/elements/HawaSpinner.tsx +1 -1
  69. package/src/elements/HawaStats.tsx +1 -1
  70. package/src/elements/HawaStepper.tsx +1 -1
  71. package/src/elements/HawaStoreButtons.tsx +1 -1
  72. package/src/elements/HawaSwitch.tsx +1 -1
  73. package/src/elements/HawaTable.tsx +1 -1
  74. package/src/elements/HawaTabs.tsx +1 -1
  75. package/src/elements/HawaTextField.tsx +1 -1
  76. package/src/elements/HawaTooltip.tsx +1 -1
  77. package/src/elements/HawaTypography.tsx +1 -1
  78. package/src/elements/InvoiceAccordion.tsx +1 -1
  79. package/src/elements/SubsectionList.tsx +1 -1
  80. package/src/elements/TabPanel.tsx +1 -1
  81. package/src/elements/UsageCard.tsx +1 -1
  82. package/src/elements/UserFeedback.tsx +1 -1
  83. package/src/hooks/useBreakpoint.ts +1 -1
  84. package/src/hooks/useDiscloser.ts +1 -1
  85. package/src/hooks/useHover.ts +1 -1
  86. package/src/hooks/useScrollPosition.ts +1 -1
  87. package/src/hooks/useTable.ts +1 -1
  88. package/src/layout/Footer.tsx +2 -5
  89. package/src/layout/HawaSiteLayout.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.0.250",
3
+ "version": "0.0.252",
4
4
  "description": "SaaS Oriented UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type HawaApiBoxTypes = {
4
4
  lang?: any
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton, HawaPhoneInput, HawaTextField } from "../../elements"
3
3
  import { Controller, FormProvider, useForm } from "react-hook-form"
4
4
  import { HawaContainer } from "../../layout"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type UserSettingsFormTypes = {
4
4
  children: any
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton } from "../../elements"
3
3
  import { HawaContainer } from "../../layout/HawaContainer"
4
4
 
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import { HawaAlert, HawaButton, HawaPinInput } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import { HawaTextField, HawaAlert, HawaButton } from "../../elements"
3
3
  import { Controller, FormProvider, useForm } from "react-hook-form"
4
4
  import { HawaContainer } from "../../layout"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { Controller, useForm } from "react-hook-form"
3
3
  import { HawaButton, HawaTextField } from "../../elements"
4
4
  import { HawaContainer } from "../../layout"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import {
3
3
  HawaTextField,
4
4
  HawaLogoButton,
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import { Controller, useForm } from "react-hook-form"
3
3
  import { HawaButton, HawaPhoneInput } from "../../elements"
4
4
  import { HawaContainer } from "../../layout"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import {
3
3
  HawaTextField,
4
4
  HawaLogoButton,
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
  import { FaCheck } from "react-icons/fa"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton, HawaTextField } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton, HawaTextField } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaContainer } from "../../layout"
3
3
  import { FaLock } from "react-icons/fa"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type TEmptyState = {
4
4
  variant?: "outlined" | "contained" | "neobrutalism"
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import { HawaButton } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import {
3
3
  HawaTextField,
4
4
  HawaTable,
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton, HawaTable } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton, HawaTextField } from "../../elements"
3
3
  import { Controller, useForm } from "react-hook-form"
4
4
  import { HawaContainer } from "../../layout"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaButton } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaTypography, HawaLogoButton } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import { BsExclamationCircleFill } from "react-icons/bs"
3
3
  import { HawaTabs, HawaTooltip } from "../../elements"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaPricingCard, HawaTabs } from "../../elements"
3
3
 
4
4
  type PricingPlansTypes = {
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { FaClone } from "react-icons/fa"
3
3
  import { HawaButton } from "../../elements"
4
4
  import { HawaContainer } from "../../layout"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { FaTimes } from "react-icons/fa"
3
3
  import {
4
4
  HawaAlert,
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaAlert, HawaButton } from "../../elements"
3
3
  import { HawaContainer } from "../../layout"
4
4
 
@@ -1,5 +1,5 @@
1
+ import React, { useEffect, useState, FC } from "react"
1
2
  import clsx from "clsx"
2
- import { useEffect, useState, FC } from "react"
3
3
 
4
4
  type Item = {
5
5
  label?: string
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { Controller, useFormContext } from "react-hook-form"
3
3
 
4
4
  type TAutoCompleteFieldTypes = {
@@ -1,4 +1,4 @@
1
- import { FC, RefObject, useState, useEffect } from "react"
1
+ import React, { FC, RefObject, useState, useEffect } from "react"
2
2
  import { clsx } from "clsx"
3
3
 
4
4
  type ComponentTypes = {
@@ -1,4 +1,4 @@
1
- import { FC, ReactNode } from "react"
1
+ import React, { FC, ReactNode } from "react"
2
2
 
3
3
  type TBreadcrumb = {
4
4
  /** The array of crumbs, each one with a label and a href link */
@@ -1,4 +1,4 @@
1
- import { ReactElement, FC } from "react"
1
+ import React, { ReactElement, FC } from "react"
2
2
 
3
3
  type DraggableCardTypes = {
4
4
  children: ReactElement
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  type AccordionTypes = {
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type AdCardTypes = {
4
4
  orientation: "vertical" | "horizontal"
@@ -1,9 +1,9 @@
1
- import React from "react"
1
+ import React, { FC, ButtonHTMLAttributes } from "react"
2
2
  import clsx from "clsx"
3
3
  import { HawaSpinner } from "./HawaSpinner"
4
4
  import { HawaTooltip } from "./HawaTooltip"
5
5
 
6
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
6
+ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
7
7
  variant?: "contained" | "outlined"
8
8
  tooltipDirection?: "rtl" | "ltr"
9
9
  color?: "default" | "primary" | "secondary"
@@ -33,7 +33,7 @@ const disabledVariantSyles = {
33
33
  outlined: "text-gray-300 border-gray-300",
34
34
  }
35
35
 
36
- export const HawaButton: React.FunctionComponent<ButtonProps> = ({
36
+ export const HawaButton: FC<ButtonProps> = ({
37
37
  className,
38
38
  variant = "contained",
39
39
  color = "default",
@@ -174,7 +174,7 @@ export const HawaButton: React.FunctionComponent<ButtonProps> = ({
174
174
  </button>
175
175
  )}
176
176
  {badge && (
177
- <div className="absolute -top-3 -right-3 inline-flex h-6 w-6 items-center justify-center rounded-full border-2 border-white bg-red-500 text-xs font-bold text-white dark:border-gray-900">
177
+ <div className="absolute -right-3 -top-3 inline-flex h-6 w-6 items-center justify-center rounded-full border-2 border-white bg-red-500 text-xs font-bold text-white dark:border-gray-900">
178
178
  {badge}
179
179
  </div>
180
180
  )}
@@ -1,4 +1,4 @@
1
- import { useState } from "react"
1
+ import React, { useState } from "react"
2
2
  import { HawaButton } from "./HawaButton"
3
3
 
4
4
  const CARDS = {
@@ -1,5 +1,5 @@
1
+ import React, { useEffect, useState, FC } from "react"
1
2
  import clsx from "clsx"
2
- import { useEffect, useState, FC } from "react"
3
3
 
4
4
  type TCheckBoxTypes = {
5
5
  centered?: boolean
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  type TChipTypes = {
@@ -1,4 +1,4 @@
1
- import { useState, FC, ChangeEvent } from "react"
1
+ import React, { useState, FC, ChangeEvent } from "react"
2
2
 
3
3
  type ColorPickerTypes = {
4
4
  /** The hex code for the color */
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type CopyRightsTypes = {
4
4
  /** A text used as the version of the app, for example: v1.0.0 */
@@ -1,4 +1,4 @@
1
- import { FC, useState } from "react"
1
+ import React, { FC, useState } from "react"
2
2
 
3
3
  type DatepickerTypes = {}
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC, ReactElement, ReactNode } from "react"
1
+ import React, { FC, ReactElement, ReactNode } from "react"
2
2
  import { FaChevronLeft, FaChevronRight } from "react-icons/fa"
3
3
  import clsx from "clsx"
4
4
  // TODO: This element should either be removed or improved
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type IconCountTypes = {
4
4
  /** The icon of the counter */
@@ -1,4 +1,4 @@
1
- import { useEffect, useState, FC } from "react"
1
+ import React, { useEffect, useState, FC } from "react"
2
2
  import clsx from "clsx"
3
3
  import { HawaMenu } from "./HawaMenu"
4
4
  import { HawaButton } from "./HawaButton"
@@ -1,5 +1,5 @@
1
1
  import clsx from "clsx"
2
- import { FC } from "react"
2
+ import React, { FC } from "react"
3
3
 
4
4
  type LandingCardTypes = {
5
5
  orientation: "vertical" | "horizontal"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type LogoButtonTypes = {
4
4
  lang?: any
@@ -1,4 +1,4 @@
1
- import { ReactNode, useEffect, useRef, useState, FC } from "react"
1
+ import React, { ReactNode, useEffect, useRef, useState, FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  // TODO: add width to decrease width
@@ -1,4 +1,4 @@
1
- import { ReactElement, useEffect, FC } from "react"
1
+ import React, { ReactElement, useEffect, FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  type ModalTypes = {
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
 
3
3
  type PanelTabsTypes = {
4
4
  defaultValue: any
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import Countries from "../countries"
3
3
  import Select from "react-select"
4
4
 
@@ -1,5 +1,5 @@
1
+ import React, { useEffect, useState, FC } from "react"
1
2
  import clsx from "clsx"
2
- import { useEffect, useState, FC } from "react"
3
3
 
4
4
  type PinInputTypes = {
5
5
  label?: string
@@ -1,5 +1,5 @@
1
1
  import clsx from "clsx"
2
- import { FC } from "react"
2
+ import React, { FC } from "react"
3
3
  import { HawaButton } from "./HawaButton"
4
4
 
5
5
  // TODO: if feature.excluded is false, show gray and x
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  type RadioTypes = {
@@ -1,4 +1,4 @@
1
- import { FC, useState } from "react"
1
+ import React, { FC, useState } from "react"
2
2
 
3
3
  type RangeTypes = {
4
4
  value?: any
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaTextField } from "./HawaTextField"
3
3
 
4
4
  type SearchBarTypes = {}
@@ -1,5 +1,5 @@
1
1
  import clsx from "clsx"
2
- import { FC } from "react"
2
+ import React, { FC } from "react"
3
3
  import Select from "react-select"
4
4
  import CreatableSelect from "react-select/creatable"
5
5
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaTextField } from "./HawaTextField"
3
3
  import { HawaSwitch } from "./HawaSwitch"
4
4
  import { HawaColorPicker } from "./HawaColorPicker"
@@ -1,4 +1,4 @@
1
- import { FC, useEffect, useRef, useState } from "react"
1
+ import React, { FC, useEffect, useRef, useState } from "react"
2
2
  import clsx from "clsx"
3
3
  import { HawaButton } from "./HawaButton"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  type SpinnerTypes = {
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import clsx from "clsx"
3
3
  import { HawaSpinner } from "./HawaSpinner"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import clsx from "clsx"
3
3
  import { FaCheck } from "react-icons/fa"
4
4
 
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type StoreButtonsTypes = {
4
4
  store: "apple" | "google"
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  type SwitchTypes = {
@@ -1,4 +1,4 @@
1
- import { useEffect, useState, FC } from "react"
1
+ import React, { useEffect, useState, FC } from "react"
2
2
  import clsx from "clsx"
3
3
  import { HawaMenu } from "./HawaMenu"
4
4
  import useTable from "../hooks/useTable"
@@ -1,5 +1,5 @@
1
+ import React, { useState, FC } from "react"
1
2
  import clsx from "clsx"
2
- import { useState, FC } from "react"
3
3
 
4
4
  // TODO: fix wrapping issue when small screen
5
5
 
@@ -1,4 +1,4 @@
1
- import { FC, PropsWithRef } from "react"
1
+ import React, { FC, PropsWithRef } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  // TODO: make icon based on direction
@@ -1,4 +1,4 @@
1
- import { useEffect, useRef, useState, ReactElement, FC } from "react"
1
+ import React, { useEffect, useRef, useState, ReactElement, FC } from "react"
2
2
  import clsx from "clsx"
3
3
 
4
4
  type THawaToolTip = {
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type TypographyTypes = {
4
4
  children: any
@@ -1,4 +1,4 @@
1
- import { useState, FC } from "react"
1
+ import React, { useState, FC } from "react"
2
2
  import clsx from "clsx"
3
3
  import { HiChevronRight } from "react-icons/hi"
4
4
  import { BsThreeDotsVertical } from "react-icons/bs"
@@ -1,5 +1,5 @@
1
+ import React, { useState, FC } from "react"
1
2
  import clsx from "clsx"
2
- import { useState, FC } from "react"
3
3
  import { HawaChip } from "./HawaChip"
4
4
 
5
5
  type SubsectionListTypes = {
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
 
3
3
  type TabPanelTypes = {
4
4
  children: any
@@ -1,4 +1,4 @@
1
- import { FC } from "react"
1
+ import React, { FC } from "react"
2
2
  import { HawaTooltip } from "./HawaTooltip"
3
3
  import { BsExclamationCircleFill } from "react-icons/bs"
4
4
 
@@ -1,5 +1,5 @@
1
+ import React, { FC, useEffect, useRef, useState } from "react"
1
2
  import clsx from "clsx"
2
- import { FC, useEffect, useRef, useState } from "react"
3
3
  import { HawaButton } from "./HawaButton"
4
4
 
5
5
  type ComponentTypes = {
@@ -1,4 +1,4 @@
1
- import { useState, useEffect } from "react"
1
+ import React, { useState, useEffect } from "react"
2
2
 
3
3
  const useBreakpoint = () => {
4
4
  const [breakpoint, setBreakpoint] = useState(window?.innerWidth)
@@ -1,4 +1,4 @@
1
- import { useState } from "react"
1
+ import React, { useState } from "react"
2
2
 
3
3
  type TUseDiscloser = {
4
4
  isOpen: boolean
@@ -1,4 +1,4 @@
1
- import { useEffect, useRef, useState } from "react";
1
+ import React, { useEffect, useRef, useState } from "react";
2
2
 
3
3
  function useHover() {
4
4
  const [value, setValue] = useState(false);
@@ -1,4 +1,4 @@
1
- import { useState, useEffect, useRef } from "react";
1
+ import React, { useState, useEffect, useRef } from "react";
2
2
 
3
3
  function useScrollPosition(ref) {
4
4
  const [scrollPosition, setScrollPosition] = useState(0);
@@ -1,4 +1,4 @@
1
- import { useState, useEffect } from "react"
1
+ import React, { useState, useEffect } from "react"
2
2
 
3
3
  const calculateRange = (data, rowsPerPage) => {
4
4
  const range = []