@momo-webplatform/mobase 0.2.2 → 0.2.4
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 +271 -6543
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1 -65
- package/dist/esm/index.d.ts +1 -65
- package/dist/esm/index.js +271 -5997
- package/dist/esm/index.js.map +1 -1
- package/package.json +20 -17
package/dist/cjs/index.d.cts
CHANGED
|
@@ -413,70 +413,6 @@ interface RadioGroupProps extends VariantProps<typeof radioGroupVariants> {
|
|
|
413
413
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
414
414
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
415
415
|
|
|
416
|
-
interface ComponentData {
|
|
417
|
-
title: string;
|
|
418
|
-
icon: string;
|
|
419
|
-
url: string;
|
|
420
|
-
description: string;
|
|
421
|
-
newTab: boolean;
|
|
422
|
-
}
|
|
423
|
-
interface MainNavItemWithDropdown {
|
|
424
|
-
id: number;
|
|
425
|
-
title: string;
|
|
426
|
-
hasDropdown: boolean;
|
|
427
|
-
dropDownCompact: boolean;
|
|
428
|
-
subMenu: ComponentData[];
|
|
429
|
-
}
|
|
430
|
-
interface MainNavItemWithoutDropdown {
|
|
431
|
-
id: number;
|
|
432
|
-
title: string;
|
|
433
|
-
hasDropdown: boolean;
|
|
434
|
-
url: string;
|
|
435
|
-
newTab: boolean;
|
|
436
|
-
}
|
|
437
|
-
type MainNavItem = MainNavItemWithDropdown | MainNavItemWithoutDropdown;
|
|
438
|
-
interface ServiceInfo {
|
|
439
|
-
logo?: string;
|
|
440
|
-
name?: string;
|
|
441
|
-
url: string;
|
|
442
|
-
}
|
|
443
|
-
interface HeaderProps {
|
|
444
|
-
/**
|
|
445
|
-
* CSS class to be appended to the root element.
|
|
446
|
-
*/
|
|
447
|
-
className?: string;
|
|
448
|
-
/**
|
|
449
|
-
* Data menu
|
|
450
|
-
*/
|
|
451
|
-
dataMenu: MainNavItem[];
|
|
452
|
-
/**
|
|
453
|
-
* Service info
|
|
454
|
-
*/
|
|
455
|
-
serviceInfo: ServiceInfo;
|
|
456
|
-
}
|
|
457
|
-
declare const Header: React$1.MemoExoticComponent<({ className, dataMenu, serviceInfo }: HeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
458
|
-
|
|
459
|
-
interface FooterItem {
|
|
460
|
-
title: string;
|
|
461
|
-
url: string;
|
|
462
|
-
newTab: boolean;
|
|
463
|
-
}
|
|
464
|
-
interface FooterData {
|
|
465
|
-
heading: string;
|
|
466
|
-
lists: FooterItem[];
|
|
467
|
-
}
|
|
468
|
-
interface footerProps {
|
|
469
|
-
/**
|
|
470
|
-
* CSS class to be appended to the root element.
|
|
471
|
-
*/
|
|
472
|
-
className?: string;
|
|
473
|
-
/**
|
|
474
|
-
* Data menu
|
|
475
|
-
*/
|
|
476
|
-
dataMenu?: FooterData;
|
|
477
|
-
}
|
|
478
|
-
declare const Footer: React$1.MemoExoticComponent<({ className, dataMenu }: footerProps) => react_jsx_runtime.JSX.Element>;
|
|
479
|
-
|
|
480
416
|
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
481
417
|
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
482
418
|
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -719,4 +655,4 @@ declare const mobaseTW: () => {
|
|
|
719
655
|
|
|
720
656
|
declare const SiteMeta: () => react_jsx_runtime.JSX.Element;
|
|
721
657
|
|
|
722
|
-
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, 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, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, ChoiceboxGroup, ChoiceboxGroupItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, DialogTitle, DialogTrigger,
|
|
658
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, 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, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, ChoiceboxGroup, ChoiceboxGroupItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, DialogTitle, DialogTrigger, HeroSection, IconButton, type IconButtonProps, Indicator, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, Root, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, createCheckboxScope, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -413,70 +413,6 @@ interface RadioGroupProps extends VariantProps<typeof radioGroupVariants> {
|
|
|
413
413
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
414
414
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
415
415
|
|
|
416
|
-
interface ComponentData {
|
|
417
|
-
title: string;
|
|
418
|
-
icon: string;
|
|
419
|
-
url: string;
|
|
420
|
-
description: string;
|
|
421
|
-
newTab: boolean;
|
|
422
|
-
}
|
|
423
|
-
interface MainNavItemWithDropdown {
|
|
424
|
-
id: number;
|
|
425
|
-
title: string;
|
|
426
|
-
hasDropdown: boolean;
|
|
427
|
-
dropDownCompact: boolean;
|
|
428
|
-
subMenu: ComponentData[];
|
|
429
|
-
}
|
|
430
|
-
interface MainNavItemWithoutDropdown {
|
|
431
|
-
id: number;
|
|
432
|
-
title: string;
|
|
433
|
-
hasDropdown: boolean;
|
|
434
|
-
url: string;
|
|
435
|
-
newTab: boolean;
|
|
436
|
-
}
|
|
437
|
-
type MainNavItem = MainNavItemWithDropdown | MainNavItemWithoutDropdown;
|
|
438
|
-
interface ServiceInfo {
|
|
439
|
-
logo?: string;
|
|
440
|
-
name?: string;
|
|
441
|
-
url: string;
|
|
442
|
-
}
|
|
443
|
-
interface HeaderProps {
|
|
444
|
-
/**
|
|
445
|
-
* CSS class to be appended to the root element.
|
|
446
|
-
*/
|
|
447
|
-
className?: string;
|
|
448
|
-
/**
|
|
449
|
-
* Data menu
|
|
450
|
-
*/
|
|
451
|
-
dataMenu: MainNavItem[];
|
|
452
|
-
/**
|
|
453
|
-
* Service info
|
|
454
|
-
*/
|
|
455
|
-
serviceInfo: ServiceInfo;
|
|
456
|
-
}
|
|
457
|
-
declare const Header: React$1.MemoExoticComponent<({ className, dataMenu, serviceInfo }: HeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
458
|
-
|
|
459
|
-
interface FooterItem {
|
|
460
|
-
title: string;
|
|
461
|
-
url: string;
|
|
462
|
-
newTab: boolean;
|
|
463
|
-
}
|
|
464
|
-
interface FooterData {
|
|
465
|
-
heading: string;
|
|
466
|
-
lists: FooterItem[];
|
|
467
|
-
}
|
|
468
|
-
interface footerProps {
|
|
469
|
-
/**
|
|
470
|
-
* CSS class to be appended to the root element.
|
|
471
|
-
*/
|
|
472
|
-
className?: string;
|
|
473
|
-
/**
|
|
474
|
-
* Data menu
|
|
475
|
-
*/
|
|
476
|
-
dataMenu?: FooterData;
|
|
477
|
-
}
|
|
478
|
-
declare const Footer: React$1.MemoExoticComponent<({ className, dataMenu }: footerProps) => react_jsx_runtime.JSX.Element>;
|
|
479
|
-
|
|
480
416
|
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
481
417
|
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
482
418
|
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -719,4 +655,4 @@ declare const mobaseTW: () => {
|
|
|
719
655
|
|
|
720
656
|
declare const SiteMeta: () => react_jsx_runtime.JSX.Element;
|
|
721
657
|
|
|
722
|
-
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, 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, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, ChoiceboxGroup, ChoiceboxGroupItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, DialogTitle, DialogTrigger,
|
|
658
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, 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, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, ChoiceboxGroup, ChoiceboxGroupItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, DialogTitle, DialogTrigger, HeroSection, IconButton, type IconButtonProps, Indicator, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, Root, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, createCheckboxScope, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|