@sikka/hawa 0.2.5-beta → 0.2.6-beta

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.
@@ -28,12 +28,7 @@ jobs:
28
28
  node-version: 16
29
29
  registry-url: https://registry.npmjs.org/
30
30
  - name: Install dependencies
31
- run: |
32
- if [ -e 'package-lock.json' ]; then
33
- npm ci
34
- else
35
- npm install
36
- fi
31
+ run: npm install
37
32
  - name: Build Library
38
33
  run: npm run build-up
39
34
  - name: Build Styles
package/dist/index.d.mts CHANGED
@@ -379,7 +379,7 @@ type TabsTypes = {
379
379
  declare const HawaCodeBlock: FC<CodeBlockTypes>;
380
380
 
381
381
  type LoadingTypes = {
382
- size?: "button" | "sm" | "normal" | "lg" | "xl";
382
+ size?: "button" | "xs" | "sm" | "normal" | "lg" | "xl";
383
383
  design?: "spinner" | "dots-bounce" | "dots-pulse" | "pulse" | "spinner-dots";
384
384
  color?: any;
385
385
  };
@@ -499,7 +499,7 @@ type InvoiceAccordionTypes = {
499
499
  };
500
500
  declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
501
501
 
502
- type ComponentTypes$4 = {
502
+ type ComponentTypes$5 = {
503
503
  title?: string;
504
504
  question: string;
505
505
  options?: [];
@@ -510,7 +510,13 @@ type ComponentTypes$4 = {
510
510
  position?: "bottom-right" | "bottom-left";
511
511
  onOptionClicked?: (option: any) => void;
512
512
  };
513
- declare const UserFeedback: FC<ComponentTypes$4>;
513
+ declare const FeedbackRating: FC<ComponentTypes$5>;
514
+
515
+ type ComponentTypes$4 = {
516
+ handleSubmit: ({}: {}) => void;
517
+ showSuccess?: boolean;
518
+ };
519
+ declare const FeedbackByEmoji: FC<ComponentTypes$4>;
514
520
 
515
521
  type Item$2 = {
516
522
  label?: string;
@@ -801,7 +807,7 @@ declare const Icons: {
801
807
 
802
808
  declare const buttonVariants: (props?: {
803
809
  variant?: "link" | "default" | "outline" | "light" | "destructive" | "secondary" | "ghost" | "neoBrutalism";
804
- size?: "icon" | "default" | "sm" | "lg" | "xl" | "heightless" | "xs" | "smallIcon";
810
+ size?: "icon" | "default" | "sm" | "lg" | "xs" | "xl" | "heightless" | "smallIcon";
805
811
  } & class_variance_authority_dist_types.ClassProp) => string;
806
812
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
807
813
  asChild?: boolean;
@@ -863,6 +869,7 @@ interface PopoverProps {
863
869
  children: React$1.ReactNode;
864
870
  className?: string;
865
871
  sideOffset?: number;
872
+ open?: boolean;
866
873
  }
867
874
  declare const Popover: React$1.FC<PopoverProps>;
868
875
 
@@ -875,6 +882,7 @@ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
875
882
 
876
883
  interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
877
884
  label?: string;
885
+ helperText?: string;
878
886
  }
879
887
  declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
880
888
 
@@ -1095,7 +1103,7 @@ type FooterTypes = {
1095
1103
  }[];
1096
1104
  }[];
1097
1105
  };
1098
- declare const Footer: React.FunctionComponent<FooterTypes>;
1106
+ declare const Footer: React__default.FunctionComponent<FooterTypes>;
1099
1107
 
1100
1108
  type BannerTypes = {
1101
1109
  showBanner?: boolean;
@@ -1796,4 +1804,4 @@ interface ScrollPosition {
1796
1804
  declare function scrollTo({ x, y }: Partial<ScrollPosition>): void;
1797
1805
  declare function useWindowScroll(): readonly [ScrollPosition, typeof scrollTo];
1798
1806
 
1799
- 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, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTypography, HorizontalPricing, Icons, 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, UseFocusWithinOptions, UseMediaQueryOptions, UserFeedback, UserProfileForm, UserReferralSource, UserSettingsForm, buttonVariants, reducer, toast, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowEvent, useWindowScroll };
1807
+ 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, FeedbackByEmoji, FeedbackRating, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTypography, HorizontalPricing, Icons, 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, UseFocusWithinOptions, UseMediaQueryOptions, UserProfileForm, UserReferralSource, UserSettingsForm, buttonVariants, reducer, toast, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowEvent, useWindowScroll };
package/dist/index.d.ts CHANGED
@@ -379,7 +379,7 @@ type TabsTypes = {
379
379
  declare const HawaCodeBlock: FC<CodeBlockTypes>;
380
380
 
381
381
  type LoadingTypes = {
382
- size?: "button" | "sm" | "normal" | "lg" | "xl";
382
+ size?: "button" | "xs" | "sm" | "normal" | "lg" | "xl";
383
383
  design?: "spinner" | "dots-bounce" | "dots-pulse" | "pulse" | "spinner-dots";
384
384
  color?: any;
385
385
  };
@@ -499,7 +499,7 @@ type InvoiceAccordionTypes = {
499
499
  };
500
500
  declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
501
501
 
502
- type ComponentTypes$4 = {
502
+ type ComponentTypes$5 = {
503
503
  title?: string;
504
504
  question: string;
505
505
  options?: [];
@@ -510,7 +510,13 @@ type ComponentTypes$4 = {
510
510
  position?: "bottom-right" | "bottom-left";
511
511
  onOptionClicked?: (option: any) => void;
512
512
  };
513
- declare const UserFeedback: FC<ComponentTypes$4>;
513
+ declare const FeedbackRating: FC<ComponentTypes$5>;
514
+
515
+ type ComponentTypes$4 = {
516
+ handleSubmit: ({}: {}) => void;
517
+ showSuccess?: boolean;
518
+ };
519
+ declare const FeedbackByEmoji: FC<ComponentTypes$4>;
514
520
 
515
521
  type Item$2 = {
516
522
  label?: string;
@@ -801,7 +807,7 @@ declare const Icons: {
801
807
 
802
808
  declare const buttonVariants: (props?: {
803
809
  variant?: "link" | "default" | "outline" | "light" | "destructive" | "secondary" | "ghost" | "neoBrutalism";
804
- size?: "icon" | "default" | "sm" | "lg" | "xl" | "heightless" | "xs" | "smallIcon";
810
+ size?: "icon" | "default" | "sm" | "lg" | "xs" | "xl" | "heightless" | "smallIcon";
805
811
  } & class_variance_authority_dist_types.ClassProp) => string;
806
812
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
807
813
  asChild?: boolean;
@@ -863,6 +869,7 @@ interface PopoverProps {
863
869
  children: React$1.ReactNode;
864
870
  className?: string;
865
871
  sideOffset?: number;
872
+ open?: boolean;
866
873
  }
867
874
  declare const Popover: React$1.FC<PopoverProps>;
868
875
 
@@ -875,6 +882,7 @@ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
875
882
 
876
883
  interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
877
884
  label?: string;
885
+ helperText?: string;
878
886
  }
879
887
  declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
880
888
 
@@ -1095,7 +1103,7 @@ type FooterTypes = {
1095
1103
  }[];
1096
1104
  }[];
1097
1105
  };
1098
- declare const Footer: React.FunctionComponent<FooterTypes>;
1106
+ declare const Footer: React__default.FunctionComponent<FooterTypes>;
1099
1107
 
1100
1108
  type BannerTypes = {
1101
1109
  showBanner?: boolean;
@@ -1796,4 +1804,4 @@ interface ScrollPosition {
1796
1804
  declare function scrollTo({ x, y }: Partial<ScrollPosition>): void;
1797
1805
  declare function useWindowScroll(): readonly [ScrollPosition, typeof scrollTo];
1798
1806
 
1799
- 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, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTypography, HorizontalPricing, Icons, 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, UseFocusWithinOptions, UseMediaQueryOptions, UserFeedback, UserProfileForm, UserReferralSource, UserSettingsForm, buttonVariants, reducer, toast, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowEvent, useWindowScroll };
1807
+ 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, FeedbackByEmoji, FeedbackRating, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTypography, HorizontalPricing, Icons, 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, UseFocusWithinOptions, UseMediaQueryOptions, UserProfileForm, UserReferralSource, UserSettingsForm, buttonVariants, reducer, toast, useClipboard, useFocusWithin, useMediaQuery, useTabs, useToast, useWindowEvent, useWindowScroll };