@reeverdev/ui 0.5.4 → 0.5.5
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.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +175 -1
- package/dist/index.d.ts +175 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2678,6 +2678,39 @@ interface InfiniteScrollProps extends React$1.HTMLAttributes<HTMLDivElement>, Va
|
|
|
2678
2678
|
}
|
|
2679
2679
|
declare const InfiniteScroll: React$1.ForwardRefExoticComponent<InfiniteScrollProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2680
2680
|
|
|
2681
|
+
declare const iconVariants: (props?: ({
|
|
2682
|
+
variant?: "warning" | "danger" | "info" | null | undefined;
|
|
2683
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2684
|
+
interface ConfirmDialogProps extends VariantProps<typeof iconVariants> {
|
|
2685
|
+
/** Controlled open state */
|
|
2686
|
+
open?: boolean;
|
|
2687
|
+
/** Callback when open state changes */
|
|
2688
|
+
onOpenChange?: (open: boolean) => void;
|
|
2689
|
+
/** Dialog title */
|
|
2690
|
+
title: string;
|
|
2691
|
+
/** Dialog description */
|
|
2692
|
+
description?: string;
|
|
2693
|
+
/** Confirm button text */
|
|
2694
|
+
confirmText?: string;
|
|
2695
|
+
/** Cancel button text */
|
|
2696
|
+
cancelText?: string;
|
|
2697
|
+
/** Callback when confirmed */
|
|
2698
|
+
onConfirm?: () => void | Promise<void>;
|
|
2699
|
+
/** Callback when cancelled */
|
|
2700
|
+
onCancel?: () => void;
|
|
2701
|
+
/** Show loading state on confirm button */
|
|
2702
|
+
isLoading?: boolean;
|
|
2703
|
+
/** Custom icon */
|
|
2704
|
+
icon?: React$1.ReactNode;
|
|
2705
|
+
/** Hide the icon */
|
|
2706
|
+
hideIcon?: boolean;
|
|
2707
|
+
/** Trigger element */
|
|
2708
|
+
trigger?: React$1.ReactNode;
|
|
2709
|
+
/** Children for custom content */
|
|
2710
|
+
children?: React$1.ReactNode;
|
|
2711
|
+
}
|
|
2712
|
+
declare const ConfirmDialog: React$1.ForwardRefExoticComponent<ConfirmDialogProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2713
|
+
|
|
2681
2714
|
interface ViewerImage {
|
|
2682
2715
|
src: string;
|
|
2683
2716
|
alt?: string;
|
|
@@ -3163,6 +3196,147 @@ declare const ReeverUIContext: React$1.Context<ReeverUIContextValue>;
|
|
|
3163
3196
|
declare const useReeverUI: () => ReeverUIContextValue;
|
|
3164
3197
|
declare const ReeverUIProvider: React$1.FC<ReeverUIProviderProps>;
|
|
3165
3198
|
|
|
3199
|
+
type Direction = "ltr" | "rtl";
|
|
3200
|
+
interface DirectionContextValue {
|
|
3201
|
+
/** Current direction (ltr or rtl) */
|
|
3202
|
+
direction: Direction;
|
|
3203
|
+
/** Whether the direction is RTL */
|
|
3204
|
+
isRTL: boolean;
|
|
3205
|
+
/** Set the direction */
|
|
3206
|
+
setDirection: (direction: Direction) => void;
|
|
3207
|
+
/** Toggle between LTR and RTL */
|
|
3208
|
+
toggleDirection: () => void;
|
|
3209
|
+
}
|
|
3210
|
+
declare const DirectionContext: React$1.Context<DirectionContextValue | undefined>;
|
|
3211
|
+
interface DirectionProviderProps {
|
|
3212
|
+
/** Child components */
|
|
3213
|
+
children: React$1.ReactNode;
|
|
3214
|
+
/** Initial direction (defaults to "ltr") */
|
|
3215
|
+
direction?: Direction;
|
|
3216
|
+
/** Storage key for direction preference (enables persistence) */
|
|
3217
|
+
storageKey?: string;
|
|
3218
|
+
/** Whether to detect direction from HTML dir attribute */
|
|
3219
|
+
detectFromHtml?: boolean;
|
|
3220
|
+
/** Whether to set dir attribute on HTML element */
|
|
3221
|
+
setHtmlDir?: boolean;
|
|
3222
|
+
}
|
|
3223
|
+
/**
|
|
3224
|
+
* DirectionProvider - Provides RTL/LTR direction context for the application.
|
|
3225
|
+
*
|
|
3226
|
+
* @example
|
|
3227
|
+
* ```tsx
|
|
3228
|
+
* // Basic usage
|
|
3229
|
+
* <DirectionProvider>
|
|
3230
|
+
* <App />
|
|
3231
|
+
* </DirectionProvider>
|
|
3232
|
+
*
|
|
3233
|
+
* // With RTL default
|
|
3234
|
+
* <DirectionProvider direction="rtl">
|
|
3235
|
+
* <App />
|
|
3236
|
+
* </DirectionProvider>
|
|
3237
|
+
*
|
|
3238
|
+
* // With persistence
|
|
3239
|
+
* <DirectionProvider storageKey="my-app-direction">
|
|
3240
|
+
* <App />
|
|
3241
|
+
* </DirectionProvider>
|
|
3242
|
+
* ```
|
|
3243
|
+
*/
|
|
3244
|
+
declare const DirectionProvider: React$1.FC<DirectionProviderProps>;
|
|
3245
|
+
/**
|
|
3246
|
+
* useDirection - Hook to access and control the current direction.
|
|
3247
|
+
*
|
|
3248
|
+
* @example
|
|
3249
|
+
* ```tsx
|
|
3250
|
+
* function MyComponent() {
|
|
3251
|
+
* const { direction, isRTL, toggleDirection } = useDirection();
|
|
3252
|
+
*
|
|
3253
|
+
* return (
|
|
3254
|
+
* <div>
|
|
3255
|
+
* <p>Current direction: {direction}</p>
|
|
3256
|
+
* <button onClick={toggleDirection}>Toggle Direction</button>
|
|
3257
|
+
* {isRTL && <span>RTL Mode Active</span>}
|
|
3258
|
+
* </div>
|
|
3259
|
+
* );
|
|
3260
|
+
* }
|
|
3261
|
+
* ```
|
|
3262
|
+
*/
|
|
3263
|
+
declare function useDirection(): DirectionContextValue;
|
|
3264
|
+
/**
|
|
3265
|
+
* useDirectionValue - Hook to get just the direction value.
|
|
3266
|
+
* Useful when you only need to read the direction, not control it.
|
|
3267
|
+
*/
|
|
3268
|
+
declare function useDirectionValue(): Direction;
|
|
3269
|
+
/**
|
|
3270
|
+
* useIsRTL - Hook to check if the current direction is RTL.
|
|
3271
|
+
*/
|
|
3272
|
+
declare function useIsRTL(): boolean;
|
|
3273
|
+
|
|
3274
|
+
type Locale = string;
|
|
3275
|
+
interface I18nContextValue {
|
|
3276
|
+
/** Current locale (e.g., "en", "ar", "tr") */
|
|
3277
|
+
locale: Locale;
|
|
3278
|
+
/** Current direction based on locale */
|
|
3279
|
+
direction: Direction;
|
|
3280
|
+
/** Whether the current locale is RTL */
|
|
3281
|
+
isRTL: boolean;
|
|
3282
|
+
/** Set the locale (also updates direction automatically) */
|
|
3283
|
+
setLocale: (locale: Locale) => void;
|
|
3284
|
+
/** Available locales */
|
|
3285
|
+
locales: Locale[];
|
|
3286
|
+
}
|
|
3287
|
+
declare const I18nContext: React$1.Context<I18nContextValue | undefined>;
|
|
3288
|
+
/** RTL languages - languages that use right-to-left text direction */
|
|
3289
|
+
declare const RTL_LOCALES: Set<string>;
|
|
3290
|
+
/**
|
|
3291
|
+
* Get direction for a given locale
|
|
3292
|
+
*/
|
|
3293
|
+
declare function getDirectionForLocale(locale: Locale): Direction;
|
|
3294
|
+
/**
|
|
3295
|
+
* Check if a locale is RTL
|
|
3296
|
+
*/
|
|
3297
|
+
declare function isRTLLocale(locale: Locale): boolean;
|
|
3298
|
+
interface I18nProviderProps {
|
|
3299
|
+
/** Child components */
|
|
3300
|
+
children: React$1.ReactNode;
|
|
3301
|
+
/** Default locale (defaults to "en") */
|
|
3302
|
+
defaultLocale?: Locale;
|
|
3303
|
+
/** Available locales */
|
|
3304
|
+
locales?: Locale[];
|
|
3305
|
+
/** Storage key for locale preference (enables persistence) */
|
|
3306
|
+
storageKey?: string;
|
|
3307
|
+
/** Whether to detect locale from browser */
|
|
3308
|
+
detectFromBrowser?: boolean;
|
|
3309
|
+
/** Callback when locale changes */
|
|
3310
|
+
onLocaleChange?: (locale: Locale, direction: Direction) => void;
|
|
3311
|
+
}
|
|
3312
|
+
/**
|
|
3313
|
+
* I18nProvider wrapper that includes DirectionProvider
|
|
3314
|
+
*/
|
|
3315
|
+
declare const I18nProvider: React$1.FC<I18nProviderProps>;
|
|
3316
|
+
/**
|
|
3317
|
+
* useI18n - Hook to access the i18n context.
|
|
3318
|
+
*
|
|
3319
|
+
* @example
|
|
3320
|
+
* ```tsx
|
|
3321
|
+
* function LanguageSwitcher() {
|
|
3322
|
+
* const { locale, setLocale, locales, isRTL } = useI18n();
|
|
3323
|
+
*
|
|
3324
|
+
* return (
|
|
3325
|
+
* <select value={locale} onChange={(e) => setLocale(e.target.value)}>
|
|
3326
|
+
* {locales.map((l) => (
|
|
3327
|
+
* <option key={l} value={l}>{l}</option>
|
|
3328
|
+
* ))}
|
|
3329
|
+
* </select>
|
|
3330
|
+
* );
|
|
3331
|
+
* }
|
|
3332
|
+
* ```
|
|
3333
|
+
*/
|
|
3334
|
+
declare function useI18n(): I18nContextValue;
|
|
3335
|
+
/**
|
|
3336
|
+
* useLocale - Hook to get just the current locale.
|
|
3337
|
+
*/
|
|
3338
|
+
declare function useLocale(): Locale;
|
|
3339
|
+
|
|
3166
3340
|
declare const datePickerVariants: (props?: ({
|
|
3167
3341
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3168
3342
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -8203,4 +8377,4 @@ declare function maskPhone(phone: string, visibleEnd?: number): string;
|
|
|
8203
8377
|
*/
|
|
8204
8378
|
declare function maskCreditCard(cardNumber: string): string;
|
|
8205
8379
|
|
|
8206
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionBar, ActionBarButton, type ActionBarProps, ActionGroup, type ActionGroupItem, type ActionGroupProps, ActionSheet, type ActionSheetItem, type ActionSheetProps, Alert, AlertDescription, type AlertRadius, AlertTitle, type AlertType, type AlertVariant, type AllowDropInfo, AreaChart, type AreaChartProps, AspectRatio, AudioPlayer, type AudioPlayerProps, type AudioTrack, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerProps, BarChart, type BarChartProps, Blockquote, type BlockquoteProps, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Bounce, type BounceProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, type ButtonProps, type ByteFormatOptions, COUNTRIES, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselItemProps, CarouselNext, CarouselPrevious, type CarouselProps, type ChartDataPoint, type CheckInfo, Checkbox, Checkmark, type CheckmarkProps, type CheckmarkSize, type CheckmarkVariant, Chip, type ChipProps, CircularProgress, CloseButton, type CloseButtonProps, Code, CodeBlock, type CodeBlockProps, type CodeBlockTabItem, Collapse, type CollapseProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ColorArea, type ColorAreaProps, type ColorAreaValue, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderChannel, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, type CompactFormatOptions, Confetti, type ConfettiOptions, type ConfettiProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuPortal, ContextMenuSection, type ContextMenuSectionProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextualHelp, type ContextualHelpProps, CopyButton, type CopyButtonProps, Counter, type CounterProps, type Country, type CurrencyFormatOptions, CurrencyInput, type CurrencyInputProps, DEFAULT_COLORS, DataTable, type DataTableProps, type DateFormat, type DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DragInfo, type DraggableConfig, Drawer, type DrawerBackdrop, DrawerBody, DrawerClose, type DrawerCollapsible, DrawerContent, DrawerDescription, DrawerFooter, DrawerGroup, DrawerGroupLabel, DrawerHeader, DrawerInset, DrawerMenu, DrawerMenuButton, DrawerMenuItem, type DrawerMode, type DrawerPlacement, type DrawerProps, DrawerProvider, DrawerSeparator, DrawerSidebar, type DrawerSidebarProps, type DrawerSize, DrawerTitle, DrawerToggle, DrawerTrigger, type DrawerVariant, type DropInfo, Dropdown, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownProps, DropdownSection, type DropdownSectionProps, DropdownSeparator, type DropdownSeparatorProps, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EMOJIS, EMOJI_CATEGORIES, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, Expand, type ExpandInfo, type ExpandProps, FAB, type FABAction, Fade, type FadeProps, FieldContext, type FieldContextValue, type FieldState, type FileRejection, FileUpload, type FileUploadProps, type FlatCheckInfo, type FlatSelectInfo, Flip, type FlipDirection, type FlipProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormContext, type FormContextValue, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, type FormState, type FormatOptions, FullCalendar, type FullCalendarProps, Glow, type GlowProps, GridList, type GridListItem, type GridListProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, type HSL, type HSLA, HeatmapCalendar, type HeatmapCalendarProps, type HeatmapValue, HoverCard, HoverCardContent, HoverCardTrigger, Image, ImageComparison, type ImageComparisonProps, ImageCropper, type ImageCropperProps, ImageViewer, type ImageViewerProps, ImageViewerTrigger, type ImageViewerTriggerProps, InfiniteScroll, type InfiniteScrollProps, InlineCode, type InlineCodeProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Kbd, type KbdProps, Label, type Language, Large, type LargeProps, Lead, type LeadProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListDataItem, ListItemComponent as ListItem, type ListItemComponentProps, ListItemText, type ListItemTextProps, type ListProps, MASK_PRESETS, type MaskChar, type MaskDefinition, type MaskPreset, MaskedInput, type MaskedInputProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSection, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, type ModalBackdrop, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, type ModalPlacement, ModalPortal, type ModalProps, ModalRoot, type ModalScrollBehavior, ModalTitle, ModalTrigger, Muted, type MutedProps, Navbar, NavbarBrand, NavbarContent, NavbarItem, NavbarLink, type NavbarProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, NumberField, type NumberFieldProps, type NumberFormatOptions, NumberInput, type NumberInputProps, PDFViewer, type PDFViewerProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationState, Paragraph, type ParagraphProps, Parallax, type ParallaxProps, PasswordInput, type PasswordInputProps, type PasswordRequirement, type PercentFormatOptions, PhoneInput, type PhoneInputProps, PieChart, type PieChartProps, Pop, type PopProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PullToRefresh, type PullToRefreshProps, Pulse, type PulseProps, type PulseSpeed, QRCode, type QRCodeProps, type QRCodeRef, type RGB, type RGBA, Radio, RadioContent, type RadioContentProps, RadioControl, type RadioControlProps, RadioDescription, type RadioDescriptionProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioIndicator, type RadioIndicatorProps, RadioLabel, type RadioLabelProps, type RadioProps, type Radius, RangeSlider, type RangeSliderProps, Rating, type RatingProps, ReeverUIContext, type ReeverUIContextValue, ReeverUIProvider, type ReeverUIProviderProps, type RelativeTimeOptions, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, Ripple, type RippleProps, Rotate, type RotateProps, Scale, type ScaleOrigin, type ScaleProps, ScrollArea, type ScrollAreaProps, ScrollProgress, type ScrollProgressPosition, type ScrollProgressProps, ScrollReveal, type ScrollRevealDirection, type ScrollRevealProps, Select, SelectField, type SelectFieldProps, type SelectInfo, type SelectOption, type SelectProps, Separator, type SeparatorProps, Shake, type ShakeIntensity, type ShakeProps, Shimmer, type ShimmerDirection, type ShimmerProps, Sidebar, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, type SidebarSide, SidebarTrigger, type SidebarVariant, SignaturePad, type SignaturePadProps, type SignaturePadRef, Skeleton, SkipLink, type SkipLinkProps, Slide, type SlideDirection, type SlideProps, Slider, Small, type SmallProps, Snippet, type SortDirection, type SortState, Sparkles, type SparklesProps, Spinner, type SpotlightItem, SpotlightSearch, type SpotlightSearchProps, StatCard, Step, type StepProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchColor, type SwitchProps, type SwitchSize, TabbedCodeBlock, type TabbedCodeBlockProps, Table, TableBody, TableCaption, TableCell, type TableColumn, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type Tag, TagInput, type TagInputProps, TextBadge, type TextBadgeProps, TextField, type TextFieldProps, TextReveal, type TextRevealDirection, type TextRevealProps, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, TimeInput, type TimeInputProps, TimePicker, type TimePickerProps, Timeline, TimelineContent, TimelineItem, TimelineOpposite, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, Tour, type TourProps, type TourStep, type TransitionProps, Tree, type TreeNode, type TreeProps, Typewriter, type TypewriterProps, UL, type ULProps, type UploadedFile, User, type ValidationRule, VideoPlayer, type VideoPlayerProps, type VideoSource, type ViewerImage, Wiggle, type WiggleProps, WordRotate, type WordRotateProps, actionBarVariants, actionGroupVariants, actionSheetItemVariants, addDays, addHours, addMinutes, addMonths, addYears, alertVariants, alpha, applyMask, autocompleteInputVariants, avatarGroupVariants, backTopVariants, badgeIndicatorVariants, bannerVariants, bottomNavigationVariants, buttonVariants, calculatePasswordStrength, camelCase, capitalize, cardVariants, carouselVariants, chartContainerVariants, chipVariants, circularProgressVariants, closeButtonVariants, cn, codeVariants, colorAreaVariants, colorSliderVariants, colorSwatchPickerVariants, colorSwatchVariants, colorWheelVariants, complement, contextualHelpTriggerVariants, copyButtonVariants, currencyInputVariants, darken, datePickerVariants, defaultPasswordRequirements, desaturate, differenceInDays, differenceInHours, differenceInMinutes, drawerMenuButtonVariants, emojiPickerVariants, endOfDay, endOfMonth, fabVariants, fileUploadVariants, formatBytes, formatCompact, formatCreditCard, formatCurrency, formatDate, formatFileSize, formatISO, formatISODateTime, formatList, formatNumber, formatOrdinal, formatPercent, formatPhone, formatPhoneNumber, formatRelative, formatTime, fullCalendarVariants, getContrastRatio, getFileIcon, getInitials, getLuminance, getMaskPlaceholder, getPasswordStrengthColor, getPasswordStrengthLabel, getTextColor, gridListItemVariants, gridListVariants, hexToHsl, hexToRgb, hexToRgba, hslToHex, hslToRgb, imageCropperVariants, imageVariants, infiniteScrollLoaderVariants, infiniteScrollVariants, inputOTPVariants, invert, isDarkColor, isFuture, isLightColor, isPast, isSameDay, isSameMonth, isSameYear, isToday, isTomorrow, isValidDate, isYesterday, kbdVariants, kebabCase, lighten, listItemVariants, listVariants, mask, maskCreditCard, maskEmail, maskPhone, maskedInputVariants, meetsContrastAA, meetsContrastAAA, mix, modalContentVariants, navbarVariants, navigationMenuLinkStyle, navigationMenuTriggerStyle, parseColor, parseDate, pascalCase, phoneInputVariants, pluralize, pullToRefreshVariants, qrCodeVariants, rangeSliderVariants, ratingVariants, rgbToHex, rgbToHsl, rgbaToHex, saturate, selectVariants, sentenceCase, sidebarMenuButtonVariants, signaturePadVariants, skeletonVariants, slugify, snakeCase, snippetVariants, spinnerVariants, startOfDay, startOfMonth, statCardVariants, stepVariants, stepsVariants, swipeActionVariants, swipeActionsVariants, colorMap as switchColors, tagVariants, textBadgeVariants, themeToggleVariants, timeAgo, timeInputVariants, timelineItemVariants, timelineVariants, titleCase, toggleVariants, treeItemVariants, treeVariants, truncate, truncateMiddle, unmask, useAnimatedValue, useAsync, useAsyncRetry, useBodyScrollLock, useBooleanToggle, useBreakpoint, useBreakpoints, useButtonGroup, useCarousel, useClickOutside, useClickOutsideMultiple, useConfetti, useCopy, useCopyToClipboard, useCountdown, useCounter, useCycle, useDebounce, useDebouncedCallback, useDebouncedCallbackWithControls, useDelayedValue, useDisclosure, useDisclosureOpen, useDistance, useDocumentIsVisible, useDocumentVisibility, useDocumentVisibilityCallback, useDrawer, useElementSize, useEventListener, useEventListenerRef, useFetch, useFieldContext, useFocusTrap, useFocusTrapRef, useFormContext, useFullscreen, useFullscreenRef, useGeolocation, useHotkeys, useHotkeysMap, useHover, useHoverDelay, useHoverProps, useHoverRef, useIdle, useIdleCallback, useIncrementCounter, useIntersectionObserver, useIntersectionObserverRef, useInterval, useIntervalControls, useIsDesktop, useIsMobile, useIsTablet, useKeyPress, useKeyPressed, useKeyboardShortcut, useLazyLoad, useList, useLocalStorage, useLongPress, useMap, useMediaPermission, useMediaQuery, useMouse, useMouseElement, useMouseElementRef, useMutation, useMutationObserver, useMutationObserverRef, useNotificationPermission, useOnlineStatus, useOnlineStatusCallback, usePermission, usePrefersColorScheme, usePrefersReducedMotion, usePrevious, usePreviousDistinct, usePreviousWithInitial, useQueue, useRafLoop, useRecord, useReeverUI, useResizeObserver, useResizeObserverRef, useScrollLock, useScrollPosition, useSelection, useSessionStorage, useSet, useSidebar, useSidebarSafe, useSpeechRecognition, useSpeechSynthesis, useSpotlight, useSpringValue, useStack, useThrottle, useThrottledCallback, useTimeout, useTimeoutControls, useTimeoutFlag, useTimer, useToggle, useWindowHeight, useWindowScroll, useWindowSize, useWindowWidth, userVariants, validateFile, validators };
|
|
8380
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionBar, ActionBarButton, type ActionBarProps, ActionGroup, type ActionGroupItem, type ActionGroupProps, ActionSheet, type ActionSheetItem, type ActionSheetProps, Alert, AlertDescription, type AlertRadius, AlertTitle, type AlertType, type AlertVariant, type AllowDropInfo, AreaChart, type AreaChartProps, AspectRatio, AudioPlayer, type AudioPlayerProps, type AudioTrack, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerProps, BarChart, type BarChartProps, Blockquote, type BlockquoteProps, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Bounce, type BounceProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, type ButtonProps, type ByteFormatOptions, COUNTRIES, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselItemProps, CarouselNext, CarouselPrevious, type CarouselProps, type ChartDataPoint, type CheckInfo, Checkbox, Checkmark, type CheckmarkProps, type CheckmarkSize, type CheckmarkVariant, Chip, type ChipProps, CircularProgress, CloseButton, type CloseButtonProps, Code, CodeBlock, type CodeBlockProps, type CodeBlockTabItem, Collapse, type CollapseProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ColorArea, type ColorAreaProps, type ColorAreaValue, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderChannel, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, type CompactFormatOptions, Confetti, type ConfettiOptions, type ConfettiProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuPortal, ContextMenuSection, type ContextMenuSectionProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextualHelp, type ContextualHelpProps, CopyButton, type CopyButtonProps, Counter, type CounterProps, type Country, type CurrencyFormatOptions, CurrencyInput, type CurrencyInputProps, DEFAULT_COLORS, DataTable, type DataTableProps, type DateFormat, type DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type Direction, DirectionContext, type DirectionContextValue, DirectionProvider, type DirectionProviderProps, type DragInfo, type DraggableConfig, Drawer, type DrawerBackdrop, DrawerBody, DrawerClose, type DrawerCollapsible, DrawerContent, DrawerDescription, DrawerFooter, DrawerGroup, DrawerGroupLabel, DrawerHeader, DrawerInset, DrawerMenu, DrawerMenuButton, DrawerMenuItem, type DrawerMode, type DrawerPlacement, type DrawerProps, DrawerProvider, DrawerSeparator, DrawerSidebar, type DrawerSidebarProps, type DrawerSize, DrawerTitle, DrawerToggle, DrawerTrigger, type DrawerVariant, type DropInfo, Dropdown, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownProps, DropdownSection, type DropdownSectionProps, DropdownSeparator, type DropdownSeparatorProps, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EMOJIS, EMOJI_CATEGORIES, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, Expand, type ExpandInfo, type ExpandProps, FAB, type FABAction, Fade, type FadeProps, FieldContext, type FieldContextValue, type FieldState, type FileRejection, FileUpload, type FileUploadProps, type FlatCheckInfo, type FlatSelectInfo, Flip, type FlipDirection, type FlipProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormContext, type FormContextValue, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, type FormState, type FormatOptions, FullCalendar, type FullCalendarProps, Glow, type GlowProps, GridList, type GridListItem, type GridListProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, type HSL, type HSLA, HeatmapCalendar, type HeatmapCalendarProps, type HeatmapValue, HoverCard, HoverCardContent, HoverCardTrigger, I18nContext, type I18nContextValue, I18nProvider, type I18nProviderProps, Image, ImageComparison, type ImageComparisonProps, ImageCropper, type ImageCropperProps, ImageViewer, type ImageViewerProps, ImageViewerTrigger, type ImageViewerTriggerProps, InfiniteScroll, type InfiniteScrollProps, InlineCode, type InlineCodeProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Kbd, type KbdProps, Label, type Language, Large, type LargeProps, Lead, type LeadProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListDataItem, ListItemComponent as ListItem, type ListItemComponentProps, ListItemText, type ListItemTextProps, type ListProps, type Locale, MASK_PRESETS, type MaskChar, type MaskDefinition, type MaskPreset, MaskedInput, type MaskedInputProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSection, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, type ModalBackdrop, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, type ModalPlacement, ModalPortal, type ModalProps, ModalRoot, type ModalScrollBehavior, ModalTitle, ModalTrigger, Muted, type MutedProps, Navbar, NavbarBrand, NavbarContent, NavbarItem, NavbarLink, type NavbarProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, NumberField, type NumberFieldProps, type NumberFormatOptions, NumberInput, type NumberInputProps, PDFViewer, type PDFViewerProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationState, Paragraph, type ParagraphProps, Parallax, type ParallaxProps, PasswordInput, type PasswordInputProps, type PasswordRequirement, type PercentFormatOptions, PhoneInput, type PhoneInputProps, PieChart, type PieChartProps, Pop, type PopProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PullToRefresh, type PullToRefreshProps, Pulse, type PulseProps, type PulseSpeed, QRCode, type QRCodeProps, type QRCodeRef, type RGB, type RGBA, RTL_LOCALES, Radio, RadioContent, type RadioContentProps, RadioControl, type RadioControlProps, RadioDescription, type RadioDescriptionProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioIndicator, type RadioIndicatorProps, RadioLabel, type RadioLabelProps, type RadioProps, type Radius, RangeSlider, type RangeSliderProps, Rating, type RatingProps, ReeverUIContext, type ReeverUIContextValue, ReeverUIProvider, type ReeverUIProviderProps, type RelativeTimeOptions, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, Ripple, type RippleProps, Rotate, type RotateProps, Scale, type ScaleOrigin, type ScaleProps, ScrollArea, type ScrollAreaProps, ScrollProgress, type ScrollProgressPosition, type ScrollProgressProps, ScrollReveal, type ScrollRevealDirection, type ScrollRevealProps, Select, SelectField, type SelectFieldProps, type SelectInfo, type SelectOption, type SelectProps, Separator, type SeparatorProps, Shake, type ShakeIntensity, type ShakeProps, Shimmer, type ShimmerDirection, type ShimmerProps, Sidebar, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, type SidebarSide, SidebarTrigger, type SidebarVariant, SignaturePad, type SignaturePadProps, type SignaturePadRef, Skeleton, SkipLink, type SkipLinkProps, Slide, type SlideDirection, type SlideProps, Slider, Small, type SmallProps, Snippet, type SortDirection, type SortState, Sparkles, type SparklesProps, Spinner, type SpotlightItem, SpotlightSearch, type SpotlightSearchProps, StatCard, Step, type StepProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchColor, type SwitchProps, type SwitchSize, TabbedCodeBlock, type TabbedCodeBlockProps, Table, TableBody, TableCaption, TableCell, type TableColumn, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type Tag, TagInput, type TagInputProps, TextBadge, type TextBadgeProps, TextField, type TextFieldProps, TextReveal, type TextRevealDirection, type TextRevealProps, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, TimeInput, type TimeInputProps, TimePicker, type TimePickerProps, Timeline, TimelineContent, TimelineItem, TimelineOpposite, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, Tour, type TourProps, type TourStep, type TransitionProps, Tree, type TreeNode, type TreeProps, Typewriter, type TypewriterProps, UL, type ULProps, type UploadedFile, User, type ValidationRule, VideoPlayer, type VideoPlayerProps, type VideoSource, type ViewerImage, Wiggle, type WiggleProps, WordRotate, type WordRotateProps, actionBarVariants, actionGroupVariants, actionSheetItemVariants, addDays, addHours, addMinutes, addMonths, addYears, alertVariants, alpha, applyMask, autocompleteInputVariants, avatarGroupVariants, backTopVariants, badgeIndicatorVariants, bannerVariants, bottomNavigationVariants, buttonVariants, calculatePasswordStrength, camelCase, capitalize, cardVariants, carouselVariants, chartContainerVariants, chipVariants, circularProgressVariants, closeButtonVariants, cn, codeVariants, colorAreaVariants, colorSliderVariants, colorSwatchPickerVariants, colorSwatchVariants, colorWheelVariants, complement, contextualHelpTriggerVariants, copyButtonVariants, currencyInputVariants, darken, datePickerVariants, defaultPasswordRequirements, desaturate, differenceInDays, differenceInHours, differenceInMinutes, drawerMenuButtonVariants, emojiPickerVariants, endOfDay, endOfMonth, fabVariants, fileUploadVariants, formatBytes, formatCompact, formatCreditCard, formatCurrency, formatDate, formatFileSize, formatISO, formatISODateTime, formatList, formatNumber, formatOrdinal, formatPercent, formatPhone, formatPhoneNumber, formatRelative, formatTime, fullCalendarVariants, getContrastRatio, getDirectionForLocale, getFileIcon, getInitials, getLuminance, getMaskPlaceholder, getPasswordStrengthColor, getPasswordStrengthLabel, getTextColor, gridListItemVariants, gridListVariants, hexToHsl, hexToRgb, hexToRgba, hslToHex, hslToRgb, imageCropperVariants, imageVariants, infiniteScrollLoaderVariants, infiniteScrollVariants, inputOTPVariants, invert, isDarkColor, isFuture, isLightColor, isPast, isRTLLocale, isSameDay, isSameMonth, isSameYear, isToday, isTomorrow, isValidDate, isYesterday, kbdVariants, kebabCase, lighten, listItemVariants, listVariants, mask, maskCreditCard, maskEmail, maskPhone, maskedInputVariants, meetsContrastAA, meetsContrastAAA, mix, modalContentVariants, navbarVariants, navigationMenuLinkStyle, navigationMenuTriggerStyle, parseColor, parseDate, pascalCase, phoneInputVariants, pluralize, pullToRefreshVariants, qrCodeVariants, rangeSliderVariants, ratingVariants, rgbToHex, rgbToHsl, rgbaToHex, saturate, selectVariants, sentenceCase, sidebarMenuButtonVariants, signaturePadVariants, skeletonVariants, slugify, snakeCase, snippetVariants, spinnerVariants, startOfDay, startOfMonth, statCardVariants, stepVariants, stepsVariants, swipeActionVariants, swipeActionsVariants, colorMap as switchColors, tagVariants, textBadgeVariants, themeToggleVariants, timeAgo, timeInputVariants, timelineItemVariants, timelineVariants, titleCase, toggleVariants, treeItemVariants, treeVariants, truncate, truncateMiddle, unmask, useAnimatedValue, useAsync, useAsyncRetry, useBodyScrollLock, useBooleanToggle, useBreakpoint, useBreakpoints, useButtonGroup, useCarousel, useClickOutside, useClickOutsideMultiple, useConfetti, useCopy, useCopyToClipboard, useCountdown, useCounter, useCycle, useDebounce, useDebouncedCallback, useDebouncedCallbackWithControls, useDelayedValue, useDirection, useDirectionValue, useDisclosure, useDisclosureOpen, useDistance, useDocumentIsVisible, useDocumentVisibility, useDocumentVisibilityCallback, useDrawer, useElementSize, useEventListener, useEventListenerRef, useFetch, useFieldContext, useFocusTrap, useFocusTrapRef, useFormContext, useFullscreen, useFullscreenRef, useGeolocation, useHotkeys, useHotkeysMap, useHover, useHoverDelay, useHoverProps, useHoverRef, useI18n, useIdle, useIdleCallback, useIncrementCounter, useIntersectionObserver, useIntersectionObserverRef, useInterval, useIntervalControls, useIsDesktop, useIsMobile, useIsRTL, useIsTablet, useKeyPress, useKeyPressed, useKeyboardShortcut, useLazyLoad, useList, useLocalStorage, useLocale, useLongPress, useMap, useMediaPermission, useMediaQuery, useMouse, useMouseElement, useMouseElementRef, useMutation, useMutationObserver, useMutationObserverRef, useNotificationPermission, useOnlineStatus, useOnlineStatusCallback, usePermission, usePrefersColorScheme, usePrefersReducedMotion, usePrevious, usePreviousDistinct, usePreviousWithInitial, useQueue, useRafLoop, useRecord, useReeverUI, useResizeObserver, useResizeObserverRef, useScrollLock, useScrollPosition, useSelection, useSessionStorage, useSet, useSidebar, useSidebarSafe, useSpeechRecognition, useSpeechSynthesis, useSpotlight, useSpringValue, useStack, useThrottle, useThrottledCallback, useTimeout, useTimeoutControls, useTimeoutFlag, useTimer, useToggle, useWindowHeight, useWindowScroll, useWindowSize, useWindowWidth, userVariants, validateFile, validators };
|
package/dist/index.d.ts
CHANGED
|
@@ -2678,6 +2678,39 @@ interface InfiniteScrollProps extends React$1.HTMLAttributes<HTMLDivElement>, Va
|
|
|
2678
2678
|
}
|
|
2679
2679
|
declare const InfiniteScroll: React$1.ForwardRefExoticComponent<InfiniteScrollProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2680
2680
|
|
|
2681
|
+
declare const iconVariants: (props?: ({
|
|
2682
|
+
variant?: "warning" | "danger" | "info" | null | undefined;
|
|
2683
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2684
|
+
interface ConfirmDialogProps extends VariantProps<typeof iconVariants> {
|
|
2685
|
+
/** Controlled open state */
|
|
2686
|
+
open?: boolean;
|
|
2687
|
+
/** Callback when open state changes */
|
|
2688
|
+
onOpenChange?: (open: boolean) => void;
|
|
2689
|
+
/** Dialog title */
|
|
2690
|
+
title: string;
|
|
2691
|
+
/** Dialog description */
|
|
2692
|
+
description?: string;
|
|
2693
|
+
/** Confirm button text */
|
|
2694
|
+
confirmText?: string;
|
|
2695
|
+
/** Cancel button text */
|
|
2696
|
+
cancelText?: string;
|
|
2697
|
+
/** Callback when confirmed */
|
|
2698
|
+
onConfirm?: () => void | Promise<void>;
|
|
2699
|
+
/** Callback when cancelled */
|
|
2700
|
+
onCancel?: () => void;
|
|
2701
|
+
/** Show loading state on confirm button */
|
|
2702
|
+
isLoading?: boolean;
|
|
2703
|
+
/** Custom icon */
|
|
2704
|
+
icon?: React$1.ReactNode;
|
|
2705
|
+
/** Hide the icon */
|
|
2706
|
+
hideIcon?: boolean;
|
|
2707
|
+
/** Trigger element */
|
|
2708
|
+
trigger?: React$1.ReactNode;
|
|
2709
|
+
/** Children for custom content */
|
|
2710
|
+
children?: React$1.ReactNode;
|
|
2711
|
+
}
|
|
2712
|
+
declare const ConfirmDialog: React$1.ForwardRefExoticComponent<ConfirmDialogProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2713
|
+
|
|
2681
2714
|
interface ViewerImage {
|
|
2682
2715
|
src: string;
|
|
2683
2716
|
alt?: string;
|
|
@@ -3163,6 +3196,147 @@ declare const ReeverUIContext: React$1.Context<ReeverUIContextValue>;
|
|
|
3163
3196
|
declare const useReeverUI: () => ReeverUIContextValue;
|
|
3164
3197
|
declare const ReeverUIProvider: React$1.FC<ReeverUIProviderProps>;
|
|
3165
3198
|
|
|
3199
|
+
type Direction = "ltr" | "rtl";
|
|
3200
|
+
interface DirectionContextValue {
|
|
3201
|
+
/** Current direction (ltr or rtl) */
|
|
3202
|
+
direction: Direction;
|
|
3203
|
+
/** Whether the direction is RTL */
|
|
3204
|
+
isRTL: boolean;
|
|
3205
|
+
/** Set the direction */
|
|
3206
|
+
setDirection: (direction: Direction) => void;
|
|
3207
|
+
/** Toggle between LTR and RTL */
|
|
3208
|
+
toggleDirection: () => void;
|
|
3209
|
+
}
|
|
3210
|
+
declare const DirectionContext: React$1.Context<DirectionContextValue | undefined>;
|
|
3211
|
+
interface DirectionProviderProps {
|
|
3212
|
+
/** Child components */
|
|
3213
|
+
children: React$1.ReactNode;
|
|
3214
|
+
/** Initial direction (defaults to "ltr") */
|
|
3215
|
+
direction?: Direction;
|
|
3216
|
+
/** Storage key for direction preference (enables persistence) */
|
|
3217
|
+
storageKey?: string;
|
|
3218
|
+
/** Whether to detect direction from HTML dir attribute */
|
|
3219
|
+
detectFromHtml?: boolean;
|
|
3220
|
+
/** Whether to set dir attribute on HTML element */
|
|
3221
|
+
setHtmlDir?: boolean;
|
|
3222
|
+
}
|
|
3223
|
+
/**
|
|
3224
|
+
* DirectionProvider - Provides RTL/LTR direction context for the application.
|
|
3225
|
+
*
|
|
3226
|
+
* @example
|
|
3227
|
+
* ```tsx
|
|
3228
|
+
* // Basic usage
|
|
3229
|
+
* <DirectionProvider>
|
|
3230
|
+
* <App />
|
|
3231
|
+
* </DirectionProvider>
|
|
3232
|
+
*
|
|
3233
|
+
* // With RTL default
|
|
3234
|
+
* <DirectionProvider direction="rtl">
|
|
3235
|
+
* <App />
|
|
3236
|
+
* </DirectionProvider>
|
|
3237
|
+
*
|
|
3238
|
+
* // With persistence
|
|
3239
|
+
* <DirectionProvider storageKey="my-app-direction">
|
|
3240
|
+
* <App />
|
|
3241
|
+
* </DirectionProvider>
|
|
3242
|
+
* ```
|
|
3243
|
+
*/
|
|
3244
|
+
declare const DirectionProvider: React$1.FC<DirectionProviderProps>;
|
|
3245
|
+
/**
|
|
3246
|
+
* useDirection - Hook to access and control the current direction.
|
|
3247
|
+
*
|
|
3248
|
+
* @example
|
|
3249
|
+
* ```tsx
|
|
3250
|
+
* function MyComponent() {
|
|
3251
|
+
* const { direction, isRTL, toggleDirection } = useDirection();
|
|
3252
|
+
*
|
|
3253
|
+
* return (
|
|
3254
|
+
* <div>
|
|
3255
|
+
* <p>Current direction: {direction}</p>
|
|
3256
|
+
* <button onClick={toggleDirection}>Toggle Direction</button>
|
|
3257
|
+
* {isRTL && <span>RTL Mode Active</span>}
|
|
3258
|
+
* </div>
|
|
3259
|
+
* );
|
|
3260
|
+
* }
|
|
3261
|
+
* ```
|
|
3262
|
+
*/
|
|
3263
|
+
declare function useDirection(): DirectionContextValue;
|
|
3264
|
+
/**
|
|
3265
|
+
* useDirectionValue - Hook to get just the direction value.
|
|
3266
|
+
* Useful when you only need to read the direction, not control it.
|
|
3267
|
+
*/
|
|
3268
|
+
declare function useDirectionValue(): Direction;
|
|
3269
|
+
/**
|
|
3270
|
+
* useIsRTL - Hook to check if the current direction is RTL.
|
|
3271
|
+
*/
|
|
3272
|
+
declare function useIsRTL(): boolean;
|
|
3273
|
+
|
|
3274
|
+
type Locale = string;
|
|
3275
|
+
interface I18nContextValue {
|
|
3276
|
+
/** Current locale (e.g., "en", "ar", "tr") */
|
|
3277
|
+
locale: Locale;
|
|
3278
|
+
/** Current direction based on locale */
|
|
3279
|
+
direction: Direction;
|
|
3280
|
+
/** Whether the current locale is RTL */
|
|
3281
|
+
isRTL: boolean;
|
|
3282
|
+
/** Set the locale (also updates direction automatically) */
|
|
3283
|
+
setLocale: (locale: Locale) => void;
|
|
3284
|
+
/** Available locales */
|
|
3285
|
+
locales: Locale[];
|
|
3286
|
+
}
|
|
3287
|
+
declare const I18nContext: React$1.Context<I18nContextValue | undefined>;
|
|
3288
|
+
/** RTL languages - languages that use right-to-left text direction */
|
|
3289
|
+
declare const RTL_LOCALES: Set<string>;
|
|
3290
|
+
/**
|
|
3291
|
+
* Get direction for a given locale
|
|
3292
|
+
*/
|
|
3293
|
+
declare function getDirectionForLocale(locale: Locale): Direction;
|
|
3294
|
+
/**
|
|
3295
|
+
* Check if a locale is RTL
|
|
3296
|
+
*/
|
|
3297
|
+
declare function isRTLLocale(locale: Locale): boolean;
|
|
3298
|
+
interface I18nProviderProps {
|
|
3299
|
+
/** Child components */
|
|
3300
|
+
children: React$1.ReactNode;
|
|
3301
|
+
/** Default locale (defaults to "en") */
|
|
3302
|
+
defaultLocale?: Locale;
|
|
3303
|
+
/** Available locales */
|
|
3304
|
+
locales?: Locale[];
|
|
3305
|
+
/** Storage key for locale preference (enables persistence) */
|
|
3306
|
+
storageKey?: string;
|
|
3307
|
+
/** Whether to detect locale from browser */
|
|
3308
|
+
detectFromBrowser?: boolean;
|
|
3309
|
+
/** Callback when locale changes */
|
|
3310
|
+
onLocaleChange?: (locale: Locale, direction: Direction) => void;
|
|
3311
|
+
}
|
|
3312
|
+
/**
|
|
3313
|
+
* I18nProvider wrapper that includes DirectionProvider
|
|
3314
|
+
*/
|
|
3315
|
+
declare const I18nProvider: React$1.FC<I18nProviderProps>;
|
|
3316
|
+
/**
|
|
3317
|
+
* useI18n - Hook to access the i18n context.
|
|
3318
|
+
*
|
|
3319
|
+
* @example
|
|
3320
|
+
* ```tsx
|
|
3321
|
+
* function LanguageSwitcher() {
|
|
3322
|
+
* const { locale, setLocale, locales, isRTL } = useI18n();
|
|
3323
|
+
*
|
|
3324
|
+
* return (
|
|
3325
|
+
* <select value={locale} onChange={(e) => setLocale(e.target.value)}>
|
|
3326
|
+
* {locales.map((l) => (
|
|
3327
|
+
* <option key={l} value={l}>{l}</option>
|
|
3328
|
+
* ))}
|
|
3329
|
+
* </select>
|
|
3330
|
+
* );
|
|
3331
|
+
* }
|
|
3332
|
+
* ```
|
|
3333
|
+
*/
|
|
3334
|
+
declare function useI18n(): I18nContextValue;
|
|
3335
|
+
/**
|
|
3336
|
+
* useLocale - Hook to get just the current locale.
|
|
3337
|
+
*/
|
|
3338
|
+
declare function useLocale(): Locale;
|
|
3339
|
+
|
|
3166
3340
|
declare const datePickerVariants: (props?: ({
|
|
3167
3341
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3168
3342
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -8203,4 +8377,4 @@ declare function maskPhone(phone: string, visibleEnd?: number): string;
|
|
|
8203
8377
|
*/
|
|
8204
8378
|
declare function maskCreditCard(cardNumber: string): string;
|
|
8205
8379
|
|
|
8206
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionBar, ActionBarButton, type ActionBarProps, ActionGroup, type ActionGroupItem, type ActionGroupProps, ActionSheet, type ActionSheetItem, type ActionSheetProps, Alert, AlertDescription, type AlertRadius, AlertTitle, type AlertType, type AlertVariant, type AllowDropInfo, AreaChart, type AreaChartProps, AspectRatio, AudioPlayer, type AudioPlayerProps, type AudioTrack, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerProps, BarChart, type BarChartProps, Blockquote, type BlockquoteProps, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Bounce, type BounceProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, type ButtonProps, type ByteFormatOptions, COUNTRIES, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselItemProps, CarouselNext, CarouselPrevious, type CarouselProps, type ChartDataPoint, type CheckInfo, Checkbox, Checkmark, type CheckmarkProps, type CheckmarkSize, type CheckmarkVariant, Chip, type ChipProps, CircularProgress, CloseButton, type CloseButtonProps, Code, CodeBlock, type CodeBlockProps, type CodeBlockTabItem, Collapse, type CollapseProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ColorArea, type ColorAreaProps, type ColorAreaValue, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderChannel, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, type CompactFormatOptions, Confetti, type ConfettiOptions, type ConfettiProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuPortal, ContextMenuSection, type ContextMenuSectionProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextualHelp, type ContextualHelpProps, CopyButton, type CopyButtonProps, Counter, type CounterProps, type Country, type CurrencyFormatOptions, CurrencyInput, type CurrencyInputProps, DEFAULT_COLORS, DataTable, type DataTableProps, type DateFormat, type DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DragInfo, type DraggableConfig, Drawer, type DrawerBackdrop, DrawerBody, DrawerClose, type DrawerCollapsible, DrawerContent, DrawerDescription, DrawerFooter, DrawerGroup, DrawerGroupLabel, DrawerHeader, DrawerInset, DrawerMenu, DrawerMenuButton, DrawerMenuItem, type DrawerMode, type DrawerPlacement, type DrawerProps, DrawerProvider, DrawerSeparator, DrawerSidebar, type DrawerSidebarProps, type DrawerSize, DrawerTitle, DrawerToggle, DrawerTrigger, type DrawerVariant, type DropInfo, Dropdown, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownProps, DropdownSection, type DropdownSectionProps, DropdownSeparator, type DropdownSeparatorProps, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EMOJIS, EMOJI_CATEGORIES, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, Expand, type ExpandInfo, type ExpandProps, FAB, type FABAction, Fade, type FadeProps, FieldContext, type FieldContextValue, type FieldState, type FileRejection, FileUpload, type FileUploadProps, type FlatCheckInfo, type FlatSelectInfo, Flip, type FlipDirection, type FlipProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormContext, type FormContextValue, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, type FormState, type FormatOptions, FullCalendar, type FullCalendarProps, Glow, type GlowProps, GridList, type GridListItem, type GridListProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, type HSL, type HSLA, HeatmapCalendar, type HeatmapCalendarProps, type HeatmapValue, HoverCard, HoverCardContent, HoverCardTrigger, Image, ImageComparison, type ImageComparisonProps, ImageCropper, type ImageCropperProps, ImageViewer, type ImageViewerProps, ImageViewerTrigger, type ImageViewerTriggerProps, InfiniteScroll, type InfiniteScrollProps, InlineCode, type InlineCodeProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Kbd, type KbdProps, Label, type Language, Large, type LargeProps, Lead, type LeadProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListDataItem, ListItemComponent as ListItem, type ListItemComponentProps, ListItemText, type ListItemTextProps, type ListProps, MASK_PRESETS, type MaskChar, type MaskDefinition, type MaskPreset, MaskedInput, type MaskedInputProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSection, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, type ModalBackdrop, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, type ModalPlacement, ModalPortal, type ModalProps, ModalRoot, type ModalScrollBehavior, ModalTitle, ModalTrigger, Muted, type MutedProps, Navbar, NavbarBrand, NavbarContent, NavbarItem, NavbarLink, type NavbarProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, NumberField, type NumberFieldProps, type NumberFormatOptions, NumberInput, type NumberInputProps, PDFViewer, type PDFViewerProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationState, Paragraph, type ParagraphProps, Parallax, type ParallaxProps, PasswordInput, type PasswordInputProps, type PasswordRequirement, type PercentFormatOptions, PhoneInput, type PhoneInputProps, PieChart, type PieChartProps, Pop, type PopProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PullToRefresh, type PullToRefreshProps, Pulse, type PulseProps, type PulseSpeed, QRCode, type QRCodeProps, type QRCodeRef, type RGB, type RGBA, Radio, RadioContent, type RadioContentProps, RadioControl, type RadioControlProps, RadioDescription, type RadioDescriptionProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioIndicator, type RadioIndicatorProps, RadioLabel, type RadioLabelProps, type RadioProps, type Radius, RangeSlider, type RangeSliderProps, Rating, type RatingProps, ReeverUIContext, type ReeverUIContextValue, ReeverUIProvider, type ReeverUIProviderProps, type RelativeTimeOptions, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, Ripple, type RippleProps, Rotate, type RotateProps, Scale, type ScaleOrigin, type ScaleProps, ScrollArea, type ScrollAreaProps, ScrollProgress, type ScrollProgressPosition, type ScrollProgressProps, ScrollReveal, type ScrollRevealDirection, type ScrollRevealProps, Select, SelectField, type SelectFieldProps, type SelectInfo, type SelectOption, type SelectProps, Separator, type SeparatorProps, Shake, type ShakeIntensity, type ShakeProps, Shimmer, type ShimmerDirection, type ShimmerProps, Sidebar, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, type SidebarSide, SidebarTrigger, type SidebarVariant, SignaturePad, type SignaturePadProps, type SignaturePadRef, Skeleton, SkipLink, type SkipLinkProps, Slide, type SlideDirection, type SlideProps, Slider, Small, type SmallProps, Snippet, type SortDirection, type SortState, Sparkles, type SparklesProps, Spinner, type SpotlightItem, SpotlightSearch, type SpotlightSearchProps, StatCard, Step, type StepProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchColor, type SwitchProps, type SwitchSize, TabbedCodeBlock, type TabbedCodeBlockProps, Table, TableBody, TableCaption, TableCell, type TableColumn, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type Tag, TagInput, type TagInputProps, TextBadge, type TextBadgeProps, TextField, type TextFieldProps, TextReveal, type TextRevealDirection, type TextRevealProps, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, TimeInput, type TimeInputProps, TimePicker, type TimePickerProps, Timeline, TimelineContent, TimelineItem, TimelineOpposite, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, Tour, type TourProps, type TourStep, type TransitionProps, Tree, type TreeNode, type TreeProps, Typewriter, type TypewriterProps, UL, type ULProps, type UploadedFile, User, type ValidationRule, VideoPlayer, type VideoPlayerProps, type VideoSource, type ViewerImage, Wiggle, type WiggleProps, WordRotate, type WordRotateProps, actionBarVariants, actionGroupVariants, actionSheetItemVariants, addDays, addHours, addMinutes, addMonths, addYears, alertVariants, alpha, applyMask, autocompleteInputVariants, avatarGroupVariants, backTopVariants, badgeIndicatorVariants, bannerVariants, bottomNavigationVariants, buttonVariants, calculatePasswordStrength, camelCase, capitalize, cardVariants, carouselVariants, chartContainerVariants, chipVariants, circularProgressVariants, closeButtonVariants, cn, codeVariants, colorAreaVariants, colorSliderVariants, colorSwatchPickerVariants, colorSwatchVariants, colorWheelVariants, complement, contextualHelpTriggerVariants, copyButtonVariants, currencyInputVariants, darken, datePickerVariants, defaultPasswordRequirements, desaturate, differenceInDays, differenceInHours, differenceInMinutes, drawerMenuButtonVariants, emojiPickerVariants, endOfDay, endOfMonth, fabVariants, fileUploadVariants, formatBytes, formatCompact, formatCreditCard, formatCurrency, formatDate, formatFileSize, formatISO, formatISODateTime, formatList, formatNumber, formatOrdinal, formatPercent, formatPhone, formatPhoneNumber, formatRelative, formatTime, fullCalendarVariants, getContrastRatio, getFileIcon, getInitials, getLuminance, getMaskPlaceholder, getPasswordStrengthColor, getPasswordStrengthLabel, getTextColor, gridListItemVariants, gridListVariants, hexToHsl, hexToRgb, hexToRgba, hslToHex, hslToRgb, imageCropperVariants, imageVariants, infiniteScrollLoaderVariants, infiniteScrollVariants, inputOTPVariants, invert, isDarkColor, isFuture, isLightColor, isPast, isSameDay, isSameMonth, isSameYear, isToday, isTomorrow, isValidDate, isYesterday, kbdVariants, kebabCase, lighten, listItemVariants, listVariants, mask, maskCreditCard, maskEmail, maskPhone, maskedInputVariants, meetsContrastAA, meetsContrastAAA, mix, modalContentVariants, navbarVariants, navigationMenuLinkStyle, navigationMenuTriggerStyle, parseColor, parseDate, pascalCase, phoneInputVariants, pluralize, pullToRefreshVariants, qrCodeVariants, rangeSliderVariants, ratingVariants, rgbToHex, rgbToHsl, rgbaToHex, saturate, selectVariants, sentenceCase, sidebarMenuButtonVariants, signaturePadVariants, skeletonVariants, slugify, snakeCase, snippetVariants, spinnerVariants, startOfDay, startOfMonth, statCardVariants, stepVariants, stepsVariants, swipeActionVariants, swipeActionsVariants, colorMap as switchColors, tagVariants, textBadgeVariants, themeToggleVariants, timeAgo, timeInputVariants, timelineItemVariants, timelineVariants, titleCase, toggleVariants, treeItemVariants, treeVariants, truncate, truncateMiddle, unmask, useAnimatedValue, useAsync, useAsyncRetry, useBodyScrollLock, useBooleanToggle, useBreakpoint, useBreakpoints, useButtonGroup, useCarousel, useClickOutside, useClickOutsideMultiple, useConfetti, useCopy, useCopyToClipboard, useCountdown, useCounter, useCycle, useDebounce, useDebouncedCallback, useDebouncedCallbackWithControls, useDelayedValue, useDisclosure, useDisclosureOpen, useDistance, useDocumentIsVisible, useDocumentVisibility, useDocumentVisibilityCallback, useDrawer, useElementSize, useEventListener, useEventListenerRef, useFetch, useFieldContext, useFocusTrap, useFocusTrapRef, useFormContext, useFullscreen, useFullscreenRef, useGeolocation, useHotkeys, useHotkeysMap, useHover, useHoverDelay, useHoverProps, useHoverRef, useIdle, useIdleCallback, useIncrementCounter, useIntersectionObserver, useIntersectionObserverRef, useInterval, useIntervalControls, useIsDesktop, useIsMobile, useIsTablet, useKeyPress, useKeyPressed, useKeyboardShortcut, useLazyLoad, useList, useLocalStorage, useLongPress, useMap, useMediaPermission, useMediaQuery, useMouse, useMouseElement, useMouseElementRef, useMutation, useMutationObserver, useMutationObserverRef, useNotificationPermission, useOnlineStatus, useOnlineStatusCallback, usePermission, usePrefersColorScheme, usePrefersReducedMotion, usePrevious, usePreviousDistinct, usePreviousWithInitial, useQueue, useRafLoop, useRecord, useReeverUI, useResizeObserver, useResizeObserverRef, useScrollLock, useScrollPosition, useSelection, useSessionStorage, useSet, useSidebar, useSidebarSafe, useSpeechRecognition, useSpeechSynthesis, useSpotlight, useSpringValue, useStack, useThrottle, useThrottledCallback, useTimeout, useTimeoutControls, useTimeoutFlag, useTimer, useToggle, useWindowHeight, useWindowScroll, useWindowSize, useWindowWidth, userVariants, validateFile, validators };
|
|
8380
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionBar, ActionBarButton, type ActionBarProps, ActionGroup, type ActionGroupItem, type ActionGroupProps, ActionSheet, type ActionSheetItem, type ActionSheetProps, Alert, AlertDescription, type AlertRadius, AlertTitle, type AlertType, type AlertVariant, type AllowDropInfo, AreaChart, type AreaChartProps, AspectRatio, AudioPlayer, type AudioPlayerProps, type AudioTrack, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, BackTop, type BackTopProps, Badge, type BadgeProps, Banner, type BannerProps, BarChart, type BarChartProps, Blockquote, type BlockquoteProps, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Bounce, type BounceProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, type ButtonProps, type ByteFormatOptions, COUNTRIES, Calendar, type CalendarEvent, type CalendarProps, type CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselItemProps, CarouselNext, CarouselPrevious, type CarouselProps, type ChartDataPoint, type CheckInfo, Checkbox, Checkmark, type CheckmarkProps, type CheckmarkSize, type CheckmarkVariant, Chip, type ChipProps, CircularProgress, CloseButton, type CloseButtonProps, Code, CodeBlock, type CodeBlockProps, type CodeBlockTabItem, Collapse, type CollapseProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ColorArea, type ColorAreaProps, type ColorAreaValue, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderChannel, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandSeparator, CommandShortcut, type CompactFormatOptions, Confetti, type ConfettiOptions, type ConfettiProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuPortal, ContextMenuSection, type ContextMenuSectionProps, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextualHelp, type ContextualHelpProps, CopyButton, type CopyButtonProps, Counter, type CounterProps, type Country, type CurrencyFormatOptions, CurrencyInput, type CurrencyInputProps, DEFAULT_COLORS, DataTable, type DataTableProps, type DateFormat, type DateInput, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type Direction, DirectionContext, type DirectionContextValue, DirectionProvider, type DirectionProviderProps, type DragInfo, type DraggableConfig, Drawer, type DrawerBackdrop, DrawerBody, DrawerClose, type DrawerCollapsible, DrawerContent, DrawerDescription, DrawerFooter, DrawerGroup, DrawerGroupLabel, DrawerHeader, DrawerInset, DrawerMenu, DrawerMenuButton, DrawerMenuItem, type DrawerMode, type DrawerPlacement, type DrawerProps, DrawerProvider, DrawerSeparator, DrawerSidebar, type DrawerSidebarProps, type DrawerSize, DrawerTitle, DrawerToggle, DrawerTrigger, type DrawerVariant, type DropInfo, Dropdown, DropdownContent, type DropdownContentProps, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownProps, DropdownSection, type DropdownSectionProps, DropdownSeparator, type DropdownSeparatorProps, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, type DropdownSubProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, EMOJIS, EMOJI_CATEGORIES, EmojiPicker, type EmojiPickerProps, EmptyState, type EmptyStateProps, Expand, type ExpandInfo, type ExpandProps, FAB, type FABAction, Fade, type FadeProps, FieldContext, type FieldContextValue, type FieldState, type FileRejection, FileUpload, type FileUploadProps, type FlatCheckInfo, type FlatSelectInfo, Flip, type FlipDirection, type FlipProps, FloatingActionButton, type FloatingActionButtonProps, Form, FormContext, type FormContextValue, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, type FormState, type FormatOptions, FullCalendar, type FullCalendarProps, Glow, type GlowProps, GridList, type GridListItem, type GridListProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, type HSL, type HSLA, HeatmapCalendar, type HeatmapCalendarProps, type HeatmapValue, HoverCard, HoverCardContent, HoverCardTrigger, I18nContext, type I18nContextValue, I18nProvider, type I18nProviderProps, Image, ImageComparison, type ImageComparisonProps, ImageCropper, type ImageCropperProps, ImageViewer, type ImageViewerProps, ImageViewerTrigger, type ImageViewerTriggerProps, InfiniteScroll, type InfiniteScrollProps, InlineCode, type InlineCodeProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, Kbd, type KbdProps, Label, type Language, Large, type LargeProps, Lead, type LeadProps, LineChart, type LineChartProps, Link, type LinkProps, List, type ListDataItem, ListItemComponent as ListItem, type ListItemComponentProps, ListItemText, type ListItemTextProps, type ListProps, type Locale, MASK_PRESETS, type MaskChar, type MaskDefinition, type MaskPreset, MaskedInput, type MaskedInputProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSection, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, type ModalBackdrop, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, type ModalPlacement, ModalPortal, type ModalProps, ModalRoot, type ModalScrollBehavior, ModalTitle, ModalTrigger, Muted, type MutedProps, Navbar, NavbarBrand, NavbarContent, NavbarItem, NavbarLink, type NavbarProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, NumberField, type NumberFieldProps, type NumberFormatOptions, NumberInput, type NumberInputProps, PDFViewer, type PDFViewerProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationState, Paragraph, type ParagraphProps, Parallax, type ParallaxProps, PasswordInput, type PasswordInputProps, type PasswordRequirement, type PercentFormatOptions, PhoneInput, type PhoneInputProps, PieChart, type PieChartProps, Pop, type PopProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, PullToRefresh, type PullToRefreshProps, Pulse, type PulseProps, type PulseSpeed, QRCode, type QRCodeProps, type QRCodeRef, type RGB, type RGBA, RTL_LOCALES, Radio, RadioContent, type RadioContentProps, RadioControl, type RadioControlProps, RadioDescription, type RadioDescriptionProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioIndicator, type RadioIndicatorProps, RadioLabel, type RadioLabelProps, type RadioProps, type Radius, RangeSlider, type RangeSliderProps, Rating, type RatingProps, ReeverUIContext, type ReeverUIContextValue, ReeverUIProvider, type ReeverUIProviderProps, type RelativeTimeOptions, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, Ripple, type RippleProps, Rotate, type RotateProps, Scale, type ScaleOrigin, type ScaleProps, ScrollArea, type ScrollAreaProps, ScrollProgress, type ScrollProgressPosition, type ScrollProgressProps, ScrollReveal, type ScrollRevealDirection, type ScrollRevealProps, Select, SelectField, type SelectFieldProps, type SelectInfo, type SelectOption, type SelectProps, Separator, type SeparatorProps, Shake, type ShakeIntensity, type ShakeProps, Shimmer, type ShimmerDirection, type ShimmerProps, Sidebar, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, type SidebarSide, SidebarTrigger, type SidebarVariant, SignaturePad, type SignaturePadProps, type SignaturePadRef, Skeleton, SkipLink, type SkipLinkProps, Slide, type SlideDirection, type SlideProps, Slider, Small, type SmallProps, Snippet, type SortDirection, type SortState, Sparkles, type SparklesProps, Spinner, type SpotlightItem, SpotlightSearch, type SpotlightSearchProps, StatCard, Step, type StepProps, Steps, type StepsProps, type SwipeAction, SwipeActions, type SwipeActionsProps, Switch, type SwitchColor, type SwitchProps, type SwitchSize, TabbedCodeBlock, type TabbedCodeBlockProps, Table, TableBody, TableCaption, TableCell, type TableColumn, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type Tag, TagInput, type TagInputProps, TextBadge, type TextBadgeProps, TextField, type TextFieldProps, TextReveal, type TextRevealDirection, type TextRevealProps, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, TimeInput, type TimeInputProps, TimePicker, type TimePickerProps, Timeline, TimelineContent, TimelineItem, TimelineOpposite, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, Tour, type TourProps, type TourStep, type TransitionProps, Tree, type TreeNode, type TreeProps, Typewriter, type TypewriterProps, UL, type ULProps, type UploadedFile, User, type ValidationRule, VideoPlayer, type VideoPlayerProps, type VideoSource, type ViewerImage, Wiggle, type WiggleProps, WordRotate, type WordRotateProps, actionBarVariants, actionGroupVariants, actionSheetItemVariants, addDays, addHours, addMinutes, addMonths, addYears, alertVariants, alpha, applyMask, autocompleteInputVariants, avatarGroupVariants, backTopVariants, badgeIndicatorVariants, bannerVariants, bottomNavigationVariants, buttonVariants, calculatePasswordStrength, camelCase, capitalize, cardVariants, carouselVariants, chartContainerVariants, chipVariants, circularProgressVariants, closeButtonVariants, cn, codeVariants, colorAreaVariants, colorSliderVariants, colorSwatchPickerVariants, colorSwatchVariants, colorWheelVariants, complement, contextualHelpTriggerVariants, copyButtonVariants, currencyInputVariants, darken, datePickerVariants, defaultPasswordRequirements, desaturate, differenceInDays, differenceInHours, differenceInMinutes, drawerMenuButtonVariants, emojiPickerVariants, endOfDay, endOfMonth, fabVariants, fileUploadVariants, formatBytes, formatCompact, formatCreditCard, formatCurrency, formatDate, formatFileSize, formatISO, formatISODateTime, formatList, formatNumber, formatOrdinal, formatPercent, formatPhone, formatPhoneNumber, formatRelative, formatTime, fullCalendarVariants, getContrastRatio, getDirectionForLocale, getFileIcon, getInitials, getLuminance, getMaskPlaceholder, getPasswordStrengthColor, getPasswordStrengthLabel, getTextColor, gridListItemVariants, gridListVariants, hexToHsl, hexToRgb, hexToRgba, hslToHex, hslToRgb, imageCropperVariants, imageVariants, infiniteScrollLoaderVariants, infiniteScrollVariants, inputOTPVariants, invert, isDarkColor, isFuture, isLightColor, isPast, isRTLLocale, isSameDay, isSameMonth, isSameYear, isToday, isTomorrow, isValidDate, isYesterday, kbdVariants, kebabCase, lighten, listItemVariants, listVariants, mask, maskCreditCard, maskEmail, maskPhone, maskedInputVariants, meetsContrastAA, meetsContrastAAA, mix, modalContentVariants, navbarVariants, navigationMenuLinkStyle, navigationMenuTriggerStyle, parseColor, parseDate, pascalCase, phoneInputVariants, pluralize, pullToRefreshVariants, qrCodeVariants, rangeSliderVariants, ratingVariants, rgbToHex, rgbToHsl, rgbaToHex, saturate, selectVariants, sentenceCase, sidebarMenuButtonVariants, signaturePadVariants, skeletonVariants, slugify, snakeCase, snippetVariants, spinnerVariants, startOfDay, startOfMonth, statCardVariants, stepVariants, stepsVariants, swipeActionVariants, swipeActionsVariants, colorMap as switchColors, tagVariants, textBadgeVariants, themeToggleVariants, timeAgo, timeInputVariants, timelineItemVariants, timelineVariants, titleCase, toggleVariants, treeItemVariants, treeVariants, truncate, truncateMiddle, unmask, useAnimatedValue, useAsync, useAsyncRetry, useBodyScrollLock, useBooleanToggle, useBreakpoint, useBreakpoints, useButtonGroup, useCarousel, useClickOutside, useClickOutsideMultiple, useConfetti, useCopy, useCopyToClipboard, useCountdown, useCounter, useCycle, useDebounce, useDebouncedCallback, useDebouncedCallbackWithControls, useDelayedValue, useDirection, useDirectionValue, useDisclosure, useDisclosureOpen, useDistance, useDocumentIsVisible, useDocumentVisibility, useDocumentVisibilityCallback, useDrawer, useElementSize, useEventListener, useEventListenerRef, useFetch, useFieldContext, useFocusTrap, useFocusTrapRef, useFormContext, useFullscreen, useFullscreenRef, useGeolocation, useHotkeys, useHotkeysMap, useHover, useHoverDelay, useHoverProps, useHoverRef, useI18n, useIdle, useIdleCallback, useIncrementCounter, useIntersectionObserver, useIntersectionObserverRef, useInterval, useIntervalControls, useIsDesktop, useIsMobile, useIsRTL, useIsTablet, useKeyPress, useKeyPressed, useKeyboardShortcut, useLazyLoad, useList, useLocalStorage, useLocale, useLongPress, useMap, useMediaPermission, useMediaQuery, useMouse, useMouseElement, useMouseElementRef, useMutation, useMutationObserver, useMutationObserverRef, useNotificationPermission, useOnlineStatus, useOnlineStatusCallback, usePermission, usePrefersColorScheme, usePrefersReducedMotion, usePrevious, usePreviousDistinct, usePreviousWithInitial, useQueue, useRafLoop, useRecord, useReeverUI, useResizeObserver, useResizeObserverRef, useScrollLock, useScrollPosition, useSelection, useSessionStorage, useSet, useSidebar, useSidebarSafe, useSpeechRecognition, useSpeechSynthesis, useSpotlight, useSpringValue, useStack, useThrottle, useThrottledCallback, useTimeout, useTimeoutControls, useTimeoutFlag, useTimer, useToggle, useWindowHeight, useWindowScroll, useWindowSize, useWindowWidth, userVariants, validateFile, validators };
|