@sikka/hawa 0.1.97 → 0.1.99
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 +5 -22
- package/dist/index.d.ts +5 -22
- package/dist/index.js +630 -933
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +962 -1264
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +0 -198
- package/package.json +1 -1
- package/src/elements/ActionCard.tsx +0 -1
- package/src/elements/AutoCompleteField.tsx +0 -1
- package/src/elements/Carousel.tsx +3 -4
- package/src/elements/Dialog.tsx +0 -1
- package/src/elements/DropdownMenu.tsx +1 -1
- package/src/elements/HawaAlert.tsx +0 -1
- package/src/elements/HawaButton.tsx +49 -90
- package/src/elements/HawaPricingCard.tsx +0 -1
- package/src/elements/HawaTable.tsx +0 -5
- package/src/elements/Input.tsx +0 -1
- package/src/elements/Label.tsx +0 -1
- package/src/elements/Popover.tsx +0 -1
- package/src/elements/Select.tsx +0 -1
- package/src/elements/Separator.tsx +0 -1
- package/src/elements/Tabs.tsx +0 -1
- package/src/elements/Toast.tsx +0 -1
- package/src/elements/UserFeedback.tsx +0 -1
- package/src/elements/UserReferralSource.tsx +1 -3
- package/src/elements/index.ts +0 -2
- package/src/layout/AppLayout.tsx +7 -3
- package/src/layout/Banner.tsx +3 -5
- package/src/layout/HawaAppLayout.tsx +1 -1
- package/src/layout/Sidebar.tsx +3 -3
- package/src/styles.css +0 -198
- package/archive/HawaSnackbar.tsx +0 -137
- package/archive/HawaSwitch.tsx +0 -41
- package/src/blocks/Account/HawaApiBox.tsx +0 -12
- package/src/elements/HawaDropdownMenu.tsx +0 -267
- package/src/elements/HawaTooltip.tsx +0 -137
package/dist/index.d.mts
CHANGED
|
@@ -271,17 +271,6 @@ type HawaPhoneInputTypes = {
|
|
|
271
271
|
};
|
|
272
272
|
declare const HawaPhoneInput: FC<HawaPhoneInputTypes>;
|
|
273
273
|
|
|
274
|
-
type THawaToolTip = {
|
|
275
|
-
children?: ReactElement;
|
|
276
|
-
content?: string;
|
|
277
|
-
btnHovered?: any;
|
|
278
|
-
buttonRef?: any;
|
|
279
|
-
direction?: "rtl" | "ltr";
|
|
280
|
-
size?: "normal" | "small" | "large";
|
|
281
|
-
position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
282
|
-
};
|
|
283
|
-
declare const HawaTooltip: FC<THawaToolTip>;
|
|
284
|
-
|
|
285
274
|
type TabsTypes$1 = {
|
|
286
275
|
options?: any;
|
|
287
276
|
onChangeTab?: (option: any) => void;
|
|
@@ -314,7 +303,7 @@ type ModalTypes = {
|
|
|
314
303
|
};
|
|
315
304
|
declare const HawaModal: FC<ModalTypes>;
|
|
316
305
|
|
|
317
|
-
interface TMenuTypes
|
|
306
|
+
interface TMenuTypes {
|
|
318
307
|
menuItems: MenuItems$1[][];
|
|
319
308
|
withHeader?: boolean;
|
|
320
309
|
headerTitle?: string;
|
|
@@ -335,13 +324,7 @@ type MenuItems$1 = {
|
|
|
335
324
|
isButton?: boolean;
|
|
336
325
|
element?: any;
|
|
337
326
|
};
|
|
338
|
-
declare const HawaMenu: FC<TMenuTypes
|
|
339
|
-
|
|
340
|
-
interface TMenuTypes {
|
|
341
|
-
children?: any;
|
|
342
|
-
direction?: "rtl" | "ltr";
|
|
343
|
-
}
|
|
344
|
-
declare const HawaDropdownMenu: FC<TMenuTypes>;
|
|
327
|
+
declare const HawaMenu: FC<TMenuTypes>;
|
|
345
328
|
|
|
346
329
|
type CopyRightsTypes = {
|
|
347
330
|
/** A text used as the version of the app, for example: v1.0.0 */
|
|
@@ -792,8 +775,8 @@ type ComponentTypes = {
|
|
|
792
775
|
declare const UserReferralSource: FC<ComponentTypes>;
|
|
793
776
|
|
|
794
777
|
declare const buttonVariants: (props?: {
|
|
795
|
-
variant?: "link" | "default" | "outline" | "light" | "
|
|
796
|
-
size?: "icon" | "default" | "sm" | "lg" | "xl" | "
|
|
778
|
+
variant?: "link" | "default" | "outline" | "light" | "destructive" | "secondary" | "ghost" | "neoBrutalism";
|
|
779
|
+
size?: "icon" | "default" | "sm" | "lg" | "xl" | "heightless" | "xs" | "smallIcon";
|
|
797
780
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
798
781
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
799
782
|
asChild?: boolean;
|
|
@@ -1734,4 +1717,4 @@ declare function useToast(): {
|
|
|
1734
1717
|
toasts: ToasterToast[];
|
|
1735
1718
|
};
|
|
1736
1719
|
|
|
1737
|
-
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,
|
|
1720
|
+
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, 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
|
@@ -271,17 +271,6 @@ type HawaPhoneInputTypes = {
|
|
|
271
271
|
};
|
|
272
272
|
declare const HawaPhoneInput: FC<HawaPhoneInputTypes>;
|
|
273
273
|
|
|
274
|
-
type THawaToolTip = {
|
|
275
|
-
children?: ReactElement;
|
|
276
|
-
content?: string;
|
|
277
|
-
btnHovered?: any;
|
|
278
|
-
buttonRef?: any;
|
|
279
|
-
direction?: "rtl" | "ltr";
|
|
280
|
-
size?: "normal" | "small" | "large";
|
|
281
|
-
position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
282
|
-
};
|
|
283
|
-
declare const HawaTooltip: FC<THawaToolTip>;
|
|
284
|
-
|
|
285
274
|
type TabsTypes$1 = {
|
|
286
275
|
options?: any;
|
|
287
276
|
onChangeTab?: (option: any) => void;
|
|
@@ -314,7 +303,7 @@ type ModalTypes = {
|
|
|
314
303
|
};
|
|
315
304
|
declare const HawaModal: FC<ModalTypes>;
|
|
316
305
|
|
|
317
|
-
interface TMenuTypes
|
|
306
|
+
interface TMenuTypes {
|
|
318
307
|
menuItems: MenuItems$1[][];
|
|
319
308
|
withHeader?: boolean;
|
|
320
309
|
headerTitle?: string;
|
|
@@ -335,13 +324,7 @@ type MenuItems$1 = {
|
|
|
335
324
|
isButton?: boolean;
|
|
336
325
|
element?: any;
|
|
337
326
|
};
|
|
338
|
-
declare const HawaMenu: FC<TMenuTypes
|
|
339
|
-
|
|
340
|
-
interface TMenuTypes {
|
|
341
|
-
children?: any;
|
|
342
|
-
direction?: "rtl" | "ltr";
|
|
343
|
-
}
|
|
344
|
-
declare const HawaDropdownMenu: FC<TMenuTypes>;
|
|
327
|
+
declare const HawaMenu: FC<TMenuTypes>;
|
|
345
328
|
|
|
346
329
|
type CopyRightsTypes = {
|
|
347
330
|
/** A text used as the version of the app, for example: v1.0.0 */
|
|
@@ -792,8 +775,8 @@ type ComponentTypes = {
|
|
|
792
775
|
declare const UserReferralSource: FC<ComponentTypes>;
|
|
793
776
|
|
|
794
777
|
declare const buttonVariants: (props?: {
|
|
795
|
-
variant?: "link" | "default" | "outline" | "light" | "
|
|
796
|
-
size?: "icon" | "default" | "sm" | "lg" | "xl" | "
|
|
778
|
+
variant?: "link" | "default" | "outline" | "light" | "destructive" | "secondary" | "ghost" | "neoBrutalism";
|
|
779
|
+
size?: "icon" | "default" | "sm" | "lg" | "xl" | "heightless" | "xs" | "smallIcon";
|
|
797
780
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
798
781
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
799
782
|
asChild?: boolean;
|
|
@@ -1734,4 +1717,4 @@ declare function useToast(): {
|
|
|
1734
1717
|
toasts: ToasterToast[];
|
|
1735
1718
|
};
|
|
1736
1719
|
|
|
1737
|
-
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,
|
|
1720
|
+
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, 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 };
|