@digilogiclabs/saas-factory-ui 0.13.0 → 0.13.1
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 +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +64 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +64 -1
- package/dist/index.mjs.map +1 -1
- package/dist/web/index.css.map +1 -1
- package/dist/web/index.d.mts +11 -2
- package/dist/web/index.d.ts +11 -2
- package/dist/web/index.js +64 -1
- package/dist/web/index.js.map +1 -1
- package/dist/web/index.mjs +64 -1
- package/dist/web/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -575,7 +575,7 @@ interface ResponsiveHeaderProps extends React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
575
575
|
children: React$1.ReactNode;
|
|
576
576
|
}
|
|
577
577
|
declare const ResponsiveHeader: React$1.ForwardRefExoticComponent<ResponsiveHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
578
|
-
interface HeaderBrandProps {
|
|
578
|
+
interface HeaderBrandProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
579
579
|
children: React$1.ReactNode;
|
|
580
580
|
className?: string;
|
|
581
581
|
href?: string;
|
|
@@ -679,8 +679,17 @@ declare const gridVariants: (props?: ({
|
|
|
679
679
|
align?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
680
680
|
justify?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
681
681
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
682
|
+
interface ResponsiveColumns {
|
|
683
|
+
base?: number;
|
|
684
|
+
sm?: number;
|
|
685
|
+
md?: number;
|
|
686
|
+
lg?: number;
|
|
687
|
+
xl?: number;
|
|
688
|
+
'2xl'?: number;
|
|
689
|
+
}
|
|
682
690
|
interface ResponsiveGridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
683
691
|
as?: React$1.ElementType;
|
|
692
|
+
columns?: ResponsiveColumns;
|
|
684
693
|
breakpoints?: {
|
|
685
694
|
mobile?: number;
|
|
686
695
|
tablet?: number;
|
|
@@ -1399,4 +1408,4 @@ type PlatformSelectMultiple<T> = {
|
|
|
1399
1408
|
default: T;
|
|
1400
1409
|
};
|
|
1401
1410
|
|
|
1402
|
-
export { ANIMATION_DURATION, Alert, AlertDescription, AlertTitle, AnimatedSectionTitle, type AnimatedSectionTitleProps, AudioPlayer, type AudioPlayerProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseTheme, type BorderRadiusScale, Button, type ButtonProps, type ButtonVariants, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type Column, type ComponentProps, Container$1 as Container, DataTable, type DataTableProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedScrollToTop, type EnhancedScrollToTopProps, ErrorAnimation, Form, FormDescription, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, FormSection, Grid$1 as Grid, GridItem, HamburgerIcon, type HamburgerIconProps, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputProps, type InputVariants, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type NativeComponentProps, Container as NativeContainer, Grid as NativeGrid, Section as NativeSection, type NativeStyle, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, OfflineWrapper, type OfflineWrapperProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination, PaginationInfo, type PaginationInfoProps, type PaginationProps, type Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, Preloader, type PreloaderProps, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, QuickForm, type RefreshState, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, SafeAreaWrapper, ScrollToTop, type ScrollToTopProps, Section$1 as Section, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, type SpacingScale, Stack, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, THEME_COLORS, Tabs, TabsContent, TabsList, TabsTrigger, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, type Track, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, VirtualScrollList, type VirtualScrollListProps, WarningAnimation, type WebComponentProps, type WebStyle, Z_INDEX, audioPlayerVariants, badgeVariants, buttonVariants, cn, containerVariants, contentVariants, disableScroll, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, getConfig, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, nativeConfig, platform, scaleIn, slideIn, stickyActionsVariants, theme, themes, useCache, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useTheme, validateEmail, validatePassword, videoPlayerVariants, webConfig, withNetworkAware, withPageTransition };
|
|
1411
|
+
export { ANIMATION_DURATION, Alert, AlertDescription, AlertTitle, AnimatedSectionTitle, type AnimatedSectionTitleProps, AudioPlayer, type AudioPlayerProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseTheme, type BorderRadiusScale, Button, type ButtonProps, type ButtonVariants, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type Column, type ComponentProps, Container$1 as Container, DataTable, type DataTableProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedScrollToTop, type EnhancedScrollToTopProps, ErrorAnimation, Form, FormDescription, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, FormSection, Grid$1 as Grid, GridItem, HamburgerIcon, type HamburgerIconProps, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputProps, type InputVariants, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type NativeComponentProps, Container as NativeContainer, Grid as NativeGrid, Section as NativeSection, type NativeStyle, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, OfflineWrapper, type OfflineWrapperProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination, PaginationInfo, type PaginationInfoProps, type PaginationProps, type Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, Preloader, type PreloaderProps, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, QuickForm, type RefreshState, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, SafeAreaWrapper, ScrollToTop, type ScrollToTopProps, Section$1 as Section, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, type SpacingScale, Stack, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, THEME_COLORS, Tabs, TabsContent, TabsList, TabsTrigger, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, type Track, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, VirtualScrollList, type VirtualScrollListProps, WarningAnimation, type WebComponentProps, type WebStyle, Z_INDEX, audioPlayerVariants, badgeVariants, buttonVariants, cn, containerVariants, contentVariants, disableScroll, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, getConfig, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, nativeConfig, platform, scaleIn, slideIn, stickyActionsVariants, theme, themes, useCache, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useTheme, validateEmail, validatePassword, videoPlayerVariants, webConfig, withNetworkAware, withPageTransition };
|
package/dist/index.d.ts
CHANGED
|
@@ -575,7 +575,7 @@ interface ResponsiveHeaderProps extends React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
575
575
|
children: React$1.ReactNode;
|
|
576
576
|
}
|
|
577
577
|
declare const ResponsiveHeader: React$1.ForwardRefExoticComponent<ResponsiveHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
578
|
-
interface HeaderBrandProps {
|
|
578
|
+
interface HeaderBrandProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
579
579
|
children: React$1.ReactNode;
|
|
580
580
|
className?: string;
|
|
581
581
|
href?: string;
|
|
@@ -679,8 +679,17 @@ declare const gridVariants: (props?: ({
|
|
|
679
679
|
align?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
680
680
|
justify?: "center" | "end" | "start" | "stretch" | null | undefined;
|
|
681
681
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
682
|
+
interface ResponsiveColumns {
|
|
683
|
+
base?: number;
|
|
684
|
+
sm?: number;
|
|
685
|
+
md?: number;
|
|
686
|
+
lg?: number;
|
|
687
|
+
xl?: number;
|
|
688
|
+
'2xl'?: number;
|
|
689
|
+
}
|
|
682
690
|
interface ResponsiveGridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridVariants> {
|
|
683
691
|
as?: React$1.ElementType;
|
|
692
|
+
columns?: ResponsiveColumns;
|
|
684
693
|
breakpoints?: {
|
|
685
694
|
mobile?: number;
|
|
686
695
|
tablet?: number;
|
|
@@ -1399,4 +1408,4 @@ type PlatformSelectMultiple<T> = {
|
|
|
1399
1408
|
default: T;
|
|
1400
1409
|
};
|
|
1401
1410
|
|
|
1402
|
-
export { ANIMATION_DURATION, Alert, AlertDescription, AlertTitle, AnimatedSectionTitle, type AnimatedSectionTitleProps, AudioPlayer, type AudioPlayerProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseTheme, type BorderRadiusScale, Button, type ButtonProps, type ButtonVariants, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type Column, type ComponentProps, Container$1 as Container, DataTable, type DataTableProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedScrollToTop, type EnhancedScrollToTopProps, ErrorAnimation, Form, FormDescription, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, FormSection, Grid$1 as Grid, GridItem, HamburgerIcon, type HamburgerIconProps, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputProps, type InputVariants, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type NativeComponentProps, Container as NativeContainer, Grid as NativeGrid, Section as NativeSection, type NativeStyle, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, OfflineWrapper, type OfflineWrapperProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination, PaginationInfo, type PaginationInfoProps, type PaginationProps, type Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, Preloader, type PreloaderProps, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, QuickForm, type RefreshState, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, SafeAreaWrapper, ScrollToTop, type ScrollToTopProps, Section$1 as Section, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, type SpacingScale, Stack, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, THEME_COLORS, Tabs, TabsContent, TabsList, TabsTrigger, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, type Track, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, VirtualScrollList, type VirtualScrollListProps, WarningAnimation, type WebComponentProps, type WebStyle, Z_INDEX, audioPlayerVariants, badgeVariants, buttonVariants, cn, containerVariants, contentVariants, disableScroll, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, getConfig, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, nativeConfig, platform, scaleIn, slideIn, stickyActionsVariants, theme, themes, useCache, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useTheme, validateEmail, validatePassword, videoPlayerVariants, webConfig, withNetworkAware, withPageTransition };
|
|
1411
|
+
export { ANIMATION_DURATION, Alert, AlertDescription, AlertTitle, AnimatedSectionTitle, type AnimatedSectionTitleProps, AudioPlayer, type AudioPlayerProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BaseTheme, type BorderRadiusScale, Button, type ButtonProps, type ButtonVariants, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type Column, type ComponentProps, Container$1 as Container, DataTable, type DataTableProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedScrollToTop, type EnhancedScrollToTopProps, ErrorAnimation, Form, FormDescription, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, FormSection, Grid$1 as Grid, GridItem, HamburgerIcon, type HamburgerIconProps, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputProps, type InputVariants, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type NativeComponentProps, Container as NativeContainer, Grid as NativeGrid, Section as NativeSection, type NativeStyle, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, OfflineWrapper, type OfflineWrapperProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination, PaginationInfo, type PaginationInfoProps, type PaginationProps, type Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, Preloader, type PreloaderProps, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, QuickForm, type RefreshState, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, SafeAreaWrapper, ScrollToTop, type ScrollToTopProps, Section$1 as Section, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, type SpacingScale, Stack, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, THEME_COLORS, Tabs, TabsContent, TabsList, TabsTrigger, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, type Track, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, VirtualScrollList, type VirtualScrollListProps, WarningAnimation, type WebComponentProps, type WebStyle, Z_INDEX, audioPlayerVariants, badgeVariants, buttonVariants, cn, containerVariants, contentVariants, disableScroll, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, getConfig, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, nativeConfig, platform, scaleIn, slideIn, stickyActionsVariants, theme, themes, useCache, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useTheme, validateEmail, validatePassword, videoPlayerVariants, webConfig, withNetworkAware, withPageTransition };
|
package/dist/index.js
CHANGED
|
@@ -4403,6 +4403,8 @@ var ResponsiveHeader = React23.forwardRef(
|
|
|
4403
4403
|
size,
|
|
4404
4404
|
maxWidth,
|
|
4405
4405
|
desktopBreakpoint = "md",
|
|
4406
|
+
mobileMenuPosition,
|
|
4407
|
+
showBrandOnMobile,
|
|
4406
4408
|
children,
|
|
4407
4409
|
...props
|
|
4408
4410
|
}, ref) => {
|
|
@@ -4845,6 +4847,7 @@ var ResponsiveGrid = React25.forwardRef(
|
|
|
4845
4847
|
({
|
|
4846
4848
|
className,
|
|
4847
4849
|
cols,
|
|
4850
|
+
columns,
|
|
4848
4851
|
gap,
|
|
4849
4852
|
align,
|
|
4850
4853
|
justify,
|
|
@@ -4856,12 +4859,72 @@ var ResponsiveGrid = React25.forwardRef(
|
|
|
4856
4859
|
const gridStyle = autoFit ? {
|
|
4857
4860
|
gridTemplateColumns: `repeat(auto-fit, minmax(${autoFit.minWidth}, ${autoFit.maxWidth || "1fr"}))`
|
|
4858
4861
|
} : void 0;
|
|
4862
|
+
const generateColumnClasses = (columns2) => {
|
|
4863
|
+
const classes = [];
|
|
4864
|
+
if (columns2.base) classes.push(`grid-cols-${columns2.base}`);
|
|
4865
|
+
if (columns2.sm) classes.push(`sm:grid-cols-${columns2.sm}`);
|
|
4866
|
+
if (columns2.md) classes.push(`md:grid-cols-${columns2.md}`);
|
|
4867
|
+
if (columns2.lg) classes.push(`lg:grid-cols-${columns2.lg}`);
|
|
4868
|
+
if (columns2.xl) classes.push(`xl:grid-cols-${columns2.xl}`);
|
|
4869
|
+
if (columns2["2xl"]) classes.push(`2xl:grid-cols-${columns2["2xl"]}`);
|
|
4870
|
+
return classes.join(" ");
|
|
4871
|
+
};
|
|
4872
|
+
const responsiveColumnClasses = columns ? generateColumnClasses(columns) : "";
|
|
4873
|
+
const getGapClass = (gapValue) => {
|
|
4874
|
+
if (typeof gapValue === "number") return `gap-${gapValue}`;
|
|
4875
|
+
const gapMap = {
|
|
4876
|
+
"0": "gap-0",
|
|
4877
|
+
"1": "gap-1",
|
|
4878
|
+
"2": "gap-2",
|
|
4879
|
+
"3": "gap-3",
|
|
4880
|
+
"4": "gap-4",
|
|
4881
|
+
"6": "gap-6",
|
|
4882
|
+
"8": "gap-8",
|
|
4883
|
+
"12": "gap-12",
|
|
4884
|
+
"2-4": "gap-2 sm:gap-4",
|
|
4885
|
+
"4-6": "gap-4 sm:gap-6",
|
|
4886
|
+
"4-8": "gap-4 sm:gap-8",
|
|
4887
|
+
"6-8": "gap-6 sm:gap-8"
|
|
4888
|
+
};
|
|
4889
|
+
return gapMap[gapValue] || `gap-${gapValue}`;
|
|
4890
|
+
};
|
|
4891
|
+
const getAlignClass = (alignValue) => {
|
|
4892
|
+
const alignMap = {
|
|
4893
|
+
start: "items-start",
|
|
4894
|
+
center: "items-center",
|
|
4895
|
+
end: "items-end",
|
|
4896
|
+
stretch: "items-stretch"
|
|
4897
|
+
};
|
|
4898
|
+
return alignMap[alignValue] || "";
|
|
4899
|
+
};
|
|
4900
|
+
const getJustifyClass = (justifyValue) => {
|
|
4901
|
+
const justifyMap = {
|
|
4902
|
+
start: "justify-items-start",
|
|
4903
|
+
center: "justify-items-center",
|
|
4904
|
+
end: "justify-items-end",
|
|
4905
|
+
stretch: "justify-items-stretch"
|
|
4906
|
+
};
|
|
4907
|
+
return justifyMap[justifyValue] || "";
|
|
4908
|
+
};
|
|
4859
4909
|
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4860
4910
|
Component,
|
|
4861
4911
|
{
|
|
4862
4912
|
ref,
|
|
4863
4913
|
className: cn(
|
|
4864
|
-
|
|
4914
|
+
"grid w-full",
|
|
4915
|
+
// Base grid classes
|
|
4916
|
+
!columns && !autoFit && gridVariants({ cols, gap, align, justify }),
|
|
4917
|
+
// Use variant system when columns not provided
|
|
4918
|
+
columns && !autoFit && [
|
|
4919
|
+
responsiveColumnClasses,
|
|
4920
|
+
// Use columns prop when provided
|
|
4921
|
+
gap && getGapClass(gap),
|
|
4922
|
+
// Apply gap when using columns prop
|
|
4923
|
+
align && getAlignClass(align),
|
|
4924
|
+
// Apply align when using columns prop
|
|
4925
|
+
justify && getJustifyClass(justify)
|
|
4926
|
+
// Apply justify when using columns prop
|
|
4927
|
+
].filter(Boolean).join(" "),
|
|
4865
4928
|
autoFit && "grid",
|
|
4866
4929
|
// Ensure grid class when using autoFit
|
|
4867
4930
|
className
|