@sikka/hawa 0.1.91 → 0.1.93

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/dist/index.d.mts CHANGED
@@ -508,7 +508,7 @@ type InvoiceAccordionTypes = {
508
508
  };
509
509
  declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
510
510
 
511
- type ComponentTypes$3 = {
511
+ type ComponentTypes$4 = {
512
512
  title?: string;
513
513
  question: string;
514
514
  options?: [];
@@ -519,21 +519,21 @@ type ComponentTypes$3 = {
519
519
  position?: "bottom-right" | "bottom-left";
520
520
  onOptionClicked?: (option: any) => void;
521
521
  };
522
- declare const UserFeedback: FC<ComponentTypes$3>;
522
+ declare const UserFeedback: FC<ComponentTypes$4>;
523
523
 
524
524
  type Item$2 = {
525
525
  label?: string;
526
526
  icon?: JSX.Element;
527
527
  };
528
- type ComponentTypes$2 = {
528
+ type ComponentTypes$3 = {
529
529
  items: Item$2[];
530
530
  index?: number;
531
531
  arrowSize?: number;
532
532
  labelSize?: "small" | "medium" | "big";
533
533
  };
534
- declare const ArrowCarousel: FC<ComponentTypes$2>;
534
+ declare const ArrowCarousel: FC<ComponentTypes$3>;
535
535
 
536
- type ComponentTypes$1 = {
536
+ type ComponentTypes$2 = {
537
537
  rtl?: "enabled" | "disabled" | "auto";
538
538
  onSubmit?: (content: string, stylings: {
539
539
  type: keyof typeof stylers;
@@ -562,7 +562,7 @@ declare const stylers: {
562
562
  content: string;
563
563
  };
564
564
  };
565
- declare const FloatingComment: React__default.FunctionComponent<ComponentTypes$1>;
565
+ declare const FloatingComment: React__default.FunctionComponent<ComponentTypes$2>;
566
566
 
567
567
  type CustomElement = {
568
568
  type: "paragraph";
@@ -580,8 +580,8 @@ declare module "slate" {
580
580
  }
581
581
  declare const FloatingCommentSlate: () => React__default.JSX.Element;
582
582
 
583
- type ComponentTypes = {};
584
- declare const FloatingCommentExec: React__default.FC<ComponentTypes>;
583
+ type ComponentTypes$1 = {};
584
+ declare const FloatingCommentExec: React__default.FC<ComponentTypes$1>;
585
585
 
586
586
  type BackToTopTypes = {
587
587
  paddingX?: number;
@@ -636,6 +636,7 @@ type TextFieldTypes = {
636
636
  preview?: boolean;
637
637
  autoComplete?: any;
638
638
  maxLength?: any;
639
+ iconInside?: React__default.ReactNode;
639
640
  };
640
641
  declare const HawaTextField: FC<TextFieldTypes>;
641
642
 
@@ -759,8 +760,34 @@ type ImageCardTypes = {
759
760
  };
760
761
  declare const ActionCard: FC<ImageCardTypes>;
761
762
 
763
+ interface Feature {
764
+ icon: React__default.ReactNode;
765
+ title: string;
766
+ description: string;
767
+ }
768
+ type StickyFeaturesType = {
769
+ features?: Feature[];
770
+ tag?: string;
771
+ title?: string;
772
+ description?: string;
773
+ };
774
+ declare const StickyFeatures: React__default.FC<StickyFeaturesType>;
775
+
776
+ type ComponentTypes = {
777
+ title?: string;
778
+ question: string;
779
+ options?: [];
780
+ texts?: {
781
+ least: string;
782
+ most: string;
783
+ };
784
+ position?: "bottom-right" | "bottom-left";
785
+ onOptionClicked?: (option: any) => void;
786
+ };
787
+ declare const UserReferralSource: FC<ComponentTypes>;
788
+
762
789
  declare const buttonVariants: (props?: {
763
- variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost";
790
+ variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost" | "neoBrutalism";
764
791
  size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
765
792
  } & class_variance_authority_dist_types.ClassProp) => string;
766
793
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -1117,20 +1144,42 @@ type UserSettingsFormTypes = {
1117
1144
  declare const UserSettingsForm: FC<UserSettingsFormTypes>;
1118
1145
 
1119
1146
  type AppLandingTypes = {
1120
- handleSignIn: () => void;
1121
- handleSignUp: () => void;
1122
- handleLanguage: () => void;
1123
- handleColorMode: () => void;
1124
1147
  texts?: {
1125
1148
  signIn: string;
1126
1149
  signUp: string;
1127
1150
  lang: string;
1128
1151
  newUserText?: string;
1129
1152
  createAccount?: string;
1153
+ continueWithGoogle?: string;
1154
+ continueWithTwitter?: string;
1155
+ continueWithApple?: string;
1156
+ continueWithMicrosoft?: string;
1157
+ continueWithGithub?: string;
1158
+ continueWithEmail?: string;
1159
+ continueWithPhone?: string;
1130
1160
  };
1161
+ viaGoogle?: boolean;
1162
+ viaTwitter?: boolean;
1163
+ viaGithub?: boolean;
1164
+ viaMicrosoft?: boolean;
1165
+ viaEmail?: boolean;
1166
+ viaPhone?: boolean;
1167
+ viaApple?: boolean;
1131
1168
  withoutSignUp?: boolean;
1132
- handleRouteToSignUp?: () => void;
1133
1169
  size: "small" | "normal" | "full";
1170
+ direction: "rtl" | "ltr";
1171
+ handleSignIn: () => void;
1172
+ handleSignUp: () => void;
1173
+ handleLanguage: () => void;
1174
+ handleColorMode: () => void;
1175
+ handleRouteToSignUp?: () => void;
1176
+ handleGoogle?: () => void;
1177
+ handleTwitter?: () => void;
1178
+ handleApple?: () => void;
1179
+ handleMicrosoft?: () => void;
1180
+ handleGithub?: () => void;
1181
+ handleEmail?: () => void;
1182
+ handlePhone?: () => void;
1134
1183
  };
1135
1184
  declare const AppLanding: FC<AppLandingTypes>;
1136
1185
 
@@ -1293,6 +1342,8 @@ type ResetPasswordType = {
1293
1342
  signUpText: string;
1294
1343
  dontHaveAccount: string;
1295
1344
  };
1345
+ headless?: boolean;
1346
+ direction?: "rtl" | "ltr";
1296
1347
  };
1297
1348
  declare const ResetPasswordForm: FC<ResetPasswordType>;
1298
1349
 
@@ -1679,4 +1730,4 @@ declare function useToast(): {
1679
1730
  toasts: ToasterToast[];
1680
1731
  };
1681
1732
 
1682
- export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckEmail, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserSettingsForm, buttonVariants, reducer, toast, useToast };
1733
+ export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckEmail, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, StickyFeatures, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserReferralSource, UserSettingsForm, buttonVariants, reducer, toast, useToast };
package/dist/index.d.ts CHANGED
@@ -508,7 +508,7 @@ type InvoiceAccordionTypes = {
508
508
  };
509
509
  declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
510
510
 
511
- type ComponentTypes$3 = {
511
+ type ComponentTypes$4 = {
512
512
  title?: string;
513
513
  question: string;
514
514
  options?: [];
@@ -519,21 +519,21 @@ type ComponentTypes$3 = {
519
519
  position?: "bottom-right" | "bottom-left";
520
520
  onOptionClicked?: (option: any) => void;
521
521
  };
522
- declare const UserFeedback: FC<ComponentTypes$3>;
522
+ declare const UserFeedback: FC<ComponentTypes$4>;
523
523
 
524
524
  type Item$2 = {
525
525
  label?: string;
526
526
  icon?: JSX.Element;
527
527
  };
528
- type ComponentTypes$2 = {
528
+ type ComponentTypes$3 = {
529
529
  items: Item$2[];
530
530
  index?: number;
531
531
  arrowSize?: number;
532
532
  labelSize?: "small" | "medium" | "big";
533
533
  };
534
- declare const ArrowCarousel: FC<ComponentTypes$2>;
534
+ declare const ArrowCarousel: FC<ComponentTypes$3>;
535
535
 
536
- type ComponentTypes$1 = {
536
+ type ComponentTypes$2 = {
537
537
  rtl?: "enabled" | "disabled" | "auto";
538
538
  onSubmit?: (content: string, stylings: {
539
539
  type: keyof typeof stylers;
@@ -562,7 +562,7 @@ declare const stylers: {
562
562
  content: string;
563
563
  };
564
564
  };
565
- declare const FloatingComment: React__default.FunctionComponent<ComponentTypes$1>;
565
+ declare const FloatingComment: React__default.FunctionComponent<ComponentTypes$2>;
566
566
 
567
567
  type CustomElement = {
568
568
  type: "paragraph";
@@ -580,8 +580,8 @@ declare module "slate" {
580
580
  }
581
581
  declare const FloatingCommentSlate: () => React__default.JSX.Element;
582
582
 
583
- type ComponentTypes = {};
584
- declare const FloatingCommentExec: React__default.FC<ComponentTypes>;
583
+ type ComponentTypes$1 = {};
584
+ declare const FloatingCommentExec: React__default.FC<ComponentTypes$1>;
585
585
 
586
586
  type BackToTopTypes = {
587
587
  paddingX?: number;
@@ -636,6 +636,7 @@ type TextFieldTypes = {
636
636
  preview?: boolean;
637
637
  autoComplete?: any;
638
638
  maxLength?: any;
639
+ iconInside?: React__default.ReactNode;
639
640
  };
640
641
  declare const HawaTextField: FC<TextFieldTypes>;
641
642
 
@@ -759,8 +760,34 @@ type ImageCardTypes = {
759
760
  };
760
761
  declare const ActionCard: FC<ImageCardTypes>;
761
762
 
763
+ interface Feature {
764
+ icon: React__default.ReactNode;
765
+ title: string;
766
+ description: string;
767
+ }
768
+ type StickyFeaturesType = {
769
+ features?: Feature[];
770
+ tag?: string;
771
+ title?: string;
772
+ description?: string;
773
+ };
774
+ declare const StickyFeatures: React__default.FC<StickyFeaturesType>;
775
+
776
+ type ComponentTypes = {
777
+ title?: string;
778
+ question: string;
779
+ options?: [];
780
+ texts?: {
781
+ least: string;
782
+ most: string;
783
+ };
784
+ position?: "bottom-right" | "bottom-left";
785
+ onOptionClicked?: (option: any) => void;
786
+ };
787
+ declare const UserReferralSource: FC<ComponentTypes>;
788
+
762
789
  declare const buttonVariants: (props?: {
763
- variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost";
790
+ variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost" | "neoBrutalism";
764
791
  size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
765
792
  } & class_variance_authority_dist_types.ClassProp) => string;
766
793
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -1117,20 +1144,42 @@ type UserSettingsFormTypes = {
1117
1144
  declare const UserSettingsForm: FC<UserSettingsFormTypes>;
1118
1145
 
1119
1146
  type AppLandingTypes = {
1120
- handleSignIn: () => void;
1121
- handleSignUp: () => void;
1122
- handleLanguage: () => void;
1123
- handleColorMode: () => void;
1124
1147
  texts?: {
1125
1148
  signIn: string;
1126
1149
  signUp: string;
1127
1150
  lang: string;
1128
1151
  newUserText?: string;
1129
1152
  createAccount?: string;
1153
+ continueWithGoogle?: string;
1154
+ continueWithTwitter?: string;
1155
+ continueWithApple?: string;
1156
+ continueWithMicrosoft?: string;
1157
+ continueWithGithub?: string;
1158
+ continueWithEmail?: string;
1159
+ continueWithPhone?: string;
1130
1160
  };
1161
+ viaGoogle?: boolean;
1162
+ viaTwitter?: boolean;
1163
+ viaGithub?: boolean;
1164
+ viaMicrosoft?: boolean;
1165
+ viaEmail?: boolean;
1166
+ viaPhone?: boolean;
1167
+ viaApple?: boolean;
1131
1168
  withoutSignUp?: boolean;
1132
- handleRouteToSignUp?: () => void;
1133
1169
  size: "small" | "normal" | "full";
1170
+ direction: "rtl" | "ltr";
1171
+ handleSignIn: () => void;
1172
+ handleSignUp: () => void;
1173
+ handleLanguage: () => void;
1174
+ handleColorMode: () => void;
1175
+ handleRouteToSignUp?: () => void;
1176
+ handleGoogle?: () => void;
1177
+ handleTwitter?: () => void;
1178
+ handleApple?: () => void;
1179
+ handleMicrosoft?: () => void;
1180
+ handleGithub?: () => void;
1181
+ handleEmail?: () => void;
1182
+ handlePhone?: () => void;
1134
1183
  };
1135
1184
  declare const AppLanding: FC<AppLandingTypes>;
1136
1185
 
@@ -1293,6 +1342,8 @@ type ResetPasswordType = {
1293
1342
  signUpText: string;
1294
1343
  dontHaveAccount: string;
1295
1344
  };
1345
+ headless?: boolean;
1346
+ direction?: "rtl" | "ltr";
1296
1347
  };
1297
1348
  declare const ResetPasswordForm: FC<ResetPasswordType>;
1298
1349
 
@@ -1679,4 +1730,4 @@ declare function useToast(): {
1679
1730
  toasts: ToasterToast[];
1680
1731
  };
1681
1732
 
1682
- export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckEmail, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserSettingsForm, buttonVariants, reducer, toast, useToast };
1733
+ export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckEmail, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, StickyFeatures, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserReferralSource, UserSettingsForm, buttonVariants, reducer, toast, useToast };