@sikka/hawa 0.1.92 → 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 +36 -9
- package/dist/index.d.ts +36 -9
- package/dist/index.js +251 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +776 -631
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +89 -9
- package/package.json +1 -1
- package/src/blocks/Payment/CreditCardForm.tsx +63 -2
- package/src/elements/HawaRadio.tsx +13 -13
- package/src/elements/HawaTextField.tsx +7 -2
- package/src/elements/StickyFeatures.tsx +53 -0
- package/src/elements/UserReferralSource.tsx +101 -0
- package/src/elements/index.ts +2 -0
- package/src/styles.css +89 -9
- package/src/tailwind.css +7 -7
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$
|
|
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$
|
|
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$
|
|
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$
|
|
534
|
+
declare const ArrowCarousel: FC<ComponentTypes$3>;
|
|
535
535
|
|
|
536
|
-
type ComponentTypes$
|
|
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$
|
|
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,6 +760,32 @@ 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
790
|
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost" | "neoBrutalism";
|
|
764
791
|
size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
|
|
@@ -1703,4 +1730,4 @@ declare function useToast(): {
|
|
|
1703
1730
|
toasts: ToasterToast[];
|
|
1704
1731
|
};
|
|
1705
1732
|
|
|
1706
|
-
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$
|
|
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$
|
|
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$
|
|
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$
|
|
534
|
+
declare const ArrowCarousel: FC<ComponentTypes$3>;
|
|
535
535
|
|
|
536
|
-
type ComponentTypes$
|
|
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$
|
|
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,6 +760,32 @@ 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
790
|
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost" | "neoBrutalism";
|
|
764
791
|
size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
|
|
@@ -1703,4 +1730,4 @@ declare function useToast(): {
|
|
|
1703
1730
|
toasts: ToasterToast[];
|
|
1704
1731
|
};
|
|
1705
1732
|
|
|
1706
|
-
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 };
|