@blinkdotnew/mobile-ui 2.0.0-alpha.12 → 2.0.0-alpha.13

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 CHANGED
@@ -814,4 +814,91 @@ type GlassCardProps = {
814
814
  };
815
815
  declare function GlassCard({ children, intensity, tint, borderRadius, padding, elevated, }: GlassCardProps): react_jsx_runtime.JSX.Element;
816
816
 
817
- export { ActionSheet, type ActionSheetItem, type ActionSheetProps, AppHeader, type AppHeaderProps, type AppHeaderVariant, type AuthProvider, AvatarGroup, type AvatarGroupProps, Badge, type BadgeProps, BlinkAccordion, type BlinkAccordionItem, type BlinkAccordionProps, Avatar as BlinkAvatar, type AvatarProps as BlinkAvatarProps, Button as BlinkButton, type ButtonProps as BlinkButtonProps, Card as BlinkCard, type CardProps as BlinkCardProps, type BlinkConfig, Input as BlinkInput, type InputProps as BlinkInputProps, type BlinkTabItem, BlinkTabs, type BlinkTabsProps, BlinkText, type BlinkTextProps, type BlinkToastContextType, type BlinkToastData, type BlinkToastOptions, BlinkToastProvider, type BlinkToastVariant, BlinkToggleGroup, type BlinkToggleGroupProps, type BlinkToggleOption, BlinkTooltip, BottomSheet, type BottomSheetProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, Chip, ChipGroup, type ChipGroupProps, type ChipProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, CountdownBanner, type CountdownBannerProps, DialogProvider, Divider, type DividerProps, EmptyState, type EmptyStateProps, type FABProps, FloatingActionButton, FormField, type FormFieldProps, GlassCard, type GlassCardProps, Grid, type GridProps, ICONS, Icon, type IconName, type IconProps, Image, KeyboardStickyFooter, type KeyboardStickyFooterProps, ListItem, type ListItemProps, LoginScreen, type LoginScreenProps, MediaCard, type MediaCardProps, NotificationBanner, type NotificationBannerProps, OTPInput, type OTPInputProps, OnboardingCarousel, type OnboardingCarouselProps, type OnboardingStep, PageContainer, PageMainContainer, PasswordInput, type PasswordInputProps, PaywallScreen, type PaywallScreenProps, type PlanOption, Pressable, type PricingPlan, PricingTable, type PricingTableProps, ProductCard, type ProductCardProps, ProfileHeader, type ProfileHeaderProps, ProgressSteps, type ProgressStepsProps, PullToRefresh, type PullToRefreshProps, SafeArea, type SafeAreaProps, ScreenLayout, SearchBar, type SearchBarProps, Section, type SectionProps, SepHeading, type SettingsItem, SettingsScreen, type SettingsScreenProps, type SettingsSection, Skeleton, type SkeletonProps, StepPageLayout, type StepPageProps, SubHeading, type SwipeAction, type SwipeCardItem, SwipeCards, type SwipeCardsProps, SwipeableRow, type SwipeableRowProps, TabBar, type TabBarItem, type TabBarProps, TestimonialCard, type TestimonialCardProps, type TooltipProps, blinkConfig, dialogConfirm, showError, toast, useBlinkToast };
817
+ type DataTableColumn<T> = {
818
+ key: string;
819
+ header: string;
820
+ render?: (value: any, row: T) => ReactNode;
821
+ sortable?: boolean;
822
+ width?: number | string;
823
+ };
824
+ type DataTableProps<T extends Record<string, any>> = {
825
+ columns: DataTableColumn<T>[];
826
+ data: T[];
827
+ onRowPress?: (row: T) => void;
828
+ emptyMessage?: string;
829
+ };
830
+ declare function StatusBadge({ status }: {
831
+ status: string;
832
+ }): react_jsx_runtime.JSX.Element;
833
+ declare function DataTable<T extends Record<string, any>>({ columns, data, onRowPress, emptyMessage }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
834
+
835
+ type DatePickerProps = {
836
+ value?: Date;
837
+ onDateChange?: (date: Date) => void;
838
+ minDate?: Date;
839
+ maxDate?: Date;
840
+ startDay?: 0 | 1;
841
+ placeholder?: string;
842
+ };
843
+ declare function DatePicker({ value, onDateChange, minDate, maxDate, startDay }: DatePickerProps): react_jsx_runtime.JSX.Element;
844
+
845
+ type EventCardProps = {
846
+ title: string;
847
+ subtitle?: string;
848
+ time?: string;
849
+ location?: string;
850
+ label?: string;
851
+ participants?: number;
852
+ maxParticipants?: number;
853
+ theme?: 'purple' | 'green' | 'blue' | 'orange' | 'red' | 'pink';
854
+ onPress?: () => void;
855
+ actions?: ReactNode;
856
+ };
857
+ declare function EventCard({ theme, ...props }: EventCardProps): react_jsx_runtime.JSX.Element;
858
+
859
+ type PreferenceItem = {
860
+ type: 'toggle';
861
+ id: string;
862
+ title: string;
863
+ description?: string;
864
+ value: boolean;
865
+ onValueChange: (v: boolean) => void;
866
+ } | {
867
+ type: 'select';
868
+ id: string;
869
+ title: string;
870
+ description?: string;
871
+ value: string;
872
+ options: {
873
+ label: string;
874
+ value: string;
875
+ }[];
876
+ onValueChange: (v: string) => void;
877
+ } | {
878
+ type: 'slider';
879
+ id: string;
880
+ title: string;
881
+ description?: string;
882
+ value: number;
883
+ min?: number;
884
+ max?: number;
885
+ onValueChange: (v: number) => void;
886
+ } | {
887
+ type: 'action';
888
+ id: string;
889
+ title: string;
890
+ description?: string;
891
+ onPress: () => void;
892
+ destructive?: boolean;
893
+ };
894
+ type PreferenceSection = {
895
+ title: string;
896
+ description?: string;
897
+ items: PreferenceItem[];
898
+ };
899
+ type UserPreferencesProps = {
900
+ sections: PreferenceSection[];
901
+ };
902
+ declare function UserPreferences({ sections }: UserPreferencesProps): react_jsx_runtime.JSX.Element;
903
+
904
+ export { ActionSheet, type ActionSheetItem, type ActionSheetProps, AppHeader, type AppHeaderProps, type AppHeaderVariant, type AuthProvider, AvatarGroup, type AvatarGroupProps, Badge, type BadgeProps, BlinkAccordion, type BlinkAccordionItem, type BlinkAccordionProps, Avatar as BlinkAvatar, type AvatarProps as BlinkAvatarProps, Button as BlinkButton, type ButtonProps as BlinkButtonProps, Card as BlinkCard, type CardProps as BlinkCardProps, type BlinkConfig, Input as BlinkInput, type InputProps as BlinkInputProps, type BlinkTabItem, BlinkTabs, type BlinkTabsProps, BlinkText, type BlinkTextProps, type BlinkToastContextType, type BlinkToastData, type BlinkToastOptions, BlinkToastProvider, type BlinkToastVariant, BlinkToggleGroup, type BlinkToggleGroupProps, type BlinkToggleOption, BlinkTooltip, BottomSheet, type BottomSheetProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, Chip, ChipGroup, type ChipGroupProps, type ChipProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, CountdownBanner, type CountdownBannerProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, DialogProvider, Divider, type DividerProps, EmptyState, type EmptyStateProps, EventCard, type EventCardProps, type FABProps, FloatingActionButton, FormField, type FormFieldProps, GlassCard, type GlassCardProps, Grid, type GridProps, ICONS, Icon, type IconName, type IconProps, Image, KeyboardStickyFooter, type KeyboardStickyFooterProps, ListItem, type ListItemProps, LoginScreen, type LoginScreenProps, MediaCard, type MediaCardProps, NotificationBanner, type NotificationBannerProps, OTPInput, type OTPInputProps, OnboardingCarousel, type OnboardingCarouselProps, type OnboardingStep, PageContainer, PageMainContainer, PasswordInput, type PasswordInputProps, PaywallScreen, type PaywallScreenProps, type PlanOption, type PreferenceItem, type PreferenceSection, Pressable, type PricingPlan, PricingTable, type PricingTableProps, ProductCard, type ProductCardProps, ProfileHeader, type ProfileHeaderProps, ProgressSteps, type ProgressStepsProps, PullToRefresh, type PullToRefreshProps, SafeArea, type SafeAreaProps, ScreenLayout, SearchBar, type SearchBarProps, Section, type SectionProps, SepHeading, type SettingsItem, SettingsScreen, type SettingsScreenProps, type SettingsSection, Skeleton, type SkeletonProps, StatusBadge, StepPageLayout, type StepPageProps, SubHeading, type SwipeAction, type SwipeCardItem, SwipeCards, type SwipeCardsProps, SwipeableRow, type SwipeableRowProps, TabBar, type TabBarItem, type TabBarProps, TestimonialCard, type TestimonialCardProps, type TooltipProps, UserPreferences, type UserPreferencesProps, blinkConfig, dialogConfirm, showError, toast, useBlinkToast };
package/dist/index.d.ts CHANGED
@@ -814,4 +814,91 @@ type GlassCardProps = {
814
814
  };
815
815
  declare function GlassCard({ children, intensity, tint, borderRadius, padding, elevated, }: GlassCardProps): react_jsx_runtime.JSX.Element;
816
816
 
817
- export { ActionSheet, type ActionSheetItem, type ActionSheetProps, AppHeader, type AppHeaderProps, type AppHeaderVariant, type AuthProvider, AvatarGroup, type AvatarGroupProps, Badge, type BadgeProps, BlinkAccordion, type BlinkAccordionItem, type BlinkAccordionProps, Avatar as BlinkAvatar, type AvatarProps as BlinkAvatarProps, Button as BlinkButton, type ButtonProps as BlinkButtonProps, Card as BlinkCard, type CardProps as BlinkCardProps, type BlinkConfig, Input as BlinkInput, type InputProps as BlinkInputProps, type BlinkTabItem, BlinkTabs, type BlinkTabsProps, BlinkText, type BlinkTextProps, type BlinkToastContextType, type BlinkToastData, type BlinkToastOptions, BlinkToastProvider, type BlinkToastVariant, BlinkToggleGroup, type BlinkToggleGroupProps, type BlinkToggleOption, BlinkTooltip, BottomSheet, type BottomSheetProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, Chip, ChipGroup, type ChipGroupProps, type ChipProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, CountdownBanner, type CountdownBannerProps, DialogProvider, Divider, type DividerProps, EmptyState, type EmptyStateProps, type FABProps, FloatingActionButton, FormField, type FormFieldProps, GlassCard, type GlassCardProps, Grid, type GridProps, ICONS, Icon, type IconName, type IconProps, Image, KeyboardStickyFooter, type KeyboardStickyFooterProps, ListItem, type ListItemProps, LoginScreen, type LoginScreenProps, MediaCard, type MediaCardProps, NotificationBanner, type NotificationBannerProps, OTPInput, type OTPInputProps, OnboardingCarousel, type OnboardingCarouselProps, type OnboardingStep, PageContainer, PageMainContainer, PasswordInput, type PasswordInputProps, PaywallScreen, type PaywallScreenProps, type PlanOption, Pressable, type PricingPlan, PricingTable, type PricingTableProps, ProductCard, type ProductCardProps, ProfileHeader, type ProfileHeaderProps, ProgressSteps, type ProgressStepsProps, PullToRefresh, type PullToRefreshProps, SafeArea, type SafeAreaProps, ScreenLayout, SearchBar, type SearchBarProps, Section, type SectionProps, SepHeading, type SettingsItem, SettingsScreen, type SettingsScreenProps, type SettingsSection, Skeleton, type SkeletonProps, StepPageLayout, type StepPageProps, SubHeading, type SwipeAction, type SwipeCardItem, SwipeCards, type SwipeCardsProps, SwipeableRow, type SwipeableRowProps, TabBar, type TabBarItem, type TabBarProps, TestimonialCard, type TestimonialCardProps, type TooltipProps, blinkConfig, dialogConfirm, showError, toast, useBlinkToast };
817
+ type DataTableColumn<T> = {
818
+ key: string;
819
+ header: string;
820
+ render?: (value: any, row: T) => ReactNode;
821
+ sortable?: boolean;
822
+ width?: number | string;
823
+ };
824
+ type DataTableProps<T extends Record<string, any>> = {
825
+ columns: DataTableColumn<T>[];
826
+ data: T[];
827
+ onRowPress?: (row: T) => void;
828
+ emptyMessage?: string;
829
+ };
830
+ declare function StatusBadge({ status }: {
831
+ status: string;
832
+ }): react_jsx_runtime.JSX.Element;
833
+ declare function DataTable<T extends Record<string, any>>({ columns, data, onRowPress, emptyMessage }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
834
+
835
+ type DatePickerProps = {
836
+ value?: Date;
837
+ onDateChange?: (date: Date) => void;
838
+ minDate?: Date;
839
+ maxDate?: Date;
840
+ startDay?: 0 | 1;
841
+ placeholder?: string;
842
+ };
843
+ declare function DatePicker({ value, onDateChange, minDate, maxDate, startDay }: DatePickerProps): react_jsx_runtime.JSX.Element;
844
+
845
+ type EventCardProps = {
846
+ title: string;
847
+ subtitle?: string;
848
+ time?: string;
849
+ location?: string;
850
+ label?: string;
851
+ participants?: number;
852
+ maxParticipants?: number;
853
+ theme?: 'purple' | 'green' | 'blue' | 'orange' | 'red' | 'pink';
854
+ onPress?: () => void;
855
+ actions?: ReactNode;
856
+ };
857
+ declare function EventCard({ theme, ...props }: EventCardProps): react_jsx_runtime.JSX.Element;
858
+
859
+ type PreferenceItem = {
860
+ type: 'toggle';
861
+ id: string;
862
+ title: string;
863
+ description?: string;
864
+ value: boolean;
865
+ onValueChange: (v: boolean) => void;
866
+ } | {
867
+ type: 'select';
868
+ id: string;
869
+ title: string;
870
+ description?: string;
871
+ value: string;
872
+ options: {
873
+ label: string;
874
+ value: string;
875
+ }[];
876
+ onValueChange: (v: string) => void;
877
+ } | {
878
+ type: 'slider';
879
+ id: string;
880
+ title: string;
881
+ description?: string;
882
+ value: number;
883
+ min?: number;
884
+ max?: number;
885
+ onValueChange: (v: number) => void;
886
+ } | {
887
+ type: 'action';
888
+ id: string;
889
+ title: string;
890
+ description?: string;
891
+ onPress: () => void;
892
+ destructive?: boolean;
893
+ };
894
+ type PreferenceSection = {
895
+ title: string;
896
+ description?: string;
897
+ items: PreferenceItem[];
898
+ };
899
+ type UserPreferencesProps = {
900
+ sections: PreferenceSection[];
901
+ };
902
+ declare function UserPreferences({ sections }: UserPreferencesProps): react_jsx_runtime.JSX.Element;
903
+
904
+ export { ActionSheet, type ActionSheetItem, type ActionSheetProps, AppHeader, type AppHeaderProps, type AppHeaderVariant, type AuthProvider, AvatarGroup, type AvatarGroupProps, Badge, type BadgeProps, BlinkAccordion, type BlinkAccordionItem, type BlinkAccordionProps, Avatar as BlinkAvatar, type AvatarProps as BlinkAvatarProps, Button as BlinkButton, type ButtonProps as BlinkButtonProps, Card as BlinkCard, type CardProps as BlinkCardProps, type BlinkConfig, Input as BlinkInput, type InputProps as BlinkInputProps, type BlinkTabItem, BlinkTabs, type BlinkTabsProps, BlinkText, type BlinkTextProps, type BlinkToastContextType, type BlinkToastData, type BlinkToastOptions, BlinkToastProvider, type BlinkToastVariant, BlinkToggleGroup, type BlinkToggleGroupProps, type BlinkToggleOption, BlinkTooltip, BottomSheet, type BottomSheetProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, Chip, ChipGroup, type ChipGroupProps, type ChipProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, CountdownBanner, type CountdownBannerProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, DialogProvider, Divider, type DividerProps, EmptyState, type EmptyStateProps, EventCard, type EventCardProps, type FABProps, FloatingActionButton, FormField, type FormFieldProps, GlassCard, type GlassCardProps, Grid, type GridProps, ICONS, Icon, type IconName, type IconProps, Image, KeyboardStickyFooter, type KeyboardStickyFooterProps, ListItem, type ListItemProps, LoginScreen, type LoginScreenProps, MediaCard, type MediaCardProps, NotificationBanner, type NotificationBannerProps, OTPInput, type OTPInputProps, OnboardingCarousel, type OnboardingCarouselProps, type OnboardingStep, PageContainer, PageMainContainer, PasswordInput, type PasswordInputProps, PaywallScreen, type PaywallScreenProps, type PlanOption, type PreferenceItem, type PreferenceSection, Pressable, type PricingPlan, PricingTable, type PricingTableProps, ProductCard, type ProductCardProps, ProfileHeader, type ProfileHeaderProps, ProgressSteps, type ProgressStepsProps, PullToRefresh, type PullToRefreshProps, SafeArea, type SafeAreaProps, ScreenLayout, SearchBar, type SearchBarProps, Section, type SectionProps, SepHeading, type SettingsItem, SettingsScreen, type SettingsScreenProps, type SettingsSection, Skeleton, type SkeletonProps, StatusBadge, StepPageLayout, type StepPageProps, SubHeading, type SwipeAction, type SwipeCardItem, SwipeCards, type SwipeCardsProps, SwipeableRow, type SwipeableRowProps, TabBar, type TabBarItem, type TabBarProps, TestimonialCard, type TestimonialCardProps, type TooltipProps, UserPreferences, type UserPreferencesProps, blinkConfig, dialogConfirm, showError, toast, useBlinkToast };