@momo-webplatform/mobase 0.2.64 → 0.2.65
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/cjs/index.cjs +14 -14
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +26 -11
- package/dist/esm/index.d.ts +26 -11
- package/dist/esm/index.js +15 -15
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1825,28 +1825,43 @@ interface PaymentMethodsProps {
|
|
|
1825
1825
|
isLoading?: boolean;
|
|
1826
1826
|
paymentMethods: PaymentMethodsItemsProps[];
|
|
1827
1827
|
onSelectPaymentMethod: (value: string) => void;
|
|
1828
|
+
defaultPaymentMethod?: string;
|
|
1828
1829
|
}
|
|
1829
1830
|
interface IPayment {
|
|
1830
1831
|
className?: string;
|
|
1831
1832
|
children: React.ReactNode;
|
|
1832
|
-
type?: "default" | "modal";
|
|
1833
1833
|
title?: string;
|
|
1834
|
-
open?: boolean;
|
|
1835
|
-
actionButton?: React.ReactNode;
|
|
1836
|
-
onOpenChange?: (open: boolean) => void;
|
|
1837
1834
|
}
|
|
1838
|
-
interface IPaymentAction extends ButtonsBlockProps {
|
|
1839
|
-
children?: React.ReactNode;
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
declare const PaymentAction: React$1.ForwardRefExoticComponent<IPaymentAction & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1843
1835
|
|
|
1844
1836
|
declare const PaymentInvoice: React$1.ForwardRefExoticComponent<PaymentInvoiceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1845
1837
|
|
|
1846
|
-
declare const PaymentMethods: ({ title, paymentMethods, isLoading, onSelectPaymentMethod, }: PaymentMethodsProps) => react_jsx_runtime.JSX.Element;
|
|
1838
|
+
declare const PaymentMethods: ({ title, paymentMethods, isLoading, onSelectPaymentMethod, defaultPaymentMethod, }: PaymentMethodsProps) => react_jsx_runtime.JSX.Element;
|
|
1847
1839
|
|
|
1848
1840
|
declare const Payment: React$1.ForwardRefExoticComponent<IPayment & React$1.RefAttributes<HTMLDivElement>>;
|
|
1849
1841
|
|
|
1842
|
+
interface PaymentResultContentProps {
|
|
1843
|
+
children: React.ReactNode;
|
|
1844
|
+
className?: string;
|
|
1845
|
+
}
|
|
1846
|
+
interface PaymentResultFooterProps {
|
|
1847
|
+
children: React.ReactNode;
|
|
1848
|
+
className?: string;
|
|
1849
|
+
}
|
|
1850
|
+
interface PaymentResultProps {
|
|
1851
|
+
status: "success" | "failed" | "pending" | "error";
|
|
1852
|
+
title: string;
|
|
1853
|
+
message?: string;
|
|
1854
|
+
className?: string;
|
|
1855
|
+
iconPaymentResult?: React.ReactNode;
|
|
1856
|
+
children?: React.ReactNode;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
declare const PaymentResultFooter: React$1.ForwardRefExoticComponent<PaymentResultFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1860
|
+
|
|
1861
|
+
declare const PaymentResultContent: React$1.ForwardRefExoticComponent<PaymentResultContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1862
|
+
|
|
1863
|
+
declare const PaymentResult: React$1.ForwardRefExoticComponent<PaymentResultProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1864
|
+
|
|
1850
1865
|
/**
|
|
1851
1866
|
* This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
|
|
1852
1867
|
*
|
|
@@ -1860,4 +1875,4 @@ declare const mobaseTW: () => {
|
|
|
1860
1875
|
|
|
1861
1876
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
1862
1877
|
|
|
1863
|
-
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, type DatePickerProps, DateSelect, type DateSelectProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IPayment, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Payment,
|
|
1878
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, type DatePickerProps, DateSelect, type DateSelectProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IPayment, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Payment, PaymentInvoice, PaymentMethods, PaymentResult, PaymentResultContent, PaymentResultFooter, type PaymentResultProps, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Skeleton, Slider, SocialProofSection, type SocialProofSectionProps, Spinner, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialSection, type TestimonialSectionProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useFormField, useToast };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1825,28 +1825,43 @@ interface PaymentMethodsProps {
|
|
|
1825
1825
|
isLoading?: boolean;
|
|
1826
1826
|
paymentMethods: PaymentMethodsItemsProps[];
|
|
1827
1827
|
onSelectPaymentMethod: (value: string) => void;
|
|
1828
|
+
defaultPaymentMethod?: string;
|
|
1828
1829
|
}
|
|
1829
1830
|
interface IPayment {
|
|
1830
1831
|
className?: string;
|
|
1831
1832
|
children: React.ReactNode;
|
|
1832
|
-
type?: "default" | "modal";
|
|
1833
1833
|
title?: string;
|
|
1834
|
-
open?: boolean;
|
|
1835
|
-
actionButton?: React.ReactNode;
|
|
1836
|
-
onOpenChange?: (open: boolean) => void;
|
|
1837
1834
|
}
|
|
1838
|
-
interface IPaymentAction extends ButtonsBlockProps {
|
|
1839
|
-
children?: React.ReactNode;
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
declare const PaymentAction: React$1.ForwardRefExoticComponent<IPaymentAction & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1843
1835
|
|
|
1844
1836
|
declare const PaymentInvoice: React$1.ForwardRefExoticComponent<PaymentInvoiceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1845
1837
|
|
|
1846
|
-
declare const PaymentMethods: ({ title, paymentMethods, isLoading, onSelectPaymentMethod, }: PaymentMethodsProps) => react_jsx_runtime.JSX.Element;
|
|
1838
|
+
declare const PaymentMethods: ({ title, paymentMethods, isLoading, onSelectPaymentMethod, defaultPaymentMethod, }: PaymentMethodsProps) => react_jsx_runtime.JSX.Element;
|
|
1847
1839
|
|
|
1848
1840
|
declare const Payment: React$1.ForwardRefExoticComponent<IPayment & React$1.RefAttributes<HTMLDivElement>>;
|
|
1849
1841
|
|
|
1842
|
+
interface PaymentResultContentProps {
|
|
1843
|
+
children: React.ReactNode;
|
|
1844
|
+
className?: string;
|
|
1845
|
+
}
|
|
1846
|
+
interface PaymentResultFooterProps {
|
|
1847
|
+
children: React.ReactNode;
|
|
1848
|
+
className?: string;
|
|
1849
|
+
}
|
|
1850
|
+
interface PaymentResultProps {
|
|
1851
|
+
status: "success" | "failed" | "pending" | "error";
|
|
1852
|
+
title: string;
|
|
1853
|
+
message?: string;
|
|
1854
|
+
className?: string;
|
|
1855
|
+
iconPaymentResult?: React.ReactNode;
|
|
1856
|
+
children?: React.ReactNode;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
declare const PaymentResultFooter: React$1.ForwardRefExoticComponent<PaymentResultFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1860
|
+
|
|
1861
|
+
declare const PaymentResultContent: React$1.ForwardRefExoticComponent<PaymentResultContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1862
|
+
|
|
1863
|
+
declare const PaymentResult: React$1.ForwardRefExoticComponent<PaymentResultProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1864
|
+
|
|
1850
1865
|
/**
|
|
1851
1866
|
* This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
|
|
1852
1867
|
*
|
|
@@ -1860,4 +1875,4 @@ declare const mobaseTW: () => {
|
|
|
1860
1875
|
|
|
1861
1876
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
1862
1877
|
|
|
1863
|
-
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, type DatePickerProps, DateSelect, type DateSelectProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IPayment, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Payment,
|
|
1878
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, BlogSection, type BlogSectionProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CTASection, type CTASectionProps, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, type ContentsProps, type DataFAQProps, DatePicker, type DatePickerProps, DateSelect, type DateSelectProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FAQSection, type FAQSectionProps, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GuideSection, type GuideSectionProps, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, HorizontalContent, HorizontalNext, HorizontalPrevious, HorizontalScroll, type HorizontalScrollProps, HowItWorksSection, type HowItWorksSectionProps, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IPayment, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, MetricsSection, type MetricsSectionProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, type NewsSectionProps, Pagination, Payment, PaymentInvoice, PaymentMethods, PaymentResult, PaymentResultContent, PaymentResultFooter, type PaymentResultProps, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Skeleton, Slider, SocialProofSection, type SocialProofSectionProps, Spinner, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialSection, type TestimonialSectionProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useFormField, useToast };
|