@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.
- package/README.md +21 -43
- package/dist/index.css +1385 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +246 -0
- package/dist/index.mjs +157 -0
- package/package.json +48 -115
- package/.github/workflows/hawa-actions.yml +0 -112
- package/.github/workflows/hawa-publish-push.yml +0 -74
- package/.github/workflows/hawa-publish.yml +0 -48
- package/.prettierrc +0 -28
- package/_config.yml +0 -1
- package/dist/styles.css +0 -3511
- package/es/blocks/Account/HawaApiBox.d.ts +0 -8
- package/es/blocks/Account/UserProfileForm.d.ts +0 -8
- package/es/blocks/Account/UserSettingsForm.d.ts +0 -9
- package/es/blocks/Account/index.d.ts +0 -2
- package/es/blocks/AuthForms/AppLanding.d.ts +0 -14
- package/es/blocks/AuthForms/CodeConfirmation.d.ts +0 -22
- package/es/blocks/AuthForms/NewPasswordForm.d.ts +0 -18
- package/es/blocks/AuthForms/ResetPasswordForm.d.ts +0 -18
- package/es/blocks/AuthForms/SignInBlock.d.ts +0 -2
- package/es/blocks/AuthForms/SignInForm.d.ts +0 -51
- package/es/blocks/AuthForms/SignInPhone.d.ts +0 -13
- package/es/blocks/AuthForms/SignUpForm.d.ts +0 -55
- package/es/blocks/AuthForms/index.d.ts +0 -8
- package/es/blocks/Misc/EmptyState.d.ts +0 -11
- package/es/blocks/Misc/LeadGenerator.d.ts +0 -12
- package/es/blocks/Misc/Newsletter.d.ts +0 -12
- package/es/blocks/Misc/NoPermission.d.ts +0 -10
- package/es/blocks/Misc/NotFound.d.ts +0 -11
- package/es/blocks/Misc/Testimonial.d.ts +0 -6
- package/es/blocks/Misc/index.d.ts +0 -6
- package/es/blocks/Payment/ChargeWalletForm.d.ts +0 -12
- package/es/blocks/Payment/CheckoutForm.d.ts +0 -27
- package/es/blocks/Payment/Confirmation.d.ts +0 -38
- package/es/blocks/Payment/CreditCardForm.d.ts +0 -7
- package/es/blocks/Payment/PayWithWallet.d.ts +0 -8
- package/es/blocks/Payment/SelectPayment.d.ts +0 -26
- package/es/blocks/Payment/index.d.ts +0 -6
- package/es/blocks/Pricing/ComparingPlans.d.ts +0 -39
- package/es/blocks/Pricing/HorizontalPricing.d.ts +0 -47
- package/es/blocks/Pricing/PricingPlans.d.ts +0 -47
- package/es/blocks/Pricing/index.d.ts +0 -3
- package/es/blocks/Referral/ReferralAccount.d.ts +0 -7
- package/es/blocks/Referral/ReferralSettlement.d.ts +0 -8
- package/es/blocks/Referral/ReferralStats.d.ts +0 -8
- package/es/blocks/Referral/index.d.ts +0 -3
- package/es/blocks/index.d.ts +0 -6
- package/es/countries.d.ts +0 -2
- package/es/elements/ArrowCarousel.d.ts +0 -13
- package/es/elements/AutoCompleteField.d.ts +0 -8
- package/es/elements/BackToTop.d.ts +0 -10
- package/es/elements/Breadcrumb.d.ts +0 -12
- package/es/elements/Button.d.ts +0 -12
- package/es/elements/Card.d.ts +0 -10
- package/es/elements/DragDropImages.d.ts +0 -28
- package/es/elements/DraggableCard.d.ts +0 -6
- package/es/elements/FloatingComment.d.ts +0 -32
- package/es/elements/FloatingCommentExec.d.ts +0 -4
- package/es/elements/FloatingCommentSlate.d.ts +0 -19
- package/es/elements/HawaAccordion.d.ts +0 -11
- package/es/elements/HawaAdCard.d.ts +0 -10
- package/es/elements/HawaAlert.d.ts +0 -23
- package/es/elements/HawaButton.d.ts +0 -21
- package/es/elements/HawaCardInput.d.ts +0 -25
- package/es/elements/HawaCheckbox.d.ts +0 -11
- package/es/elements/HawaChip.d.ts +0 -17
- package/es/elements/HawaCodeBlock.d.ts +0 -15
- package/es/elements/HawaColorPicker.d.ts +0 -9
- package/es/elements/HawaCopyrights.d.ts +0 -15
- package/es/elements/HawaDatepicker.d.ts +0 -4
- package/es/elements/HawaDropdownMenu.d.ts +0 -7
- package/es/elements/HawaIconCount.d.ts +0 -9
- package/es/elements/HawaInlineCode.d.ts +0 -6
- package/es/elements/HawaItemCard.d.ts +0 -32
- package/es/elements/HawaLandingCard.d.ts +0 -18
- package/es/elements/HawaLoading.d.ts +0 -8
- package/es/elements/HawaLogoButton.d.ts +0 -10
- package/es/elements/HawaMenu.d.ts +0 -24
- package/es/elements/HawaModal.d.ts +0 -21
- package/es/elements/HawaPanelTabs.d.ts +0 -13
- package/es/elements/HawaPhoneInput.d.ts +0 -11
- package/es/elements/HawaPinInput.d.ts +0 -10
- package/es/elements/HawaPricingCard.d.ts +0 -21
- package/es/elements/HawaRadio.d.ts +0 -16
- package/es/elements/HawaRange.d.ts +0 -12
- package/es/elements/HawaSearchBar.d.ts +0 -4
- package/es/elements/HawaSelect.d.ts +0 -23
- package/es/elements/HawaSettingsRow.d.ts +0 -44
- package/es/elements/HawaSnackbar.d.ts +0 -19
- package/es/elements/HawaStats.d.ts +0 -14
- package/es/elements/HawaStepper.d.ts +0 -8
- package/es/elements/HawaStoreButtons.d.ts +0 -7
- package/es/elements/HawaSwitch.d.ts +0 -7
- package/es/elements/HawaTable.d.ts +0 -45
- package/es/elements/HawaTabs.d.ts +0 -13
- package/es/elements/HawaTextField.d.ts +0 -31
- package/es/elements/HawaTooltip.d.ts +0 -12
- package/es/elements/HawaTypography.d.ts +0 -7
- package/es/elements/Icons.d.ts +0 -19
- package/es/elements/Input.d.ts +0 -5
- package/es/elements/InvoiceAccordion.d.ts +0 -31
- package/es/elements/Label.d.ts +0 -5
- package/es/elements/SubsectionList.d.ts +0 -19
- package/es/elements/TabPanel.d.ts +0 -8
- package/es/elements/Timeline.d.ts +0 -13
- package/es/elements/UsageCard.d.ts +0 -9
- package/es/elements/UserFeedback.d.ts +0 -14
- package/es/elements/index.d.ts +0 -52
- package/es/hooks/index.d.ts +0 -2
- package/es/hooks/useBreakpoint.d.ts +0 -2
- package/es/hooks/useDiscloser.d.ts +0 -7
- package/es/hooks/useHover.d.ts +0 -3
- package/es/hooks/useScrollPosition.d.ts +0 -2
- package/es/hooks/useTable.d.ts +0 -5
- package/es/index.d.ts +0 -4
- package/es/index.es.js +0 -16
- package/es/layout/AppSidebar.d.ts +0 -11
- package/es/layout/Banner.d.ts +0 -14
- package/es/layout/Box.d.ts +0 -2
- package/es/layout/Footer.d.ts +0 -20
- package/es/layout/HawaAppLayout.d.ts +0 -31
- package/es/layout/HawaAppLayoutSimplified.d.ts +0 -33
- package/es/layout/HawaBottomAppBar.d.ts +0 -8
- package/es/layout/HawaContainer.d.ts +0 -10
- package/es/layout/HawaGrid.d.ts +0 -6
- package/es/layout/HawaSiteLayout.d.ts +0 -23
- package/es/layout/index.d.ts +0 -10
- package/es/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
- package/es/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
- package/es/stories/ManualStories/Customization.stories.d.ts +0 -21
- package/es/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
- package/es/stories/ManualStories/Installation.stories.d.ts +0 -21
- package/es/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
- package/es/stories/ManualStories/Overview.stories.d.ts +0 -22
- package/es/stories/ManualStories/Usage.stories.d.ts +0 -21
- package/es/util.d.ts +0 -10
- package/lib/blocks/Account/HawaApiBox.d.ts +0 -8
- package/lib/blocks/Account/UserProfileForm.d.ts +0 -8
- package/lib/blocks/Account/UserSettingsForm.d.ts +0 -9
- package/lib/blocks/Account/index.d.ts +0 -2
- package/lib/blocks/AuthForms/AppLanding.d.ts +0 -14
- package/lib/blocks/AuthForms/CodeConfirmation.d.ts +0 -22
- package/lib/blocks/AuthForms/NewPasswordForm.d.ts +0 -18
- package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +0 -18
- package/lib/blocks/AuthForms/SignInBlock.d.ts +0 -2
- package/lib/blocks/AuthForms/SignInForm.d.ts +0 -51
- package/lib/blocks/AuthForms/SignInPhone.d.ts +0 -13
- package/lib/blocks/AuthForms/SignUpForm.d.ts +0 -55
- package/lib/blocks/AuthForms/index.d.ts +0 -8
- package/lib/blocks/Misc/EmptyState.d.ts +0 -11
- package/lib/blocks/Misc/LeadGenerator.d.ts +0 -12
- package/lib/blocks/Misc/Newsletter.d.ts +0 -12
- package/lib/blocks/Misc/NoPermission.d.ts +0 -10
- package/lib/blocks/Misc/NotFound.d.ts +0 -11
- package/lib/blocks/Misc/Testimonial.d.ts +0 -6
- package/lib/blocks/Misc/index.d.ts +0 -6
- package/lib/blocks/Payment/ChargeWalletForm.d.ts +0 -12
- package/lib/blocks/Payment/CheckoutForm.d.ts +0 -27
- package/lib/blocks/Payment/Confirmation.d.ts +0 -38
- package/lib/blocks/Payment/CreditCardForm.d.ts +0 -7
- package/lib/blocks/Payment/PayWithWallet.d.ts +0 -8
- package/lib/blocks/Payment/SelectPayment.d.ts +0 -26
- package/lib/blocks/Payment/index.d.ts +0 -6
- package/lib/blocks/Pricing/ComparingPlans.d.ts +0 -39
- package/lib/blocks/Pricing/HorizontalPricing.d.ts +0 -47
- package/lib/blocks/Pricing/PricingPlans.d.ts +0 -47
- package/lib/blocks/Pricing/index.d.ts +0 -3
- package/lib/blocks/Referral/ReferralAccount.d.ts +0 -7
- package/lib/blocks/Referral/ReferralSettlement.d.ts +0 -8
- package/lib/blocks/Referral/ReferralStats.d.ts +0 -8
- package/lib/blocks/Referral/index.d.ts +0 -3
- package/lib/blocks/index.d.ts +0 -6
- package/lib/countries.d.ts +0 -2
- package/lib/elements/ArrowCarousel.d.ts +0 -13
- package/lib/elements/AutoCompleteField.d.ts +0 -8
- package/lib/elements/BackToTop.d.ts +0 -10
- package/lib/elements/Breadcrumb.d.ts +0 -12
- package/lib/elements/Button.d.ts +0 -12
- package/lib/elements/Card.d.ts +0 -10
- package/lib/elements/DragDropImages.d.ts +0 -28
- package/lib/elements/DraggableCard.d.ts +0 -6
- package/lib/elements/FloatingComment.d.ts +0 -32
- package/lib/elements/FloatingCommentExec.d.ts +0 -4
- package/lib/elements/FloatingCommentSlate.d.ts +0 -19
- package/lib/elements/HawaAccordion.d.ts +0 -11
- package/lib/elements/HawaAdCard.d.ts +0 -10
- package/lib/elements/HawaAlert.d.ts +0 -23
- package/lib/elements/HawaButton.d.ts +0 -21
- package/lib/elements/HawaCardInput.d.ts +0 -25
- package/lib/elements/HawaCheckbox.d.ts +0 -11
- package/lib/elements/HawaChip.d.ts +0 -17
- package/lib/elements/HawaCodeBlock.d.ts +0 -15
- package/lib/elements/HawaColorPicker.d.ts +0 -9
- package/lib/elements/HawaCopyrights.d.ts +0 -15
- package/lib/elements/HawaDatepicker.d.ts +0 -4
- package/lib/elements/HawaDropdownMenu.d.ts +0 -7
- package/lib/elements/HawaIconCount.d.ts +0 -9
- package/lib/elements/HawaInlineCode.d.ts +0 -6
- package/lib/elements/HawaItemCard.d.ts +0 -32
- package/lib/elements/HawaLandingCard.d.ts +0 -18
- package/lib/elements/HawaLoading.d.ts +0 -8
- package/lib/elements/HawaLogoButton.d.ts +0 -10
- package/lib/elements/HawaMenu.d.ts +0 -24
- package/lib/elements/HawaModal.d.ts +0 -21
- package/lib/elements/HawaPanelTabs.d.ts +0 -13
- package/lib/elements/HawaPhoneInput.d.ts +0 -11
- package/lib/elements/HawaPinInput.d.ts +0 -10
- package/lib/elements/HawaPricingCard.d.ts +0 -21
- package/lib/elements/HawaRadio.d.ts +0 -16
- package/lib/elements/HawaRange.d.ts +0 -12
- package/lib/elements/HawaSearchBar.d.ts +0 -4
- package/lib/elements/HawaSelect.d.ts +0 -23
- package/lib/elements/HawaSettingsRow.d.ts +0 -44
- package/lib/elements/HawaSnackbar.d.ts +0 -19
- package/lib/elements/HawaStats.d.ts +0 -14
- package/lib/elements/HawaStepper.d.ts +0 -8
- package/lib/elements/HawaStoreButtons.d.ts +0 -7
- package/lib/elements/HawaSwitch.d.ts +0 -7
- package/lib/elements/HawaTable.d.ts +0 -45
- package/lib/elements/HawaTabs.d.ts +0 -13
- package/lib/elements/HawaTextField.d.ts +0 -31
- package/lib/elements/HawaTooltip.d.ts +0 -12
- package/lib/elements/HawaTypography.d.ts +0 -7
- package/lib/elements/Icons.d.ts +0 -19
- package/lib/elements/Input.d.ts +0 -5
- package/lib/elements/InvoiceAccordion.d.ts +0 -31
- package/lib/elements/Label.d.ts +0 -5
- package/lib/elements/SubsectionList.d.ts +0 -19
- package/lib/elements/TabPanel.d.ts +0 -8
- package/lib/elements/Timeline.d.ts +0 -13
- package/lib/elements/UsageCard.d.ts +0 -9
- package/lib/elements/UserFeedback.d.ts +0 -14
- package/lib/elements/index.d.ts +0 -52
- package/lib/hooks/index.d.ts +0 -2
- package/lib/hooks/useBreakpoint.d.ts +0 -2
- package/lib/hooks/useDiscloser.d.ts +0 -7
- package/lib/hooks/useHover.d.ts +0 -3
- package/lib/hooks/useScrollPosition.d.ts +0 -2
- package/lib/hooks/useTable.d.ts +0 -5
- package/lib/index.d.ts +0 -4
- package/lib/index.js +0 -16
- package/lib/layout/AppSidebar.d.ts +0 -11
- package/lib/layout/Banner.d.ts +0 -14
- package/lib/layout/Box.d.ts +0 -2
- package/lib/layout/Footer.d.ts +0 -20
- package/lib/layout/HawaAppLayout.d.ts +0 -31
- package/lib/layout/HawaAppLayoutSimplified.d.ts +0 -33
- package/lib/layout/HawaBottomAppBar.d.ts +0 -8
- package/lib/layout/HawaContainer.d.ts +0 -10
- package/lib/layout/HawaGrid.d.ts +0 -6
- package/lib/layout/HawaSiteLayout.d.ts +0 -23
- package/lib/layout/index.d.ts +0 -10
- package/lib/stories/ElementsStories/Breadcrumb.stories.d.ts +0 -6
- package/lib/stories/ManualStories/BlocksIntroduction.stories.d.ts +0 -21
- package/lib/stories/ManualStories/Customization.stories.d.ts +0 -21
- package/lib/stories/ManualStories/ElementsIntroduction.stories.d.ts +0 -21
- package/lib/stories/ManualStories/Installation.stories.d.ts +0 -21
- package/lib/stories/ManualStories/LayoutIntroduction.stories.d.ts +0 -21
- package/lib/stories/ManualStories/Overview.stories.d.ts +0 -22
- package/lib/stories/ManualStories/Usage.stories.d.ts +0 -21
- package/lib/util.d.ts +0 -10
- package/postcss.config.js +0 -6
- package/rollup.config.js +0 -61
- package/src/blocks/Account/HawaApiBox.tsx +0 -12
- package/src/blocks/Account/UserProfileForm.tsx +0 -113
- package/src/blocks/Account/UserSettingsForm.tsx +0 -27
- package/src/blocks/Account/index.ts +0 -2
- package/src/blocks/AuthForms/AppLanding.tsx +0 -34
- package/src/blocks/AuthForms/CodeConfirmation.tsx +0 -71
- package/src/blocks/AuthForms/NewPasswordForm.tsx +0 -101
- package/src/blocks/AuthForms/ResetPasswordForm.tsx +0 -89
- package/src/blocks/AuthForms/SignInBlock.tsx +0 -60
- package/src/blocks/AuthForms/SignInForm.tsx +0 -230
- package/src/blocks/AuthForms/SignInPhone.tsx +0 -56
- package/src/blocks/AuthForms/SignUpForm.tsx +0 -342
- package/src/blocks/AuthForms/index.ts +0 -8
- package/src/blocks/Misc/EmptyState.tsx +0 -43
- package/src/blocks/Misc/LeadGenerator.tsx +0 -44
- package/src/blocks/Misc/Newsletter.tsx +0 -50
- package/src/blocks/Misc/NoPermission.tsx +0 -40
- package/src/blocks/Misc/NotFound.tsx +0 -34
- package/src/blocks/Misc/Testimonial.tsx +0 -44
- package/src/blocks/Misc/index.ts +0 -6
- package/src/blocks/Payment/ChargeWalletForm.tsx +0 -82
- package/src/blocks/Payment/CheckoutForm.tsx +0 -260
- package/src/blocks/Payment/Confirmation.tsx +0 -94
- package/src/blocks/Payment/CreditCardForm.tsx +0 -109
- package/src/blocks/Payment/PayWithWallet.tsx +0 -26
- package/src/blocks/Payment/SelectPayment.tsx +0 -84
- package/src/blocks/Payment/index.ts +0 -6
- package/src/blocks/Pricing/ComparingPlans.tsx +0 -154
- package/src/blocks/Pricing/HorizontalPricing.tsx +0 -148
- package/src/blocks/Pricing/PricingPlans.tsx +0 -81
- package/src/blocks/Pricing/index.ts +0 -3
- package/src/blocks/Referral/ReferralAccount.tsx +0 -65
- package/src/blocks/Referral/ReferralSettlement.tsx +0 -170
- package/src/blocks/Referral/ReferralStats.tsx +0 -85
- package/src/blocks/Referral/index.ts +0 -3
- package/src/blocks/index.ts +0 -6
- package/src/countries.ts +0 -1940
- package/src/elements/ArrowCarousel.tsx +0 -94
- package/src/elements/AutoCompleteField.tsx +0 -37
- package/src/elements/BackToTop.tsx +0 -129
- package/src/elements/Breadcrumb.tsx +0 -41
- package/src/elements/Button.tsx +0 -77
- package/src/elements/Card.tsx +0 -87
- package/src/elements/DragDropImages.tsx +0 -251
- package/src/elements/DraggableCard.tsx +0 -27
- package/src/elements/FloatingComment.tsx +0 -1107
- package/src/elements/FloatingCommentExec.tsx +0 -106
- package/src/elements/FloatingCommentSlate.tsx +0 -149
- package/src/elements/HawaAccordion.tsx +0 -57
- package/src/elements/HawaAdCard.tsx +0 -49
- package/src/elements/HawaAlert.tsx +0 -195
- package/src/elements/HawaButton.tsx +0 -241
- package/src/elements/HawaCardInput.tsx +0 -318
- package/src/elements/HawaCheckbox.tsx +0 -54
- package/src/elements/HawaChip.tsx +0 -59
- package/src/elements/HawaCodeBlock.tsx +0 -156
- package/src/elements/HawaColorPicker.tsx +0 -40
- package/src/elements/HawaCopyrights.tsx +0 -30
- package/src/elements/HawaDatepicker.tsx +0 -23
- package/src/elements/HawaDropdownMenu.tsx +0 -267
- package/src/elements/HawaIconCount.tsx +0 -17
- package/src/elements/HawaInlineCode.tsx +0 -9
- package/src/elements/HawaItemCard.tsx +0 -157
- package/src/elements/HawaLandingCard.tsx +0 -68
- package/src/elements/HawaLoading.tsx +0 -83
- package/src/elements/HawaLogoButton.tsx +0 -154
- package/src/elements/HawaMenu.tsx +0 -226
- package/src/elements/HawaModal.tsx +0 -89
- package/src/elements/HawaPanelTabs.tsx +0 -57
- package/src/elements/HawaPhoneInput.tsx +0 -171
- package/src/elements/HawaPinInput.tsx +0 -78
- package/src/elements/HawaPricingCard.tsx +0 -107
- package/src/elements/HawaRadio.tsx +0 -180
- package/src/elements/HawaRange.tsx +0 -49
- package/src/elements/HawaSearchBar.tsx +0 -7
- package/src/elements/HawaSelect.tsx +0 -209
- package/src/elements/HawaSettingsRow.tsx +0 -74
- package/src/elements/HawaSnackbar.tsx +0 -137
- package/src/elements/HawaStats.tsx +0 -72
- package/src/elements/HawaStepper.tsx +0 -109
- package/src/elements/HawaStoreButtons.tsx +0 -129
- package/src/elements/HawaSwitch.tsx +0 -41
- package/src/elements/HawaTable.tsx +0 -587
- package/src/elements/HawaTabs.tsx +0 -143
- package/src/elements/HawaTextField.tsx +0 -148
- package/src/elements/HawaTooltip.tsx +0 -137
- package/src/elements/HawaTypography.tsx +0 -9
- package/src/elements/Icons.tsx +0 -145
- package/src/elements/Input.tsx +0 -25
- package/src/elements/InvoiceAccordion.tsx +0 -155
- package/src/elements/Label.tsx +0 -26
- package/src/elements/SubsectionList.tsx +0 -77
- package/src/elements/TabPanel.tsx +0 -25
- package/src/elements/Timeline.tsx +0 -35
- package/src/elements/UsageCard.tsx +0 -45
- package/src/elements/UserFeedback.tsx +0 -126
- package/src/elements/index.ts +0 -55
- package/src/hooks/index.ts +0 -2
- package/src/hooks/useBreakpoint.ts +0 -24
- package/src/hooks/useDiscloser.ts +0 -21
- package/src/hooks/useHover.ts +0 -25
- package/src/hooks/useScrollPosition.ts +0 -30
- package/src/hooks/useTable.ts +0 -159
- package/src/index.ts +0 -4
- package/src/layout/AppSidebar.tsx +0 -39
- package/src/layout/Banner.tsx +0 -122
- package/src/layout/Box.tsx +0 -5
- package/src/layout/Footer.tsx +0 -71
- package/src/layout/HawaAppLayout.tsx +0 -527
- package/src/layout/HawaAppLayoutSimplified.tsx +0 -568
- package/src/layout/HawaBottomAppBar.tsx +0 -55
- package/src/layout/HawaContainer.tsx +0 -43
- package/src/layout/HawaGrid.tsx +0 -15
- package/src/layout/HawaSiteLayout.tsx +0 -159
- package/src/layout/index.ts +0 -10
- package/src/styles.css +0 -3511
- package/src/tailwind.css +0 -179
- package/src/translations/ar.json +0 -30
- package/src/translations/en.json +0 -29
- package/src/translations/i18n.js +0 -15
- package/src/util.ts +0 -149
- package/tailwind.config.js +0 -227
- package/tools/build-styles.js +0 -17
- package/tsconfig.json +0 -31
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC, RefObject } from "react";
|
|
2
|
-
type ComponentTypes = {
|
|
3
|
-
paddingX?: number;
|
|
4
|
-
paddingY?: number;
|
|
5
|
-
paddingThreshold?: number;
|
|
6
|
-
corner?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
7
|
-
anchor: RefObject<HTMLInputElement>;
|
|
8
|
-
};
|
|
9
|
-
export declare const BackToTop: FC<ComponentTypes>;
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
type TBreadcrumb = {
|
|
3
|
-
/** The array of crumbs, each one with a label and a href link */
|
|
4
|
-
breadcrumbLinks: [{
|
|
5
|
-
label: string;
|
|
6
|
-
href: string;
|
|
7
|
-
}];
|
|
8
|
-
/** The separator between each crumb, can be character or React Node. The default is ">" */
|
|
9
|
-
separator?: string | ReactNode;
|
|
10
|
-
};
|
|
11
|
-
declare const HawaBreadcrumb: FC<TBreadcrumb>;
|
|
12
|
-
export default HawaBreadcrumb;
|
package/es/elements/Button.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
declare const buttonVariants: (props?: {
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
5
|
-
size?: "default" | "sm" | "lg" | "icon";
|
|
6
|
-
} & import("class-variance-authority/dist/types").ClassProp) => string;
|
|
7
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
export { Button, buttonVariants };
|
package/es/elements/Card.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
5
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
-
declare const CardContent: React.ForwardRefExoticComponent<{
|
|
7
|
-
headless?: boolean;
|
|
8
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type DragDropImagesTypes = {
|
|
3
|
-
/** The text label above the component. Consistant with the other form input fields */
|
|
4
|
-
label?: string;
|
|
5
|
-
files: [File];
|
|
6
|
-
setFiles: any;
|
|
7
|
-
setDeletedFiles: any;
|
|
8
|
-
maxFiles: number;
|
|
9
|
-
accept: string;
|
|
10
|
-
onAcceptedFiles: any;
|
|
11
|
-
showPreview: any;
|
|
12
|
-
onDeleteFile: any;
|
|
13
|
-
onClearFiles: any;
|
|
14
|
-
maxSize: number;
|
|
15
|
-
errorMessages: string;
|
|
16
|
-
/** The translation object, use this to replace the default text with any translated text you want.*/
|
|
17
|
-
texts: {
|
|
18
|
-
errorUploading: any;
|
|
19
|
-
clickHereToUpload: any;
|
|
20
|
-
maxFileSize: any;
|
|
21
|
-
tooManyFiles: any;
|
|
22
|
-
fileTooLarge: any;
|
|
23
|
-
acceptedFileTypes: any;
|
|
24
|
-
invalidFileType: any;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const DragDropImages: React.FunctionComponent<DragDropImagesTypes>;
|
|
28
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type ComponentTypes = {
|
|
3
|
-
rtl?: "enabled" | "disabled" | "auto";
|
|
4
|
-
onSubmit?: (content: string, stylings: {
|
|
5
|
-
type: keyof typeof stylers;
|
|
6
|
-
start: number;
|
|
7
|
-
finish: number;
|
|
8
|
-
}[]) => void;
|
|
9
|
-
};
|
|
10
|
-
declare const stylers: {
|
|
11
|
-
bold: {
|
|
12
|
-
css: string;
|
|
13
|
-
content: string;
|
|
14
|
-
};
|
|
15
|
-
italic: {
|
|
16
|
-
id: string;
|
|
17
|
-
css: string;
|
|
18
|
-
content: string;
|
|
19
|
-
};
|
|
20
|
-
under: {
|
|
21
|
-
id: string;
|
|
22
|
-
css: string;
|
|
23
|
-
content: string;
|
|
24
|
-
};
|
|
25
|
-
strike: {
|
|
26
|
-
id: string;
|
|
27
|
-
css: string;
|
|
28
|
-
content: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const FloatingComment: React.FunctionComponent<ComponentTypes>;
|
|
32
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { BaseEditor } from "slate";
|
|
3
|
-
import { ReactEditor } from "slate-react";
|
|
4
|
-
type CustomElement = {
|
|
5
|
-
type: "paragraph";
|
|
6
|
-
children: CustomText[];
|
|
7
|
-
};
|
|
8
|
-
type CustomText = {
|
|
9
|
-
text: string;
|
|
10
|
-
};
|
|
11
|
-
declare module "slate" {
|
|
12
|
-
interface CustomTypes {
|
|
13
|
-
Editor: BaseEditor & ReactEditor;
|
|
14
|
-
Element: CustomElement;
|
|
15
|
-
Text: CustomText;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export declare const FloatingCommentSlate: () => React.JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type AccordionTypes = {
|
|
3
|
-
/** The title of the clickable accordion bar */
|
|
4
|
-
title: string;
|
|
5
|
-
/** The content inside the accordion to be visible once the bar is clicked */
|
|
6
|
-
content: any;
|
|
7
|
-
/** The index of each accordion, must be unique for each usage of this component */
|
|
8
|
-
index: any;
|
|
9
|
-
};
|
|
10
|
-
export declare const HawaAccordion: FC<AccordionTypes>;
|
|
11
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type AlertTypes = {
|
|
3
|
-
severity: "info" | "warning" | "error" | "success";
|
|
4
|
-
/** The title of the alert placed above the text of the alert. Can be used alone */
|
|
5
|
-
title?: any;
|
|
6
|
-
/** The text of the alert placed below the title of the alert. Can be used alone */
|
|
7
|
-
text: any;
|
|
8
|
-
/** The duration for the alert to stay on the screen */
|
|
9
|
-
duration?: number;
|
|
10
|
-
variant?: "normal" | "solid" | "top-accent" | "left-accent" | "right-accent" | "bottom-accent";
|
|
11
|
-
direction?: "rtl" | "ltr";
|
|
12
|
-
actions?: [
|
|
13
|
-
{
|
|
14
|
-
label: string;
|
|
15
|
-
onClick: any;
|
|
16
|
-
variant: "contained" | "outlined";
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
persistant?: boolean;
|
|
20
|
-
icon?: any;
|
|
21
|
-
};
|
|
22
|
-
export declare const HawaAlert: React.FunctionComponent<AlertTypes>;
|
|
23
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC, ButtonHTMLAttributes } from "react";
|
|
2
|
-
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
variant?: "contained" | "outlined";
|
|
4
|
-
feedback?: string;
|
|
5
|
-
tooltipDirection?: "rtl" | "ltr";
|
|
6
|
-
color?: "default" | "primary" | "secondary" | "light" | "dark";
|
|
7
|
-
width?: "full" | "normal" | "half";
|
|
8
|
-
size?: "xs" | "small" | "medium" | "large" | "noPadding" | "full" | "icon";
|
|
9
|
-
margins?: "none" | "1" | "2" | "3" | "4";
|
|
10
|
-
tooltip?: string;
|
|
11
|
-
tooltipSize?: "normal" | "small" | "large";
|
|
12
|
-
tooltipPosition?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
13
|
-
startIcon?: any;
|
|
14
|
-
endIcon?: any;
|
|
15
|
-
isLoading?: boolean;
|
|
16
|
-
badge?: any;
|
|
17
|
-
edgeCorner?: any;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const HawaButton: FC<ButtonProps>;
|
|
21
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const HawaCardInput: ({ cardHolder, cardMonth, cardYear, cardCvv, rememberMe, onUpdateState, cardNumberRef, cardHolderRef, cardDateRef, cardCvvRef, rememberMeRef, onCardInputFocus, onCardInputBlur, children, handlePaymentPayfort, selectedPaymentMethod, isRegister, accessCode, shaRequestPassphrase, transaction, signature, isCheckout, }: {
|
|
3
|
-
cardHolder: any;
|
|
4
|
-
cardMonth: any;
|
|
5
|
-
cardYear: any;
|
|
6
|
-
cardCvv: any;
|
|
7
|
-
rememberMe: any;
|
|
8
|
-
onUpdateState: any;
|
|
9
|
-
cardNumberRef: any;
|
|
10
|
-
cardHolderRef: any;
|
|
11
|
-
cardDateRef: any;
|
|
12
|
-
cardCvvRef: any;
|
|
13
|
-
rememberMeRef: any;
|
|
14
|
-
onCardInputFocus: any;
|
|
15
|
-
onCardInputBlur: any;
|
|
16
|
-
children: any;
|
|
17
|
-
handlePaymentPayfort: any;
|
|
18
|
-
selectedPaymentMethod: any;
|
|
19
|
-
isRegister: any;
|
|
20
|
-
accessCode: any;
|
|
21
|
-
shaRequestPassphrase: any;
|
|
22
|
-
transaction: any;
|
|
23
|
-
signature: any;
|
|
24
|
-
isCheckout: any;
|
|
25
|
-
}) => React.JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type TChipTypes = {
|
|
3
|
-
/** The text inside the chip */
|
|
4
|
-
label: string;
|
|
5
|
-
/** The small icon before the chip label */
|
|
6
|
-
icon?: JSX.Element;
|
|
7
|
-
/** The color of the chip, must be a tailwind color */
|
|
8
|
-
color?: string;
|
|
9
|
-
/** The size of the chip */
|
|
10
|
-
size?: "small" | "normal" | "large";
|
|
11
|
-
/** Enable/Disable the dot before the label of the chip */
|
|
12
|
-
dot?: boolean;
|
|
13
|
-
/** Red/Green dot next to the label of the chip indicating online/offline or available/unavailable */
|
|
14
|
-
dotType?: "available" | "unavailable";
|
|
15
|
-
};
|
|
16
|
-
export declare const HawaChip: FC<TChipTypes>;
|
|
17
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type CodeBlockTypes = {
|
|
3
|
-
color?: "dark" | "light";
|
|
4
|
-
language?: string;
|
|
5
|
-
width?: "full" | "md" | "sm";
|
|
6
|
-
tabs?: TabsTypes[];
|
|
7
|
-
fileName?: string;
|
|
8
|
-
code?: string;
|
|
9
|
-
};
|
|
10
|
-
type TabsTypes = {
|
|
11
|
-
title: string;
|
|
12
|
-
code: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const HawaCodeBlock: FC<CodeBlockTypes>;
|
|
15
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FC, ChangeEvent } from "react";
|
|
2
|
-
type ColorPickerTypes = {
|
|
3
|
-
/** The hex code for the color */
|
|
4
|
-
color?: any;
|
|
5
|
-
/** Fires everytime the color changes */
|
|
6
|
-
handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const HawaColorPicker: FC<ColorPickerTypes>;
|
|
9
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type CopyRightsTypes = {
|
|
3
|
-
/** A text used as the version of the app, for example: v1.0.0 */
|
|
4
|
-
version?: string;
|
|
5
|
-
/** Credit to the creator of the app, for example: Sikka Software */
|
|
6
|
-
credits?: string;
|
|
7
|
-
/** The URL of the logo in the copyrights */
|
|
8
|
-
logoURL?: string;
|
|
9
|
-
/** Enable/Disable the existance of the logo */
|
|
10
|
-
withLogo?: boolean;
|
|
11
|
-
/** Fires when the logo is clicked, usually goes to the website of the creator of the app */
|
|
12
|
-
onLogoClicked?: any;
|
|
13
|
-
};
|
|
14
|
-
export declare const HawaCopyrights: FC<CopyRightsTypes>;
|
|
15
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface ItemCardTypes {
|
|
3
|
-
headerActions?: THeaderActions[][];
|
|
4
|
-
header?: any;
|
|
5
|
-
content?: any;
|
|
6
|
-
/** a URL for the image of the card */
|
|
7
|
-
cardImage?: string;
|
|
8
|
-
/** a function that fires when the card is clicked anywhere */
|
|
9
|
-
onCardClick?: any;
|
|
10
|
-
/** a React node with HawaIconCount children to have counters at the bottom of the card */
|
|
11
|
-
counts?: JSX.Element;
|
|
12
|
-
/** The action buttons on the bottom right of the card */
|
|
13
|
-
actions?: JSX.Element;
|
|
14
|
-
/** The orientation of the card */
|
|
15
|
-
orientation?: "horizontal" | "vertical";
|
|
16
|
-
/** Enabling this blurs the image on hover and shows an action button */
|
|
17
|
-
clickableImage?: boolean;
|
|
18
|
-
/** The function of the action button on the image of the card */
|
|
19
|
-
clickableImageAction?: () => void;
|
|
20
|
-
/** The text of the action button on the image of the card */
|
|
21
|
-
clickableImageActionText: string;
|
|
22
|
-
/** The icon of the action button on the image of the card */
|
|
23
|
-
clickableImageActionIcon?: any;
|
|
24
|
-
}
|
|
25
|
-
type THeaderActions = {
|
|
26
|
-
icon?: JSX.Element;
|
|
27
|
-
label: string;
|
|
28
|
-
action?: (e: any) => void;
|
|
29
|
-
isButton?: boolean;
|
|
30
|
-
};
|
|
31
|
-
export declare const HawaItemCard: FC<ItemCardTypes>;
|
|
32
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type LandingCardTypes = {
|
|
3
|
-
orientation: "vertical" | "horizontal";
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
imageURL: string;
|
|
7
|
-
handleHide: any;
|
|
8
|
-
texts?: {
|
|
9
|
-
titleTip?: string;
|
|
10
|
-
title?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
linkText?: string;
|
|
13
|
-
};
|
|
14
|
-
buttonLink?: string;
|
|
15
|
-
className?: any;
|
|
16
|
-
};
|
|
17
|
-
export declare const HawaLandingCard: FC<LandingCardTypes>;
|
|
18
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type LoadingTypes = {
|
|
3
|
-
size?: "button" | "sm" | "normal" | "lg" | "xl";
|
|
4
|
-
design?: "spinner" | "dots-bounce" | "dots-pulse" | "pulse" | "spinner-dots";
|
|
5
|
-
color?: any;
|
|
6
|
-
};
|
|
7
|
-
export declare const HawaLoading: FC<LoadingTypes>;
|
|
8
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type LogoButtonTypes = {
|
|
3
|
-
lang?: any;
|
|
4
|
-
logo?: "google" | "github" | "twitter" | "wallet" | "googlepay" | "applepay" | "stcpay" | "visa/master" | "paypal" | "mada";
|
|
5
|
-
onClick?: any;
|
|
6
|
-
buttonText?: any;
|
|
7
|
-
direction?: "rtl" | "ltr";
|
|
8
|
-
};
|
|
9
|
-
export declare const HawaLogoButton: FC<LogoButtonTypes>;
|
|
10
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ReactNode, FC } from "react";
|
|
2
|
-
interface TMenuTypes {
|
|
3
|
-
menuItems: MenuItems[][];
|
|
4
|
-
withHeader?: boolean;
|
|
5
|
-
headerTitle?: string;
|
|
6
|
-
headerSubtitle?: string;
|
|
7
|
-
direction?: "rtl" | "ltr";
|
|
8
|
-
anchor?: any;
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
11
|
-
onClickOutside?: any;
|
|
12
|
-
actionedItem?: any;
|
|
13
|
-
size?: "small" | "normal" | "large";
|
|
14
|
-
}
|
|
15
|
-
type MenuItems = {
|
|
16
|
-
icon?: JSX.Element;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
label: string;
|
|
19
|
-
action?: (e: any) => void;
|
|
20
|
-
isButton?: boolean;
|
|
21
|
-
element?: any;
|
|
22
|
-
};
|
|
23
|
-
export declare const HawaMenu: FC<TMenuTypes>;
|
|
24
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ReactElement, FC } from "react";
|
|
2
|
-
type ModalTypes = {
|
|
3
|
-
/** * The boolean to open and close the modal */
|
|
4
|
-
open: boolean;
|
|
5
|
-
/** * The title of the modal, it will appear in the header of the modal */
|
|
6
|
-
title: string;
|
|
7
|
-
/**
|
|
8
|
-
* a function that's triggered when the modal is closed either by the clicking the close button or outside the modal.
|
|
9
|
-
* @returns void
|
|
10
|
-
*/
|
|
11
|
-
onClose: () => void;
|
|
12
|
-
/** * Boolean to enable/disable closing the modal upon clicking outside the modal */
|
|
13
|
-
closeOnClickOutside?: boolean;
|
|
14
|
-
/** * The id of the modal */
|
|
15
|
-
modalID?: string;
|
|
16
|
-
children: ReactElement;
|
|
17
|
-
/** * The array of actions for the modal, it will appear in the footer of the modal */
|
|
18
|
-
actions: any;
|
|
19
|
-
};
|
|
20
|
-
export declare const HawaModal: FC<ModalTypes>;
|
|
21
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type PanelTabsTypes = {
|
|
3
|
-
defaultValue: any;
|
|
4
|
-
options: [{
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}];
|
|
8
|
-
lang: any;
|
|
9
|
-
handleChange: any;
|
|
10
|
-
location: any;
|
|
11
|
-
};
|
|
12
|
-
export declare const HawaPanelTabs: FC<PanelTabsTypes>;
|
|
13
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type HawaPhoneInputTypes = {
|
|
3
|
-
preferredCountry?: any;
|
|
4
|
-
helperText?: any;
|
|
5
|
-
label?: string;
|
|
6
|
-
value?: any;
|
|
7
|
-
country?: any;
|
|
8
|
-
handleChange?: any;
|
|
9
|
-
};
|
|
10
|
-
export declare const HawaPhoneInput: FC<HawaPhoneInputTypes>;
|
|
11
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type PricingCardTypes = {
|
|
3
|
-
direction?: "rtl" | "ltr";
|
|
4
|
-
features: [{
|
|
5
|
-
included: boolean;
|
|
6
|
-
text: string;
|
|
7
|
-
}];
|
|
8
|
-
price: number;
|
|
9
|
-
texts: {
|
|
10
|
-
title: string;
|
|
11
|
-
subtitle: string;
|
|
12
|
-
buttonText: string;
|
|
13
|
-
cycleText: string;
|
|
14
|
-
currencyText: string;
|
|
15
|
-
};
|
|
16
|
-
onPlanClicked?: () => void;
|
|
17
|
-
currentPlan?: boolean;
|
|
18
|
-
size: "small" | "medium" | "large";
|
|
19
|
-
};
|
|
20
|
-
export declare const HawaPricingCard: FC<PricingCardTypes>;
|
|
21
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type RadioTypes = {
|
|
3
|
-
orientation?: "vertical" | "horizontal";
|
|
4
|
-
design?: "default" | "tabs" | "cards" | "bordered";
|
|
5
|
-
options?: {
|
|
6
|
-
value: any;
|
|
7
|
-
label: any;
|
|
8
|
-
disabled?: any;
|
|
9
|
-
sublabel?: any;
|
|
10
|
-
icon?: any;
|
|
11
|
-
}[];
|
|
12
|
-
onChangeTab?: any;
|
|
13
|
-
defaultValue?: any;
|
|
14
|
-
};
|
|
15
|
-
export declare const HawaRadio: FC<RadioTypes>;
|
|
16
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type SelectTypes = {
|
|
3
|
-
label?: string;
|
|
4
|
-
options?: {
|
|
5
|
-
value: any;
|
|
6
|
-
label: any;
|
|
7
|
-
}[];
|
|
8
|
-
isCreatable?: boolean;
|
|
9
|
-
isClearable?: boolean;
|
|
10
|
-
isMulti?: boolean;
|
|
11
|
-
isSearchable?: boolean;
|
|
12
|
-
onChange?: any;
|
|
13
|
-
helperText?: any;
|
|
14
|
-
onInputChange?: any;
|
|
15
|
-
native?: any;
|
|
16
|
-
width?: "full" | "small";
|
|
17
|
-
value?: any;
|
|
18
|
-
children?: any;
|
|
19
|
-
getOptionLabel?: any;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
};
|
|
22
|
-
export declare const HawaSelect: FC<SelectTypes>;
|
|
23
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type SettingsRowTypes = {
|
|
3
|
-
settingsLabel: string;
|
|
4
|
-
settingsType: "text" | "radio" | "boolean" | "color" | "range" | "select";
|
|
5
|
-
settingsDescription?: string;
|
|
6
|
-
radioProps: {
|
|
7
|
-
defaultValue: any;
|
|
8
|
-
onChangeTab: any;
|
|
9
|
-
options: [{
|
|
10
|
-
label: string;
|
|
11
|
-
value: any;
|
|
12
|
-
}];
|
|
13
|
-
};
|
|
14
|
-
colorProps: {
|
|
15
|
-
color?: any;
|
|
16
|
-
handleChange?: any;
|
|
17
|
-
};
|
|
18
|
-
rangeProps: {
|
|
19
|
-
min?: any;
|
|
20
|
-
max?: any;
|
|
21
|
-
};
|
|
22
|
-
switchProps: {
|
|
23
|
-
size: "small" | "normal" | "large";
|
|
24
|
-
};
|
|
25
|
-
selectProps: {
|
|
26
|
-
label?: string;
|
|
27
|
-
options?: any[any];
|
|
28
|
-
isCreatable?: boolean;
|
|
29
|
-
isClearable?: boolean;
|
|
30
|
-
isMulti?: boolean;
|
|
31
|
-
isSearchable?: boolean;
|
|
32
|
-
onChange?: any;
|
|
33
|
-
helperText?: any;
|
|
34
|
-
onInputChange?: any;
|
|
35
|
-
native?: any;
|
|
36
|
-
fullWidth?: any;
|
|
37
|
-
value?: any;
|
|
38
|
-
children?: any;
|
|
39
|
-
getOptionLabel?: any;
|
|
40
|
-
disabled?: boolean;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export declare const HawaSettingsRow: FC<SettingsRowTypes>;
|
|
44
|
-
export {};
|