@momo-webplatform/mobase 0.2.20 → 0.2.21

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.
@@ -249,6 +249,99 @@ interface IconButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement
249
249
  }
250
250
  declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
251
251
 
252
+ interface HeadingGroupProps {
253
+ /**
254
+ * CSS class to be appended to the root element.
255
+ */
256
+ className?: string;
257
+ /**
258
+ * Heading group alignment.
259
+ */
260
+ align?: "left" | "center" | "right";
261
+ /**
262
+ * The children of the HeadingGroup, which could include TagLine, Heading, Heading sub,..
263
+ */
264
+ children?: React__default.ReactNode;
265
+ }
266
+ interface HeadingTaglineProps {
267
+ /**
268
+ * Tagline color.
269
+ */
270
+ color?: "regular" | "pink" | "white";
271
+ /**
272
+ * Tagline size.
273
+ */
274
+ size?: "small" | "large";
275
+ /**
276
+ * Tagline use truncate.
277
+ */
278
+ isTruncated?: boolean;
279
+ /**
280
+ * CSS class to be appended to the root element.
281
+ */
282
+ className?: string;
283
+ /**
284
+ * The children of the Tagline.
285
+ */
286
+ children?: React__default.ReactNode;
287
+ }
288
+ interface HeadingProps {
289
+ /**
290
+ * Shorthand for changing the default rendered element into a semantically appropriate alternative.
291
+ */
292
+ as: "h1" | "h2";
293
+ /**
294
+ * Heading color.
295
+ */
296
+ color?: "regular" | "pink" | "white";
297
+ /**
298
+ * Heading size.
299
+ */
300
+ size?: "small" | "large";
301
+ /**
302
+ * Heading use truncate.
303
+ */
304
+ isTruncated?: boolean;
305
+ /**
306
+ * CSS class to be appended to the root element.
307
+ */
308
+ className?: string;
309
+ /**
310
+ * The children of the Heading.
311
+ */
312
+ children?: React__default.ReactNode;
313
+ }
314
+ interface HeadingSubProps {
315
+ /**
316
+ * Sub heading color.
317
+ */
318
+ color?: "regular" | "white";
319
+ /**
320
+ * Sub heading size.
321
+ */
322
+ size?: "small" | "large";
323
+ /**
324
+ * Sub heading margin top: none: 0px, spacingX: 8px, spacingM: 12px, spacingL: 16px, spacingXl: 20px, spacing2Xl: 24px
325
+ */
326
+ marginTop?: "none" | "spacingX" | "spacingM" | "spacingL" | "spacingXl" | "spacing2Xl";
327
+ /**
328
+ * Sub heading use truncate.
329
+ */
330
+ isTruncated?: boolean;
331
+ /**
332
+ * CSS class to be appended to the root element.
333
+ */
334
+ className?: string;
335
+ /**
336
+ * The children of the Heading sub.
337
+ */
338
+ children?: React__default.ReactNode;
339
+ }
340
+ declare const HeadingTagline: ({ color, size, isTruncated, className, children, }: HeadingTaglineProps) => react_jsx_runtime.JSX.Element;
341
+ declare const Heading: ({ as, size, color, isTruncated, className, children, }: HeadingProps) => react_jsx_runtime.JSX.Element;
342
+ declare const HeadingSub: ({ color, size, marginTop, isTruncated, className, children, }: HeadingSubProps) => react_jsx_runtime.JSX.Element;
343
+ declare const HeadingGroup: ({ className, align, children, }: HeadingGroupProps) => react_jsx_runtime.JSX.Element;
344
+
252
345
  interface PaginationProps {
253
346
  /**
254
347
  * Current page.
@@ -738,4 +831,4 @@ declare const mobaseTW: () => {
738
831
 
739
832
  declare const SiteMeta: react_jsx_runtime.JSX.Element;
740
833
 
741
- 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, Footer, HeaderNavigation, HeroSection, IconButton, type IconButtonProps, Indicator, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, Root, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, 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 };
834
+ 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, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, HeroSection, IconButton, type IconButtonProps, Indicator, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, Root, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, 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 };
@@ -249,6 +249,99 @@ interface IconButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement
249
249
  }
250
250
  declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
251
251
 
252
+ interface HeadingGroupProps {
253
+ /**
254
+ * CSS class to be appended to the root element.
255
+ */
256
+ className?: string;
257
+ /**
258
+ * Heading group alignment.
259
+ */
260
+ align?: "left" | "center" | "right";
261
+ /**
262
+ * The children of the HeadingGroup, which could include TagLine, Heading, Heading sub,..
263
+ */
264
+ children?: React__default.ReactNode;
265
+ }
266
+ interface HeadingTaglineProps {
267
+ /**
268
+ * Tagline color.
269
+ */
270
+ color?: "regular" | "pink" | "white";
271
+ /**
272
+ * Tagline size.
273
+ */
274
+ size?: "small" | "large";
275
+ /**
276
+ * Tagline use truncate.
277
+ */
278
+ isTruncated?: boolean;
279
+ /**
280
+ * CSS class to be appended to the root element.
281
+ */
282
+ className?: string;
283
+ /**
284
+ * The children of the Tagline.
285
+ */
286
+ children?: React__default.ReactNode;
287
+ }
288
+ interface HeadingProps {
289
+ /**
290
+ * Shorthand for changing the default rendered element into a semantically appropriate alternative.
291
+ */
292
+ as: "h1" | "h2";
293
+ /**
294
+ * Heading color.
295
+ */
296
+ color?: "regular" | "pink" | "white";
297
+ /**
298
+ * Heading size.
299
+ */
300
+ size?: "small" | "large";
301
+ /**
302
+ * Heading use truncate.
303
+ */
304
+ isTruncated?: boolean;
305
+ /**
306
+ * CSS class to be appended to the root element.
307
+ */
308
+ className?: string;
309
+ /**
310
+ * The children of the Heading.
311
+ */
312
+ children?: React__default.ReactNode;
313
+ }
314
+ interface HeadingSubProps {
315
+ /**
316
+ * Sub heading color.
317
+ */
318
+ color?: "regular" | "white";
319
+ /**
320
+ * Sub heading size.
321
+ */
322
+ size?: "small" | "large";
323
+ /**
324
+ * Sub heading margin top: none: 0px, spacingX: 8px, spacingM: 12px, spacingL: 16px, spacingXl: 20px, spacing2Xl: 24px
325
+ */
326
+ marginTop?: "none" | "spacingX" | "spacingM" | "spacingL" | "spacingXl" | "spacing2Xl";
327
+ /**
328
+ * Sub heading use truncate.
329
+ */
330
+ isTruncated?: boolean;
331
+ /**
332
+ * CSS class to be appended to the root element.
333
+ */
334
+ className?: string;
335
+ /**
336
+ * The children of the Heading sub.
337
+ */
338
+ children?: React__default.ReactNode;
339
+ }
340
+ declare const HeadingTagline: ({ color, size, isTruncated, className, children, }: HeadingTaglineProps) => react_jsx_runtime.JSX.Element;
341
+ declare const Heading: ({ as, size, color, isTruncated, className, children, }: HeadingProps) => react_jsx_runtime.JSX.Element;
342
+ declare const HeadingSub: ({ color, size, marginTop, isTruncated, className, children, }: HeadingSubProps) => react_jsx_runtime.JSX.Element;
343
+ declare const HeadingGroup: ({ className, align, children, }: HeadingGroupProps) => react_jsx_runtime.JSX.Element;
344
+
252
345
  interface PaginationProps {
253
346
  /**
254
347
  * Current page.
@@ -738,4 +831,4 @@ declare const mobaseTW: () => {
738
831
 
739
832
  declare const SiteMeta: react_jsx_runtime.JSX.Element;
740
833
 
741
- 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, Footer, HeaderNavigation, HeroSection, IconButton, type IconButtonProps, Indicator, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, Root, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, 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 };
834
+ 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, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, HeroSection, IconButton, type IconButtonProps, Indicator, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, Root, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, 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 };