@parto-system-design/ui 1.1.0 → 1.1.2

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.ts CHANGED
@@ -46,6 +46,37 @@ import { BarSvgProps } from '@nivo/bar';
46
46
  import { PieSvgProps } from '@nivo/pie';
47
47
  import { HeatMapSvgProps } from '@nivo/heatmap';
48
48
 
49
+ declare function cn(...inputs: ClassValue[]): string;
50
+ type SupportedLocale = 'fa' | 'ar' | 'en';
51
+ /**
52
+ * Convert digits in a string to Persian/Arabic numerals based on locale.
53
+ * @example convertToLocalNumbers('123', 'fa') => '۱۲۳'
54
+ * @example convertToLocalNumbers('123', 'en') => '123'
55
+ */
56
+ declare function convertToLocalNumbers(text: string | number, locale: SupportedLocale): string;
57
+ /**
58
+ * Format large numbers with locale-aware suffixes (K/M/B).
59
+ * @example formatLargeNumber(1500, 'fa') => '۱.۵ه'
60
+ * @example formatLargeNumber(1500, 'en') => '1.5K'
61
+ */
62
+ declare function formatLargeNumber(num: number, locale: SupportedLocale): string;
63
+ /**
64
+ * Format number to Instagram-style short format (English only).
65
+ * @example formatNumber(123456, 'short') => '123K'
66
+ * @example formatNumber(123456, 'exact') => '123,456'
67
+ */
68
+ declare function formatNumber(num: number | undefined, format?: 'exact' | 'short'): string;
69
+ /**
70
+ * Format date to relative time with absolute on hover (Persian)
71
+ * @example formatRelativeTime(new Date()) => '۲ ساعت پیش'
72
+ */
73
+ declare function formatRelativeTime(date: Date | string | number): string;
74
+ /**
75
+ * Format date to absolute format (Persian)
76
+ * @example formatAbsoluteTime(new Date()) => '۱۵ دی ۱۴۰۳، ۱۵:۳۰'
77
+ */
78
+ declare function formatAbsoluteTime(date: Date | string | number): string;
79
+
49
80
  /**
50
81
  * Persian/Farsi month names
51
82
  */
@@ -73,7 +104,7 @@ declare function toEnglishDigits(str: string): string;
73
104
  /**
74
105
  * Format a Date object to Persian/Jalali date string
75
106
  */
76
- declare function formatJalaliDate(date: Date, formatStr?: string): string;
107
+ declare function formatJalaliDate(date: Date, format?: string): string;
77
108
  /**
78
109
  * Get Persian month name from a Date object
79
110
  */
@@ -121,24 +152,124 @@ declare function getPersianYearsForDropdown(fromYear: number, toYear: number): A
121
152
  label: string;
122
153
  }>;
123
154
 
124
- declare function cn(...inputs: ClassValue[]): string;
155
+ type EngagementTier = 'excellent' | 'veryGood' | 'good' | 'average' | 'couldBeImproved' | 'low';
156
+ type FollowerGroup = 'nano' | 'micro' | 'mid' | 'macro' | 'mega';
157
+ interface EngagementRange {
158
+ label: string;
159
+ min: number;
160
+ max: number;
161
+ color: string;
162
+ colorFaded: string;
163
+ hoverColor: string;
164
+ }
165
+ interface EngagementRangeWithDisplay extends EngagementRange {
166
+ display: string;
167
+ }
168
+ interface GroupThresholds {
169
+ followers: [number, number];
170
+ excellent: number;
171
+ veryGood: [number, number];
172
+ good: [number, number];
173
+ average: [number, number];
174
+ couldBeImproved: [number, number];
175
+ low: number;
176
+ }
177
+ declare const ENGAGEMENT_RANGES: Record<FollowerGroup, GroupThresholds>;
178
+ declare const TIER_LABELS: Record<SupportedLocale, Record<EngagementTier, string>>;
179
+ declare const GROUP_LABELS: Record<SupportedLocale, Record<FollowerGroup, string>>;
180
+ declare function getFollowerGroup(followers: number): FollowerGroup;
181
+ declare function getEngagementRanges(followers: number, locale: SupportedLocale): EngagementRangeWithDisplay[];
182
+ declare function getCurrentRangeIndex(currentRate: number, ranges: EngagementRange[]): number;
183
+
125
184
  /**
126
- * Format number to Instagram-style short format
127
- * @example formatNumber(123456, 'short') => '123K'
128
- * @example formatNumber(123456, 'exact') => '123,456'
185
+ * Default UI strings for components that need localized text.
186
+ * Persian (fa) is the default locale for backward compatibility.
129
187
  */
130
- declare function formatNumber(num: number | undefined, format?: 'exact' | 'short'): string;
188
+ declare const UI_STRINGS: {
189
+ readonly fa: {
190
+ readonly noResults: "نتیجه‌ای یافت نشد";
191
+ readonly suggestions: "پیشنهادها";
192
+ readonly select: "انتخاب کنید";
193
+ readonly noOptionsFound: "موردی یافت نشد";
194
+ readonly search: "جستجو...";
195
+ readonly clearAll: "پاک کردن همه";
196
+ readonly selectDate: "انتخاب تاریخ";
197
+ readonly selectDateRange: "انتخاب بازه تاریخ";
198
+ readonly errorLoadingData: "خطا در بارگذاری داده‌ها";
199
+ readonly retry: "تلاش مجدد";
200
+ readonly remove: "حذف";
201
+ readonly noUsersFound: "کاربری یافت نشد";
202
+ readonly goToPreviousPage: "رفتن به صفحه قبلی";
203
+ readonly goToNextPage: "رفتن به صفحه بعدی";
204
+ readonly previous: "قبلی";
205
+ readonly next: "بعدی";
206
+ readonly actions: "عملیات";
207
+ };
208
+ readonly ar: {
209
+ readonly noResults: "لم يتم العثور على نتائج";
210
+ readonly suggestions: "اقتراحات";
211
+ readonly select: "اختر";
212
+ readonly noOptionsFound: "لم يتم العثور على خيارات";
213
+ readonly search: "بحث...";
214
+ readonly clearAll: "مسح الكل";
215
+ readonly selectDate: "اختر تاريخ";
216
+ readonly selectDateRange: "اختر نطاق التاريخ";
217
+ readonly errorLoadingData: "خطأ في تحميل البيانات";
218
+ readonly retry: "إعادة المحاولة";
219
+ readonly remove: "حذف";
220
+ readonly noUsersFound: "لم يتم العثور على مستخدمين";
221
+ readonly goToPreviousPage: "الانتقال إلى الصفحة السابقة";
222
+ readonly goToNextPage: "الانتقال إلى الصفحة التالية";
223
+ readonly previous: "السابق";
224
+ readonly next: "التالي";
225
+ readonly actions: "إجراءات";
226
+ };
227
+ readonly en: {
228
+ readonly noResults: "No results found";
229
+ readonly suggestions: "Suggestions";
230
+ readonly select: "Select";
231
+ readonly noOptionsFound: "No options found";
232
+ readonly search: "Search...";
233
+ readonly clearAll: "Clear all";
234
+ readonly selectDate: "Select date";
235
+ readonly selectDateRange: "Select date range";
236
+ readonly errorLoadingData: "Error loading data";
237
+ readonly retry: "Retry";
238
+ readonly remove: "Remove";
239
+ readonly noUsersFound: "No users found";
240
+ readonly goToPreviousPage: "Go to previous page";
241
+ readonly goToNextPage: "Go to next page";
242
+ readonly previous: "Previous";
243
+ readonly next: "Next";
244
+ readonly actions: "Actions";
245
+ };
246
+ };
247
+ type UIStringKeys = keyof (typeof UI_STRINGS)['fa'];
248
+ type UIStrings = Record<UIStringKeys, string>;
131
249
  /**
132
- * Format date to relative time with absolute on hover (Persian)
133
- * @example formatRelativeTime(new Date()) => '۲ ساعت پیش'
250
+ * Get UI strings for a given locale.
251
+ * Falls back to 'fa' for unknown locales.
134
252
  */
135
- declare function formatRelativeTime(date: Date | string | number): string;
253
+ declare function getUIStrings(locale?: SupportedLocale): UIStrings;
254
+
136
255
  /**
137
- * Format date to absolute Jalali (Persian calendar) date string.
138
- * Uses moment-jalaali for accurate Gregorian Jalali conversion.
139
- * @example formatAbsoluteTime(new Date()) => '۱۵ دی ۱۴۰۳، ۱۵:۳۰'
256
+ * Standard size scale used across the design system.
257
+ * Components should accept these values for their `size` prop.
258
+ *
259
+ * Primary: xs | sm | md | lg | xl
260
+ * Legacy: tiny | small | medium | large | xlarge (deprecated, kept for backward compat)
140
261
  */
141
- declare function formatAbsoluteTime(date: Date | string | number): string;
262
+ type StandardSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
263
+ /** @deprecated Use `StandardSize` instead */
264
+ type LegacySize = 'tiny' | 'small' | 'medium' | 'large' | 'xlarge';
265
+ /** Size type that accepts both standard and legacy names during migration */
266
+ type SizeWithLegacy = StandardSize | LegacySize;
267
+ /**
268
+ * Normalizes a size value to standard names (xs|sm|md|lg|xl).
269
+ * Accepts both legacy and standard names.
270
+ * Emits a console.warn in development for legacy names.
271
+ */
272
+ declare function normalizeSize(size: SizeWithLegacy): StandardSize;
142
273
 
143
274
  type Icon = LucideIcon;
144
275
  /**
@@ -146,24 +277,34 @@ type Icon = LucideIcon;
146
277
  *
147
278
  * RTL Support Guidelines:
148
279
  * ----------------------
149
- * Directional icons (arrows, chevrons) should be flipped in RTL contexts when they
150
- * indicate navigation direction. Use Tailwind's built-in `rtl:` variant:
280
+ * Directional icons (arrows, chevrons) should be flipped in RTL contexts when they indicate navigation direction.
151
281
  *
152
- * - <Icons.arrowRight className="rtl:rotate-180" /> ← navigation/directional
153
- * - <Icons.chevronRight className="rtl:rotate-180" /> ← submenu indicators
282
+ * Usage Examples:
283
+ * - For navigation: <Icons.arrowRight className="rtl:rotate-180" />
284
+ * - For UI direction: <Icons.chevronRight className="rtl:rotate-180" />
154
285
  *
155
286
  * Icons that should NOT be flipped:
156
287
  * - Non-directional icons (check, close, settings, etc.)
157
288
  * - Icons representing real-world objects
158
289
  */
159
- /** Strongly-typed list of all icon names in the Parto Design System */
160
- type IconName = 'logo' | 'parto' | 'alertCircle' | 'alertTriangle' | 'arrowRight' | 'arrowLeft' | 'bold' | 'building' | 'calendar' | 'check' | 'chevronDown' | 'chevronLeft' | 'chevronRight' | 'chevronUp' | 'circle' | 'clock' | 'close' | 'copy' | 'download' | 'eye' | 'eyeOff' | 'file' | 'fileText' | 'gitHub' | 'heart' | 'home' | 'image' | 'images' | 'inbox' | 'info' | 'instagram' | 'italic' | 'loader' | 'menu' | 'messageCircle' | 'moon' | 'moreHorizontal' | 'moreVertical' | 'plus' | 'rocket' | 'search' | 'settings' | 'share' | 'sparkles' | 'sun' | 'trash' | 'twitter' | 'underline' | 'user' | 'users' | 'video' | 'userCheck' | 'trendingUp' | 'award' | 'crown' | 'minus' | 'imageOff' | 'externalLink' | 'gripVertical' | 'panelLeft' | 'xCircle';
161
- declare const Icons: Record<IconName, React$1.FC<React$1.SVGProps<SVGSVGElement>> | LucideIcon>;
290
+ declare const Icons: Record<string, React$1.FC<React$1.SVGProps<SVGSVGElement>> | LucideIcon>;
162
291
 
163
292
  declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
293
+ declare namespace Accordion {
294
+ var displayName: string;
295
+ }
164
296
  declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
297
+ declare namespace AccordionItem {
298
+ var displayName: string;
299
+ }
165
300
  declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
301
+ declare namespace AccordionTrigger {
302
+ var displayName: string;
303
+ }
166
304
  declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
305
+ declare namespace AccordionContent {
306
+ var displayName: string;
307
+ }
167
308
 
168
309
  declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
169
310
  variant?: "info" | "default" | "success" | "warning" | "destructive" | null | undefined;
@@ -186,7 +327,7 @@ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDia
186
327
  interface AutocompleteItem {
187
328
  value: string;
188
329
  label: string;
189
- [key: string]: any;
330
+ [key: string]: unknown;
190
331
  }
191
332
  interface AutocompleteProps<T extends AutocompleteItem = AutocompleteItem> extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "onSelect" | "size"> {
192
333
  /**
@@ -272,6 +413,11 @@ interface AutocompleteProps<T extends AutocompleteItem = AutocompleteItem> exten
272
413
  * Direction
273
414
  */
274
415
  dir?: "rtl" | "ltr";
416
+ /**
417
+ * Locale for default strings
418
+ * @default "fa"
419
+ */
420
+ locale?: SupportedLocale;
275
421
  }
276
422
  declare const Autocomplete: React$1.ForwardRefExoticComponent<AutocompleteProps<AutocompleteItem> & React$1.RefAttributes<HTMLInputElement>>;
277
423
 
@@ -281,7 +427,7 @@ interface UserItem {
281
427
  username: string;
282
428
  avatar?: string;
283
429
  followers: number;
284
- [key: string]: any;
430
+ [key: string]: unknown;
285
431
  }
286
432
  interface UserAutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "onSelect" | "size"> {
287
433
  /**
@@ -357,6 +503,11 @@ interface UserAutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInp
357
503
  * Direction
358
504
  */
359
505
  dir?: "rtl" | "ltr";
506
+ /**
507
+ * Locale for default strings
508
+ * @default "fa"
509
+ */
510
+ locale?: SupportedLocale;
360
511
  /**
361
512
  * فعال‌سازی infinite scroll
362
513
  * Enable infinite scroll
@@ -387,14 +538,26 @@ interface UserAutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInp
387
538
  declare const UserAutocomplete: React$1.ForwardRefExoticComponent<UserAutocompleteProps & React$1.RefAttributes<HTMLInputElement>>;
388
539
 
389
540
  declare function AspectRatio({ className, ...props }: React$1.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
541
+ declare namespace AspectRatio {
542
+ var displayName: string;
543
+ }
390
544
 
391
545
  declare function Avatar({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime.JSX.Element;
546
+ declare namespace Avatar {
547
+ var displayName: string;
548
+ }
392
549
  declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
550
+ declare namespace AvatarImage {
551
+ var displayName: string;
552
+ }
393
553
  declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
554
+ declare namespace AvatarFallback {
555
+ var displayName: string;
556
+ }
394
557
 
395
558
  declare const badgeVariants: (props?: ({
396
559
  variant?: "default" | "success" | "warning" | "destructive" | "secondary" | "outline" | "brand" | null | undefined;
397
- size?: "small" | "tiny" | "large" | null | undefined;
560
+ size?: "xs" | "sm" | "md" | "lg" | "tiny" | "small" | "large" | null | undefined;
398
561
  dot?: boolean | null | undefined;
399
562
  } & class_variance_authority_types.ClassProp) | undefined) => string;
400
563
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
@@ -402,22 +565,46 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProp
402
565
  dotPosition?: "start" | "end";
403
566
  }
404
567
  declare function Badge({ className, variant, size, dot, dotPosition, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
568
+ declare namespace Badge {
569
+ var displayName: string;
570
+ }
405
571
 
406
572
  declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
573
+ declare namespace Breadcrumb {
574
+ var displayName: string;
575
+ }
407
576
  declare function BreadcrumbList({ className, dir, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
577
+ declare namespace BreadcrumbList {
578
+ var displayName: string;
579
+ }
408
580
  declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
581
+ declare namespace BreadcrumbItem {
582
+ var displayName: string;
583
+ }
409
584
  declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
410
585
  asChild?: boolean;
411
586
  }): react_jsx_runtime.JSX.Element;
587
+ declare namespace BreadcrumbLink {
588
+ var displayName: string;
589
+ }
412
590
  declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
591
+ declare namespace BreadcrumbPage {
592
+ var displayName: string;
593
+ }
413
594
  declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
595
+ declare namespace BreadcrumbSeparator {
596
+ var displayName: string;
597
+ }
414
598
  declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
599
+ declare namespace BreadcrumbEllipsis {
600
+ var displayName: string;
601
+ }
415
602
 
416
603
  type ButtonVariantProps = VariantProps<typeof buttonVariants>;
417
604
  declare const buttonVariants: (props?: ({
418
605
  variant?: "link" | "text" | "default" | "warning" | "destructive" | "primary" | "secondary" | "outline" | "dashed" | "danger" | "ghost" | null | undefined;
419
606
  block?: boolean | null | undefined;
420
- size?: "small" | "default" | "tiny" | "medium" | "large" | "xlarge" | "sm" | "lg" | "icon" | null | undefined;
607
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "tiny" | "small" | "medium" | "large" | "xlarge" | "default" | "icon" | null | undefined;
421
608
  disabled?: boolean | null | undefined;
422
609
  rounded?: boolean | null | undefined;
423
610
  defaultVariants?: "size" | "variant" | null | undefined;
@@ -434,6 +621,8 @@ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>
434
621
  icon?: React.ReactNode;
435
622
  iconLeft?: React.ReactNode;
436
623
  iconRight?: React.ReactNode;
624
+ isLoading?: boolean;
625
+ /** @deprecated Use `isLoading` instead */
437
626
  loading?: boolean;
438
627
  block?: boolean;
439
628
  rounded?: boolean;
@@ -449,15 +638,24 @@ declare const buttonGroupVariants: (props?: ({
449
638
  orientation?: "horizontal" | "vertical" | null | undefined;
450
639
  } & class_variance_authority_types.ClassProp) | undefined) => string;
451
640
  declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
641
+ declare namespace ButtonGroup {
642
+ var displayName: string;
643
+ }
452
644
  declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
453
645
  asChild?: boolean;
454
646
  }): react_jsx_runtime.JSX.Element;
647
+ declare namespace ButtonGroupText {
648
+ var displayName: string;
649
+ }
455
650
  declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
651
+ declare namespace ButtonGroupSeparator {
652
+ var displayName: string;
653
+ }
456
654
 
457
655
  type CalendarProps = {
458
656
  usePersianCalendar?: boolean;
459
657
  className?: string;
460
- classNames?: any;
658
+ classNames?: Partial<Record<string, string>>;
461
659
  showOutsideDays?: boolean;
462
660
  } & (React$1.ComponentProps<typeof DayPicker> | React$1.ComponentProps<typeof DayPicker$1>);
463
661
  declare function Calendar({ className, classNames, showOutsideDays, usePersianCalendar, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
@@ -465,7 +663,13 @@ declare namespace Calendar {
465
663
  var displayName: string;
466
664
  }
467
665
 
468
- declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
666
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
667
+ /** Visual variant */
668
+ variant?: "default" | "outlined" | "elevated" | "interactive";
669
+ /** Content density / padding size */
670
+ size?: "sm" | "md" | "lg";
671
+ }
672
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
469
673
  declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
470
674
  declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
471
675
  declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
@@ -483,16 +687,43 @@ type CarouselProps = {
483
687
  setApi?: (api: CarouselApi) => void;
484
688
  };
485
689
  declare function Carousel({ orientation, opts, setApi, plugins, className, children, dir, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
690
+ declare namespace Carousel {
691
+ var displayName: string;
692
+ }
486
693
  declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
694
+ declare namespace CarouselContent {
695
+ var displayName: string;
696
+ }
487
697
  declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
698
+ declare namespace CarouselItem {
699
+ var displayName: string;
700
+ }
488
701
  declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
702
+ declare namespace CarouselPrevious {
703
+ var displayName: string;
704
+ }
489
705
  declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
706
+ declare namespace CarouselNext {
707
+ var displayName: string;
708
+ }
490
709
 
491
710
  declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
711
+ declare namespace Checkbox {
712
+ var displayName: string;
713
+ }
492
714
 
493
715
  declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
716
+ declare namespace Collapsible {
717
+ var displayName: string;
718
+ }
494
719
  declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
720
+ declare namespace CollapsibleTrigger {
721
+ var displayName: string;
722
+ }
495
723
  declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
724
+ declare namespace CollapsibleContent {
725
+ var displayName: string;
726
+ }
496
727
 
497
728
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
498
729
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -512,18 +743,45 @@ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitiv
512
743
  declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
513
744
 
514
745
  declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
746
+ declare namespace Command {
747
+ var displayName: string;
748
+ }
515
749
  declare function CommandDialog({ title, description, children, className, ...props }: React$1.ComponentProps<typeof Dialog> & {
516
750
  title?: string;
517
751
  description?: string;
518
752
  className?: string;
519
753
  }): react_jsx_runtime.JSX.Element;
754
+ declare namespace CommandDialog {
755
+ var displayName: string;
756
+ }
520
757
  declare function CommandInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
758
+ declare namespace CommandInput {
759
+ var displayName: string;
760
+ }
521
761
  declare function CommandList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
762
+ declare namespace CommandList {
763
+ var displayName: string;
764
+ }
522
765
  declare function CommandEmpty({ ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
766
+ declare namespace CommandEmpty {
767
+ var displayName: string;
768
+ }
523
769
  declare function CommandGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
770
+ declare namespace CommandGroup {
771
+ var displayName: string;
772
+ }
524
773
  declare function CommandSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
774
+ declare namespace CommandSeparator {
775
+ var displayName: string;
776
+ }
525
777
  declare function CommandItem({ className, ...props }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime.JSX.Element;
778
+ declare namespace CommandItem {
779
+ var displayName: string;
780
+ }
526
781
  declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
782
+ declare namespace CommandShortcut {
783
+ var displayName: string;
784
+ }
527
785
 
528
786
  interface CommentTag {
529
787
  title: string;
@@ -555,27 +813,72 @@ interface CommentCardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
555
813
  declare const CommentCard: React$1.ForwardRefExoticComponent<CommentCardProps & React$1.RefAttributes<HTMLDivElement>>;
556
814
 
557
815
  declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
816
+ declare namespace ContextMenu {
817
+ var displayName: string;
818
+ }
558
819
  declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
820
+ declare namespace ContextMenuTrigger {
821
+ var displayName: string;
822
+ }
559
823
  declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
824
+ declare namespace ContextMenuGroup {
825
+ var displayName: string;
826
+ }
560
827
  declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
828
+ declare namespace ContextMenuPortal {
829
+ var displayName: string;
830
+ }
561
831
  declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
832
+ declare namespace ContextMenuSub {
833
+ var displayName: string;
834
+ }
562
835
  declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
836
+ declare namespace ContextMenuRadioGroup {
837
+ var displayName: string;
838
+ }
563
839
  declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
564
840
  inset?: boolean;
565
841
  }): react_jsx_runtime.JSX.Element;
842
+ declare namespace ContextMenuSubTrigger {
843
+ var displayName: string;
844
+ }
566
845
  declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
846
+ declare namespace ContextMenuSubContent {
847
+ var displayName: string;
848
+ }
567
849
  declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
850
+ declare namespace ContextMenuContent {
851
+ var displayName: string;
852
+ }
568
853
  declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
569
854
  inset?: boolean;
570
855
  variant?: "default" | "destructive";
571
856
  }): react_jsx_runtime.JSX.Element;
857
+ declare namespace ContextMenuItem {
858
+ var displayName: string;
859
+ }
572
860
  declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
861
+ declare namespace ContextMenuCheckboxItem {
862
+ var displayName: string;
863
+ }
573
864
  declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
865
+ declare namespace ContextMenuRadioItem {
866
+ var displayName: string;
867
+ }
574
868
  declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
575
869
  inset?: boolean;
576
870
  }): react_jsx_runtime.JSX.Element;
871
+ declare namespace ContextMenuLabel {
872
+ var displayName: string;
873
+ }
577
874
  declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
875
+ declare namespace ContextMenuSeparator {
876
+ var displayName: string;
877
+ }
578
878
  declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
879
+ declare namespace ContextMenuShortcut {
880
+ var displayName: string;
881
+ }
579
882
 
580
883
  interface DatePickerProps {
581
884
  /**
@@ -614,8 +917,16 @@ interface DatePickerProps {
614
917
  * Selection mode: 'single' for single date, 'range' for date range
615
918
  */
616
919
  mode?: 'single' | 'range';
920
+ /**
921
+ * Locale for default strings
922
+ * @default derived from usePersianCalendar
923
+ */
924
+ locale?: SupportedLocale;
925
+ }
926
+ declare function DatePicker({ value, onChange, usePersianCalendar, placeholder, className, disabled, numberOfMonths, showPresets, mode, locale, }: DatePickerProps): react_jsx_runtime.JSX.Element;
927
+ declare namespace DatePicker {
928
+ var displayName: string;
617
929
  }
618
- declare function DatePicker({ value, onChange, usePersianCalendar, placeholder, className, disabled, numberOfMonths, showPresets, mode, }: DatePickerProps): react_jsx_runtime.JSX.Element;
619
930
 
620
931
  interface DateRangePickerProps {
621
932
  /**
@@ -672,76 +983,201 @@ interface DateRangePickerProps {
672
983
  toYear?: number;
673
984
  }
674
985
  declare function DateRangePicker({ value, onChange, label, placeholder, usePersianCalendar, numberOfMonths, minDate, maxDate, className, disabled, captionLayout, fromYear, toYear, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
986
+ declare namespace DateRangePicker {
987
+ var displayName: string;
988
+ }
675
989
  /**
676
990
  * Simplified version without label (inline usage)
677
991
  */
678
992
  declare function DateRangePickerInline({ value, onChange, placeholder, usePersianCalendar, numberOfMonths, minDate, maxDate, className, disabled, captionLayout, fromYear, toYear, }: Omit<DateRangePickerProps, "label">): react_jsx_runtime.JSX.Element;
993
+ declare namespace DateRangePickerInline {
994
+ var displayName: string;
995
+ }
679
996
 
680
997
  declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
998
+ declare namespace Drawer {
999
+ var displayName: string;
1000
+ }
681
1001
  declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
1002
+ declare namespace DrawerTrigger {
1003
+ var displayName: string;
1004
+ }
682
1005
  declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
1006
+ declare namespace DrawerPortal {
1007
+ var displayName: string;
1008
+ }
683
1009
  declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
1010
+ declare namespace DrawerClose {
1011
+ var displayName: string;
1012
+ }
684
1013
  declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
1014
+ declare namespace DrawerOverlay {
1015
+ var displayName: string;
1016
+ }
685
1017
  declare function DrawerContent({ className, children, ...props }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime.JSX.Element;
1018
+ declare namespace DrawerContent {
1019
+ var displayName: string;
1020
+ }
686
1021
  declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1022
+ declare namespace DrawerHeader {
1023
+ var displayName: string;
1024
+ }
687
1025
  declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1026
+ declare namespace DrawerFooter {
1027
+ var displayName: string;
1028
+ }
688
1029
  declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
1030
+ declare namespace DrawerTitle {
1031
+ var displayName: string;
1032
+ }
689
1033
  declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
1034
+ declare namespace DrawerDescription {
1035
+ var displayName: string;
1036
+ }
690
1037
 
691
1038
  declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
1039
+ declare namespace DropdownMenu {
1040
+ var displayName: string;
1041
+ }
692
1042
  declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
1043
+ declare namespace DropdownMenuPortal {
1044
+ var displayName: string;
1045
+ }
693
1046
  declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1047
+ declare namespace DropdownMenuTrigger {
1048
+ var displayName: string;
1049
+ }
694
1050
  declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
1051
+ declare namespace DropdownMenuContent {
1052
+ var displayName: string;
1053
+ }
695
1054
  declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
1055
+ declare namespace DropdownMenuGroup {
1056
+ var displayName: string;
1057
+ }
696
1058
  declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
697
1059
  inset?: boolean;
698
1060
  variant?: "default" | "destructive";
699
1061
  }): react_jsx_runtime.JSX.Element;
1062
+ declare namespace DropdownMenuItem {
1063
+ var displayName: string;
1064
+ }
700
1065
  declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
1066
+ declare namespace DropdownMenuCheckboxItem {
1067
+ var displayName: string;
1068
+ }
701
1069
  declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
1070
+ declare namespace DropdownMenuRadioGroup {
1071
+ var displayName: string;
1072
+ }
702
1073
  declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
1074
+ declare namespace DropdownMenuRadioItem {
1075
+ var displayName: string;
1076
+ }
703
1077
  declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
704
1078
  inset?: boolean;
705
1079
  }): react_jsx_runtime.JSX.Element;
1080
+ declare namespace DropdownMenuLabel {
1081
+ var displayName: string;
1082
+ }
706
1083
  declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
1084
+ declare namespace DropdownMenuSeparator {
1085
+ var displayName: string;
1086
+ }
707
1087
  declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1088
+ declare namespace DropdownMenuShortcut {
1089
+ var displayName: string;
1090
+ }
708
1091
  declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
1092
+ declare namespace DropdownMenuSub {
1093
+ var displayName: string;
1094
+ }
709
1095
  declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
710
1096
  inset?: boolean;
711
1097
  }): react_jsx_runtime.JSX.Element;
1098
+ declare namespace DropdownMenuSubTrigger {
1099
+ var displayName: string;
1100
+ }
712
1101
  declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
1102
+ declare namespace DropdownMenuSubContent {
1103
+ var displayName: string;
1104
+ }
713
1105
 
714
1106
  declare function Empty({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
715
- declare function EmptyIcon({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
716
- declare function EmptyTitle({ className, ...props }: React$1.ComponentProps<"h3">): react_jsx_runtime.JSX.Element;
717
- declare function EmptyDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
1107
+ declare namespace Empty {
1108
+ var displayName: string;
1109
+ }
1110
+ declare const EmptyIcon: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1111
+ declare const EmptyTitle: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
1112
+ declare const EmptyDescription: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
1113
+
1114
+ interface ErrorStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
1115
+ /** Error message displayed below the icon */
1116
+ message?: string;
1117
+ /** Callback to trigger a retry — when provided, shows a retry button */
1118
+ onRetry?: () => void;
1119
+ /** Retry button label */
1120
+ retryLabel?: string;
1121
+ /** Size variant controlling padding and icon/text scale */
1122
+ size?: "sm" | "md" | "lg";
1123
+ /** Locale for default strings @default "fa" */
1124
+ locale?: SupportedLocale;
1125
+ }
1126
+ declare const ErrorState: React$1.ForwardRefExoticComponent<ErrorStateProps & React$1.RefAttributes<HTMLDivElement>>;
718
1127
 
719
1128
  declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
1129
+ declare namespace Label {
1130
+ var displayName: string;
1131
+ }
720
1132
 
721
- declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
722
- declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
1133
+ declare const FieldSet: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref"> & React$1.RefAttributes<HTMLFieldSetElement>>;
1134
+ declare const FieldLegend: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLLegendElement> & React$1.HTMLAttributes<HTMLLegendElement> & {
723
1135
  variant?: "legend" | "label";
724
- }): react_jsx_runtime.JSX.Element;
725
- declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1136
+ }, "ref"> & React$1.RefAttributes<HTMLLegendElement>>;
1137
+ declare const FieldGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
726
1138
  declare const fieldVariants: (props?: ({
727
1139
  orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
728
1140
  } & class_variance_authority_types.ClassProp) | undefined) => string;
729
- declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
730
- declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
731
- declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
732
- declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
733
- declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
734
- declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
735
- children?: React.ReactNode;
1141
+ declare function Field({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
1142
+ declare namespace Field {
1143
+ var displayName: string;
1144
+ }
1145
+ declare function FieldContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1146
+ declare namespace FieldContent {
1147
+ var displayName: string;
1148
+ }
1149
+ declare function FieldLabel({ className, ...props }: React$1.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
1150
+ declare namespace FieldLabel {
1151
+ var displayName: string;
1152
+ }
1153
+ declare function FieldTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1154
+ declare namespace FieldTitle {
1155
+ var displayName: string;
1156
+ }
1157
+ declare function FieldDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
1158
+ declare namespace FieldDescription {
1159
+ var displayName: string;
1160
+ }
1161
+ declare function FieldSeparator({ children, className, ...props }: React$1.ComponentProps<"div"> & {
1162
+ children?: React$1.ReactNode;
736
1163
  }): react_jsx_runtime.JSX.Element;
737
- declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
1164
+ declare namespace FieldSeparator {
1165
+ var displayName: string;
1166
+ }
1167
+ declare function FieldError({ className, children, errors, ...props }: React$1.ComponentProps<"div"> & {
738
1168
  errors?: Array<{
739
1169
  message?: string;
740
1170
  } | undefined>;
741
1171
  }): react_jsx_runtime.JSX.Element | null;
1172
+ declare namespace FieldError {
1173
+ var displayName: string;
1174
+ }
742
1175
 
743
1176
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
744
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
1177
+ declare const FormField: {
1178
+ <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
1179
+ displayName: string;
1180
+ };
745
1181
  declare const useFormField: () => {
746
1182
  invalid: boolean;
747
1183
  isDirty: boolean;
@@ -755,19 +1191,43 @@ declare const useFormField: () => {
755
1191
  formMessageId: string;
756
1192
  };
757
1193
  declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1194
+ declare namespace FormItem {
1195
+ var displayName: string;
1196
+ }
758
1197
  declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
1198
+ declare namespace FormLabel {
1199
+ var displayName: string;
1200
+ }
759
1201
  declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot>): react_jsx_runtime.JSX.Element;
1202
+ declare namespace FormControl {
1203
+ var displayName: string;
1204
+ }
760
1205
  declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
1206
+ declare namespace FormDescription {
1207
+ var displayName: string;
1208
+ }
761
1209
  declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
1210
+ declare namespace FormMessage {
1211
+ var displayName: string;
1212
+ }
762
1213
 
763
1214
  declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
1215
+ declare namespace HoverCard {
1216
+ var displayName: string;
1217
+ }
764
1218
  declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1219
+ declare namespace HoverCardTrigger {
1220
+ var displayName: string;
1221
+ }
765
1222
  declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
1223
+ declare namespace HoverCardContent {
1224
+ var displayName: string;
1225
+ }
766
1226
 
767
1227
  interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof InputVariants> {
768
1228
  }
769
1229
  declare const InputVariants: (props?: ({
770
- size?: "small" | "tiny" | "medium" | "large" | "xlarge" | null | undefined;
1230
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "tiny" | "small" | "medium" | "large" | "xlarge" | null | undefined;
771
1231
  } & class_variance_authority_types.ClassProp) | undefined) => string;
772
1232
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
773
1233
 
@@ -806,26 +1266,56 @@ interface InputGroupProps extends React$1.ComponentProps<"div"> {
806
1266
  dir?: "ltr" | "rtl";
807
1267
  }
808
1268
  declare function InputGroup({ className, dir, ...props }: InputGroupProps): react_jsx_runtime.JSX.Element;
1269
+ declare namespace InputGroup {
1270
+ var displayName: string;
1271
+ }
809
1272
  declare const inputGroupAddonVariants: (props?: ({
810
1273
  align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
811
1274
  } & class_variance_authority_types.ClassProp) | undefined) => string;
812
1275
  declare function InputGroupAddon({ className, align, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime.JSX.Element;
1276
+ declare namespace InputGroupAddon {
1277
+ var displayName: string;
1278
+ }
813
1279
  declare const inputGroupButtonVariants: (props?: ({
814
- size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
1280
+ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
815
1281
  } & class_variance_authority_types.ClassProp) | undefined) => string;
816
1282
  declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React$1.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime.JSX.Element;
817
- declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1283
+ declare namespace InputGroupButton {
1284
+ var displayName: string;
1285
+ }
1286
+ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1287
+ declare namespace InputGroupText {
1288
+ var displayName: string;
1289
+ }
818
1290
  declare function InputGroupInput({ className, type, size, dir: dirProp, ...props }: InputProps): react_jsx_runtime.JSX.Element;
1291
+ declare namespace InputGroupInput {
1292
+ var displayName: string;
1293
+ }
819
1294
  declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
1295
+ declare namespace InputGroupTextarea {
1296
+ var displayName: string;
1297
+ }
820
1298
 
821
1299
  declare function InputOTP({ className, containerClassName, dir, ...props }: React$1.ComponentProps<typeof OTPInput> & {
822
1300
  containerClassName?: string;
823
1301
  }): react_jsx_runtime.JSX.Element;
1302
+ declare namespace InputOTP {
1303
+ var displayName: string;
1304
+ }
824
1305
  declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1306
+ declare namespace InputOTPGroup {
1307
+ var displayName: string;
1308
+ }
825
1309
  declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
826
1310
  index: number;
827
1311
  }): react_jsx_runtime.JSX.Element;
1312
+ declare namespace InputOTPSlot {
1313
+ var displayName: string;
1314
+ }
828
1315
  declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1316
+ declare namespace InputOTPSeparator {
1317
+ var displayName: string;
1318
+ }
829
1319
 
830
1320
  type MediaType = "image" | "video" | "carousel";
831
1321
  type AspectRatioType = "16:9" | "9:16" | "1:1" | "4:5" | "5:4";
@@ -872,39 +1362,116 @@ interface InstagramPostProps extends React$1.HTMLAttributes<HTMLDivElement>, Var
872
1362
  onAIAnalysis?: () => void;
873
1363
  onOpenInstagram?: () => void;
874
1364
  instagramUrl?: string;
1365
+ disableCommentAnalyzer?: boolean;
1366
+ disableBooster?: boolean;
1367
+ disableAIAnalysis?: boolean;
1368
+ disableOpenInstagram?: boolean;
875
1369
  placeholderText?: string;
1370
+ /** Text for "show more" button @default "بیشتر" */
1371
+ showMoreText?: string;
1372
+ /** Text for "show less" button @default "کمتر" */
1373
+ showLessText?: string;
876
1374
  }
877
1375
  declare const instagramPostVariants: (props?: ({
878
1376
  variant?: "horizontal" | "vertical" | null | undefined;
879
1377
  } & class_variance_authority_types.ClassProp) | undefined) => string;
880
1378
  declare const InstagramPost: React$1.ForwardRefExoticComponent<InstagramPostProps & React$1.RefAttributes<HTMLDivElement>>;
881
1379
 
1380
+ interface ItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
1381
+ /** Render as child element */
1382
+ asChild?: boolean;
1383
+ }
1384
+ declare const Item: React$1.ForwardRefExoticComponent<ItemProps & React$1.RefAttributes<HTMLDivElement>>;
1385
+ declare const ItemMedia: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1386
+ declare const ItemContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1387
+ declare const ItemTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
1388
+ declare const ItemDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
1389
+ interface ItemGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
1390
+ /** Section label rendered above the group */
1391
+ label?: string;
1392
+ }
1393
+ declare const ItemGroup: React$1.ForwardRefExoticComponent<ItemGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1394
+
882
1395
  declare function Kbd({ className, ...props }: React$1.ComponentProps<"kbd">): react_jsx_runtime.JSX.Element;
1396
+ declare namespace Kbd {
1397
+ var displayName: string;
1398
+ }
883
1399
  declare function KbdGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1400
+ declare namespace KbdGroup {
1401
+ var displayName: string;
1402
+ }
884
1403
 
885
1404
  declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
1405
+ declare namespace Menubar {
1406
+ var displayName: string;
1407
+ }
886
1408
  declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
1409
+ declare namespace MenubarMenu {
1410
+ var displayName: string;
1411
+ }
887
1412
  declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
1413
+ declare namespace MenubarGroup {
1414
+ var displayName: string;
1415
+ }
888
1416
  declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
1417
+ declare namespace MenubarPortal {
1418
+ var displayName: string;
1419
+ }
889
1420
  declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
1421
+ declare namespace MenubarRadioGroup {
1422
+ var displayName: string;
1423
+ }
890
1424
  declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1425
+ declare namespace MenubarTrigger {
1426
+ var displayName: string;
1427
+ }
891
1428
  declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
1429
+ declare namespace MenubarContent {
1430
+ var displayName: string;
1431
+ }
892
1432
  declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
893
1433
  inset?: boolean;
894
1434
  variant?: "default" | "destructive";
895
1435
  }): react_jsx_runtime.JSX.Element;
1436
+ declare namespace MenubarItem {
1437
+ var displayName: string;
1438
+ }
896
1439
  declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
1440
+ declare namespace MenubarCheckboxItem {
1441
+ var displayName: string;
1442
+ }
897
1443
  declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
1444
+ declare namespace MenubarRadioItem {
1445
+ var displayName: string;
1446
+ }
898
1447
  declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
899
1448
  inset?: boolean;
900
1449
  }): react_jsx_runtime.JSX.Element;
1450
+ declare namespace MenubarLabel {
1451
+ var displayName: string;
1452
+ }
901
1453
  declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
1454
+ declare namespace MenubarSeparator {
1455
+ var displayName: string;
1456
+ }
902
1457
  declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1458
+ declare namespace MenubarShortcut {
1459
+ var displayName: string;
1460
+ }
903
1461
  declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
1462
+ declare namespace MenubarSub {
1463
+ var displayName: string;
1464
+ }
904
1465
  declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
905
1466
  inset?: boolean;
906
1467
  }): react_jsx_runtime.JSX.Element;
1468
+ declare namespace MenubarSubTrigger {
1469
+ var displayName: string;
1470
+ }
907
1471
  declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
1472
+ declare namespace MenubarSubContent {
1473
+ var displayName: string;
1474
+ }
908
1475
 
909
1476
  interface MetricCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
910
1477
  /**
@@ -947,7 +1514,13 @@ interface MetricCardSparklineProps {
947
1514
  */
948
1515
  dataKey: string;
949
1516
  /**
950
- * Use Persian calendar for date formatting
1517
+ * Locale for number and date formatting
1518
+ * نمایش به صورت فارسی/عربی یا انگلیسی
1519
+ * @default "fa"
1520
+ */
1521
+ locale?: SupportedLocale;
1522
+ /**
1523
+ * @deprecated Use `locale="fa"` instead
951
1524
  */
952
1525
  usePersianCalendar?: boolean;
953
1526
  /**
@@ -964,31 +1537,85 @@ declare const MetricCardDifferential: React$1.ForwardRefExoticComponent<MetricCa
964
1537
  declare const MetricCardSparkline: React$1.ForwardRefExoticComponent<MetricCardSparklineProps & React$1.RefAttributes<HTMLDivElement>>;
965
1538
 
966
1539
  declare function NativeSelect({ className, ...props }: React$1.ComponentProps<"select">): react_jsx_runtime.JSX.Element;
1540
+ declare namespace NativeSelect {
1541
+ var displayName: string;
1542
+ }
967
1543
  declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
1544
+ declare namespace NativeSelectOption {
1545
+ var displayName: string;
1546
+ }
968
1547
  declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
1548
+ declare namespace NativeSelectOptGroup {
1549
+ var displayName: string;
1550
+ }
969
1551
 
970
1552
  declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
971
1553
  viewport?: boolean;
972
1554
  }): react_jsx_runtime.JSX.Element;
1555
+ declare namespace NavigationMenu {
1556
+ var displayName: string;
1557
+ }
973
1558
  declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
1559
+ declare namespace NavigationMenuList {
1560
+ var displayName: string;
1561
+ }
974
1562
  declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
1563
+ declare namespace NavigationMenuItem {
1564
+ var displayName: string;
1565
+ }
975
1566
  declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
976
1567
  declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1568
+ declare namespace NavigationMenuTrigger {
1569
+ var displayName: string;
1570
+ }
977
1571
  declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
1572
+ declare namespace NavigationMenuContent {
1573
+ var displayName: string;
1574
+ }
978
1575
  declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
1576
+ declare namespace NavigationMenuViewport {
1577
+ var displayName: string;
1578
+ }
979
1579
  declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
1580
+ declare namespace NavigationMenuLink {
1581
+ var displayName: string;
1582
+ }
980
1583
  declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
1584
+ declare namespace NavigationMenuIndicator {
1585
+ var displayName: string;
1586
+ }
981
1587
 
982
1588
  declare function Pagination({ className, dir, children, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
1589
+ declare namespace Pagination {
1590
+ var displayName: string;
1591
+ }
983
1592
  declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
1593
+ declare namespace PaginationContent {
1594
+ var displayName: string;
1595
+ }
984
1596
  declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1597
+ declare namespace PaginationItem {
1598
+ var displayName: string;
1599
+ }
985
1600
  type PaginationLinkProps = {
986
1601
  isActive?: boolean;
987
1602
  } & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
988
1603
  declare function PaginationLink({ className, isActive, size, dir, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
1604
+ declare namespace PaginationLink {
1605
+ var displayName: string;
1606
+ }
989
1607
  declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
1608
+ declare namespace PaginationPrevious {
1609
+ var displayName: string;
1610
+ }
990
1611
  declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
1612
+ declare namespace PaginationNext {
1613
+ var displayName: string;
1614
+ }
991
1615
  declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1616
+ declare namespace PaginationEllipsis {
1617
+ var displayName: string;
1618
+ }
992
1619
 
993
1620
  interface PaginationControlledProps {
994
1621
  /**
@@ -1045,6 +1672,9 @@ interface PaginationControlledProps {
1045
1672
  * ```
1046
1673
  */
1047
1674
  declare function PaginationControlled({ currentPage, totalPages, onPageChange, siblingCount, showFirstLast, showPrevNext, showEllipsis, className, dir, }: PaginationControlledProps): react_jsx_runtime.JSX.Element;
1675
+ declare namespace PaginationControlled {
1676
+ var displayName: string;
1677
+ }
1048
1678
 
1049
1679
  declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
1050
1680
  declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -1096,6 +1726,11 @@ interface ProfileCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
1096
1726
  * رنگ پس‌زمینه
1097
1727
  */
1098
1728
  variant?: "default" | "dark" | "transparent";
1729
+ /**
1730
+ * نمایش حالت بارگذاری
1731
+ * Show loading skeleton state
1732
+ */
1733
+ isLoading?: boolean;
1099
1734
  }
1100
1735
  declare const ProfileCard: React$1.ForwardRefExoticComponent<ProfileCardProps & React$1.RefAttributes<HTMLDivElement>>;
1101
1736
 
@@ -1152,6 +1787,11 @@ interface ProfileInfoProps extends React$1.HTMLAttributes<HTMLDivElement> {
1152
1787
  * رنگ پس‌زمینه
1153
1788
  */
1154
1789
  variant?: "default" | "dark" | "transparent";
1790
+ /**
1791
+ * Locale for default strings
1792
+ * @default "fa"
1793
+ */
1794
+ locale?: SupportedLocale;
1155
1795
  }
1156
1796
  declare const ProfileInfo: React$1.ForwardRefExoticComponent<ProfileInfoProps & React$1.RefAttributes<HTMLDivElement>>;
1157
1797
 
@@ -1171,13 +1811,18 @@ interface EngagementRateProps extends React$1.HTMLAttributes<HTMLDivElement> {
1171
1811
  * Display in Persian/Arabic or English
1172
1812
  * @default "fa"
1173
1813
  */
1174
- locale?: "fa" | "ar" | "en";
1814
+ locale?: SupportedLocale;
1175
1815
  /**
1176
1816
  * نمایش کارت اطلاعات دسته‌بندی
1177
1817
  * Show category information card
1178
1818
  * @default true
1179
1819
  */
1180
1820
  showCategoryCard?: boolean;
1821
+ /**
1822
+ * نمایش حالت بارگذاری
1823
+ * Show loading skeleton state
1824
+ */
1825
+ isLoading?: boolean;
1181
1826
  }
1182
1827
  declare const EngagementRate: React$1.ForwardRefExoticComponent<EngagementRateProps & React$1.RefAttributes<HTMLDivElement>>;
1183
1828
 
@@ -1197,18 +1842,24 @@ interface EngagementRateBarProps extends React$1.HTMLAttributes<HTMLDivElement>
1197
1842
  * Display in Persian/Arabic or English
1198
1843
  * @default "fa"
1199
1844
  */
1200
- locale?: "fa" | "ar" | "en";
1845
+ locale?: SupportedLocale;
1201
1846
  /**
1202
1847
  * نمایش متن راهنمای "عالی" و "پایین"
1203
1848
  * Show helper text "Excellent" and "Low"
1204
1849
  * @default true
1205
1850
  */
1206
1851
  showHelperText?: boolean;
1852
+ /**
1853
+ * نمایش حالت بارگذاری
1854
+ * Show loading skeleton state
1855
+ * @default false
1856
+ */
1857
+ isLoading?: boolean;
1207
1858
  }
1208
1859
  declare const EngagementRateBar: React$1.ForwardRefExoticComponent<EngagementRateBarProps & React$1.RefAttributes<HTMLDivElement>>;
1209
1860
 
1210
1861
  declare const progressVariants: (props?: ({
1211
- size?: "sm" | "lg" | "md" | null | undefined;
1862
+ size?: "sm" | "md" | "lg" | null | undefined;
1212
1863
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1213
1864
  declare const progressIndicatorVariants: (props?: ({
1214
1865
  variant?: "success" | "warning" | "destructive" | "primary" | "secondary" | null | undefined;
@@ -1218,9 +1869,18 @@ interface ProgressProps extends React$1.ComponentProps<typeof ProgressPrimitive.
1218
1869
  showValue?: boolean;
1219
1870
  }
1220
1871
  declare function Progress({ className, value, size, variant, label, showValue, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
1872
+ declare namespace Progress {
1873
+ var displayName: string;
1874
+ }
1221
1875
 
1222
1876
  declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
1877
+ declare namespace RadioGroup {
1878
+ var displayName: string;
1879
+ }
1223
1880
  declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
1881
+ declare namespace RadioGroupItem {
1882
+ var displayName: string;
1883
+ }
1224
1884
 
1225
1885
  declare const RadioCards: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1226
1886
  columns?: number | Record<string, number>;
@@ -1231,21 +1891,36 @@ declare const RadioCardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
1231
1891
  declare const RadioCardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
1232
1892
 
1233
1893
  declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
1894
+ declare namespace ResizablePanelGroup {
1895
+ var displayName: string;
1896
+ }
1234
1897
  declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
1898
+ declare namespace ResizablePanel {
1899
+ var displayName: string;
1900
+ }
1235
1901
  declare function ResizableHandle({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
1236
1902
  withHandle?: boolean;
1237
1903
  }): react_jsx_runtime.JSX.Element;
1904
+ declare namespace ResizableHandle {
1905
+ var displayName: string;
1906
+ }
1238
1907
 
1239
1908
  declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
1909
+ declare namespace ScrollArea {
1910
+ var displayName: string;
1911
+ }
1240
1912
  declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
1913
+ declare namespace ScrollBar {
1914
+ var displayName: string;
1915
+ }
1241
1916
 
1242
1917
  declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
1243
1918
  declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1244
1919
  declare const SelectValue: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
1245
- size?: "small" | "tiny" | "medium" | "large" | "xlarge" | null | undefined;
1920
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "tiny" | "small" | "medium" | "large" | "xlarge" | null | undefined;
1246
1921
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
1247
1922
  declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
1248
- size?: "small" | "tiny" | "medium" | "large" | "xlarge" | null | undefined;
1923
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "tiny" | "small" | "medium" | "large" | "xlarge" | null | undefined;
1249
1924
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
1250
1925
  declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1251
1926
  declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -1255,20 +1930,52 @@ declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive
1255
1930
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1256
1931
 
1257
1932
  declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
1933
+ declare namespace Sheet {
1934
+ var displayName: string;
1935
+ }
1258
1936
  declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1937
+ declare namespace SheetTrigger {
1938
+ var displayName: string;
1939
+ }
1259
1940
  declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
1941
+ declare namespace SheetClose {
1942
+ var displayName: string;
1943
+ }
1260
1944
  declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
1261
1945
  side?: "top" | "right" | "bottom" | "left";
1262
1946
  }): react_jsx_runtime.JSX.Element;
1947
+ declare namespace SheetContent {
1948
+ var displayName: string;
1949
+ }
1263
1950
  declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1951
+ declare namespace SheetHeader {
1952
+ var displayName: string;
1953
+ }
1264
1954
  declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1955
+ declare namespace SheetFooter {
1956
+ var displayName: string;
1957
+ }
1265
1958
  declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
1959
+ declare namespace SheetTitle {
1960
+ var displayName: string;
1961
+ }
1266
1962
  declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
1963
+ declare namespace SheetDescription {
1964
+ var displayName: string;
1965
+ }
1267
1966
 
1268
1967
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
1269
1968
  declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
1270
1969
  declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1271
- declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1970
+ interface TooltipContentProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> {
1971
+ /** Visual variant */
1972
+ variant?: "default" | "light" | "error";
1973
+ /** Size */
1974
+ size?: "sm" | "md";
1975
+ /** Show arrow/caret pointing to trigger */
1976
+ showArrow?: boolean;
1977
+ }
1978
+ declare const TooltipContent: React$1.ForwardRefExoticComponent<TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>;
1272
1979
 
1273
1980
  type SidebarContextProps = {
1274
1981
  state: "expanded" | "collapsed";
@@ -1310,7 +2017,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul
1310
2017
  declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
1311
2018
  declare const sidebarMenuButtonVariants: (props?: ({
1312
2019
  variant?: "default" | "outline" | null | undefined;
1313
- size?: "default" | "sm" | "lg" | null | undefined;
2020
+ size?: "sm" | "lg" | "default" | null | undefined;
1314
2021
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1315
2022
  declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
1316
2023
  asChild?: boolean;
@@ -1333,67 +2040,407 @@ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...p
1333
2040
  isActive?: boolean;
1334
2041
  }): react_jsx_runtime.JSX.Element;
1335
2042
 
1336
- declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
2043
+ declare const skeletonVariants: (props?: ({
2044
+ shape?: "circle" | "rect" | "line" | "text" | null | undefined;
2045
+ size?: "sm" | "md" | "lg" | null | undefined;
2046
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
2047
+ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
2048
+ /**
2049
+ * تعداد عناصر skeleton برای نمایش (برای shape های line و text)
2050
+ * Number of skeleton elements to repeat (for line/text shapes)
2051
+ */
2052
+ count?: number;
2053
+ }
2054
+ declare function Skeleton({ className, shape, size, count, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
2055
+ declare namespace Skeleton {
2056
+ var displayName: string;
2057
+ }
2058
+ interface MetricCardSkeletonProps {
2059
+ className?: string;
2060
+ }
2061
+ declare function MetricCardSkeleton({ className }: MetricCardSkeletonProps): react_jsx_runtime.JSX.Element;
2062
+ declare namespace MetricCardSkeleton {
2063
+ var displayName: string;
2064
+ }
2065
+ interface ChartSkeletonProps {
2066
+ className?: string;
2067
+ }
2068
+ declare function ChartSkeleton({ className }: ChartSkeletonProps): react_jsx_runtime.JSX.Element;
2069
+ declare namespace ChartSkeleton {
2070
+ var displayName: string;
2071
+ }
2072
+ interface TableSkeletonProps {
2073
+ rows?: number;
2074
+ className?: string;
2075
+ }
2076
+ declare function TableSkeleton({ rows, className }: TableSkeletonProps): react_jsx_runtime.JSX.Element;
2077
+ declare namespace TableSkeleton {
2078
+ var displayName: string;
2079
+ }
1337
2080
 
1338
2081
  declare function Slider({ className, defaultValue, value, min, max, dir, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
2082
+ declare namespace Slider {
2083
+ var displayName: string;
2084
+ }
1339
2085
 
1340
2086
  declare const SONNER_DEFAULT_DURATION = 4000;
1341
- declare const Toaster: ({ dir, position, closeButton, toastOptions, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
2087
+ interface PartoToasterProps extends ToasterProps {
2088
+ /**
2089
+ * Override the theme directly instead of reading from next-themes.
2090
+ * Useful for non-Next.js consumers.
2091
+ */
2092
+ theme?: ToasterProps["theme"];
2093
+ }
2094
+ declare const Toaster: {
2095
+ ({ dir, position, closeButton, theme: themeProp, toastOptions, ...props }: PartoToasterProps): react_jsx_runtime.JSX.Element;
2096
+ displayName: string;
2097
+ };
1342
2098
 
1343
2099
  declare function Spinner({ className, ...props }: React$1.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
2100
+ declare namespace Spinner {
2101
+ var displayName: string;
2102
+ }
1344
2103
 
1345
2104
  declare const switchRootVariants: (props?: ({
1346
- size?: "small" | "medium" | "large" | null | undefined;
2105
+ size?: "sm" | "md" | "lg" | "small" | "medium" | "large" | null | undefined;
1347
2106
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1348
2107
  interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root>, VariantProps<typeof switchRootVariants> {
1349
2108
  }
1350
2109
  declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
1351
2110
 
1352
- declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
2111
+ interface TableProps extends React$1.ComponentProps<"table"> {
2112
+ /** Size variant affecting cell padding and font size */
2113
+ size?: "sm" | "md" | "lg";
2114
+ /** Zebra-striped rows */
2115
+ striped?: boolean;
2116
+ /** Bordered cells */
2117
+ bordered?: boolean;
2118
+ /** Sticky header that stays visible when scrolling */
2119
+ stickyHeader?: boolean;
2120
+ }
2121
+ declare function Table({ className, size, striped, bordered, stickyHeader, ...props }: TableProps): react_jsx_runtime.JSX.Element;
2122
+ declare namespace Table {
2123
+ var displayName: string;
2124
+ }
1353
2125
  declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
2126
+ declare namespace TableHeader {
2127
+ var displayName: string;
2128
+ }
1354
2129
  declare function TableBody({ className, ...props }: React$1.ComponentProps<"tbody">): react_jsx_runtime.JSX.Element;
2130
+ declare namespace TableBody {
2131
+ var displayName: string;
2132
+ }
1355
2133
  declare function TableFooter({ className, ...props }: React$1.ComponentProps<"tfoot">): react_jsx_runtime.JSX.Element;
2134
+ declare namespace TableFooter {
2135
+ var displayName: string;
2136
+ }
1356
2137
  declare function TableRow({ className, ...props }: React$1.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
2138
+ declare namespace TableRow {
2139
+ var displayName: string;
2140
+ }
1357
2141
  declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
2142
+ declare namespace TableHead {
2143
+ var displayName: string;
2144
+ }
1358
2145
  declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
2146
+ declare namespace TableCell {
2147
+ var displayName: string;
2148
+ }
1359
2149
  declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
2150
+ declare namespace TableCaption {
2151
+ var displayName: string;
2152
+ }
2153
+ interface TableSortHeaderProps extends React$1.ComponentProps<"button"> {
2154
+ /** Current sort direction */
2155
+ sorted?: "asc" | "desc" | false;
2156
+ }
2157
+ declare function TableSortHeader({ className, children, sorted, ...props }: TableSortHeaderProps): react_jsx_runtime.JSX.Element;
2158
+ declare namespace TableSortHeader {
2159
+ var displayName: string;
2160
+ }
1360
2161
 
1361
2162
  declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
1362
- declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1363
- declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
2163
+ interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
2164
+ /** Visual variant */
2165
+ variant?: "default" | "underline" | "outline";
2166
+ /** Size */
2167
+ size?: "sm" | "md" | "lg";
2168
+ }
2169
+ declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
2170
+ interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> {
2171
+ /** Icon rendered before the label */
2172
+ icon?: React$1.ReactNode;
2173
+ /** Badge/count rendered after the label */
2174
+ badge?: React$1.ReactNode;
2175
+ }
2176
+ declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1364
2177
  declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1365
2178
 
1366
2179
  declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
2180
+ declare namespace Textarea {
2181
+ var displayName: string;
2182
+ }
1367
2183
 
1368
2184
  declare const toggleVariants: (props?: ({
1369
2185
  variant?: "default" | "outline" | null | undefined;
1370
- size?: "default" | "sm" | "lg" | null | undefined;
2186
+ size?: "sm" | "lg" | "default" | null | undefined;
1371
2187
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1372
2188
  declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
2189
+ declare namespace Toggle {
2190
+ var displayName: string;
2191
+ }
1373
2192
 
1374
2193
  declare function ToggleGroup({ className, variant, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
2194
+ declare namespace ToggleGroup {
2195
+ var displayName: string;
2196
+ }
1375
2197
  declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
2198
+ declare namespace ToggleGroupItem {
2199
+ var displayName: string;
2200
+ }
2201
+
2202
+ interface TrendIndicatorProps extends React$1.HTMLAttributes<HTMLSpanElement> {
2203
+ /** The percentage change value */
2204
+ value: number;
2205
+ /** Direction of the trend — auto-detected from value sign if not provided */
2206
+ direction?: "up" | "down" | "neutral";
2207
+ /** Size of the indicator */
2208
+ size?: "sm" | "md" | "lg";
2209
+ /** Locale for number formatting */
2210
+ locale?: SupportedLocale;
2211
+ /** Show the percentage sign */
2212
+ showPercent?: boolean;
2213
+ }
2214
+ declare const TrendIndicator: React$1.ForwardRefExoticComponent<TrendIndicatorProps & React$1.RefAttributes<HTMLSpanElement>>;
2215
+
2216
+ interface FilterChipProps extends React$1.HTMLAttributes<HTMLSpanElement> {
2217
+ /** Label text */
2218
+ label: string;
2219
+ /** Callback when the chip is removed */
2220
+ onRemove?: () => void;
2221
+ /** Visual variant */
2222
+ variant?: "default" | "brand" | "warning" | "destructive";
2223
+ /** Size */
2224
+ size?: "sm" | "md";
2225
+ /** Override the remove button's aria-label. Default: "حذف {label}" */
2226
+ removeAriaLabel?: string;
2227
+ /** Disables the chip and hides the remove button */
2228
+ disabled?: boolean;
2229
+ /** Locale for default strings @default "fa" */
2230
+ locale?: SupportedLocale;
2231
+ }
2232
+ declare const FilterChip: React$1.ForwardRefExoticComponent<FilterChipProps & React$1.RefAttributes<HTMLSpanElement>>;
2233
+ interface FilterChipGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
2234
+ /** Maximum visible chips before showing overflow count */
2235
+ maxVisible?: number;
2236
+ }
2237
+ declare const FilterChipGroup: React$1.ForwardRefExoticComponent<FilterChipGroupProps & React$1.RefAttributes<HTMLDivElement>>;
2238
+
2239
+ interface StatDisplayProps extends React$1.HTMLAttributes<HTMLDivElement> {
2240
+ /** The main numeric value */
2241
+ value: number | string;
2242
+ /** Label describing the stat */
2243
+ label: string;
2244
+ /** Unit suffix (e.g., "K", "%", "نفر") */
2245
+ unit?: string;
2246
+ /** Trend indicator element (use TrendIndicator component) */
2247
+ trend?: React$1.ReactNode;
2248
+ /** Size of the display */
2249
+ size?: "sm" | "md" | "lg";
2250
+ /** Locale for number formatting */
2251
+ locale?: SupportedLocale;
2252
+ /** Optional icon displayed before the value */
2253
+ icon?: React$1.ReactNode;
2254
+ /** Show loading skeleton state */
2255
+ isLoading?: boolean;
2256
+ }
2257
+ declare const StatDisplay: React$1.ForwardRefExoticComponent<StatDisplayProps & React$1.RefAttributes<HTMLDivElement>>;
2258
+
2259
+ interface SentimentBadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
2260
+ /** Sentiment type */
2261
+ sentiment: "positive" | "negative" | "neutral" | "mixed";
2262
+ /** Optional count to display */
2263
+ count?: number;
2264
+ /** Size */
2265
+ size?: "sm" | "md";
2266
+ /** Show text label alongside the icon */
2267
+ showLabel?: boolean;
2268
+ /** Locale for number/label formatting */
2269
+ locale?: SupportedLocale;
2270
+ }
2271
+ declare const SentimentBadge: React$1.ForwardRefExoticComponent<SentimentBadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
2272
+
2273
+ interface MultiSelectOption {
2274
+ value: string;
2275
+ label: string;
2276
+ disabled?: boolean;
2277
+ }
2278
+ interface MultiSelectProps {
2279
+ /** All available options */
2280
+ options: MultiSelectOption[];
2281
+ /** Currently selected values */
2282
+ value?: string[];
2283
+ /** Callback fired when selection changes */
2284
+ onValueChange?: (value: string[]) => void;
2285
+ /** Placeholder text when nothing is selected */
2286
+ placeholder?: string;
2287
+ /** Disables the entire control */
2288
+ disabled?: boolean;
2289
+ /** Shows loading skeleton in dropdown */
2290
+ isLoading?: boolean;
2291
+ /** Maximum number of items that can be selected */
2292
+ maxSelected?: number;
2293
+ /** How many selected chips to display before collapsing into a count badge */
2294
+ maxDisplayed?: number;
2295
+ /** Locale for display and default strings */
2296
+ locale?: SupportedLocale;
2297
+ /** Additional className on the trigger */
2298
+ className?: string;
2299
+ /** Empty state message */
2300
+ emptyMessage?: string;
2301
+ /** Search placeholder */
2302
+ searchPlaceholder?: string;
2303
+ }
2304
+ declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & React$1.RefAttributes<HTMLDivElement>>;
2305
+
2306
+ interface PeriodOption {
2307
+ value: string;
2308
+ label: {
2309
+ fa: string;
2310
+ en: string;
2311
+ };
2312
+ }
2313
+ declare const DEFAULT_PERIODS: PeriodOption[];
2314
+ interface PeriodSelectorProps {
2315
+ /** Currently active period value */
2316
+ value: string;
2317
+ /** Callback when a period is selected */
2318
+ onValueChange: (value: string) => void;
2319
+ /** Custom period options — defaults to the 6 standard periods */
2320
+ periods?: PeriodOption[];
2321
+ /** Display locale — affects label language */
2322
+ locale?: "fa" | "en";
2323
+ /** Size variant */
2324
+ size?: "sm" | "md";
2325
+ /** Disables all periods */
2326
+ disabled?: boolean;
2327
+ /** Additional className */
2328
+ className?: string;
2329
+ }
2330
+ declare const PeriodSelector: React$1.ForwardRefExoticComponent<PeriodSelectorProps & React$1.RefAttributes<HTMLDivElement>>;
2331
+
2332
+ type SocialPlatform = "instagram" | "twitter" | "tiktok" | "youtube" | "linkedin" | "telegram" | "threads";
2333
+ interface SocialPlatformBadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
2334
+ /** The social media platform to display */
2335
+ platform: SocialPlatform;
2336
+ /** Size of the badge */
2337
+ size?: "xs" | "sm" | "md" | "lg";
2338
+ /** Show the platform name label */
2339
+ showLabel?: boolean;
2340
+ /** Visual style of the badge */
2341
+ variant?: "flat" | "badge";
2342
+ }
2343
+ declare const SocialPlatformBadge: React$1.ForwardRefExoticComponent<SocialPlatformBadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
2344
+
2345
+ interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof InputVariants> {
2346
+ /** Locale for placeholder and aria labels */
2347
+ locale?: SupportedLocale;
2348
+ /** Show a loading spinner instead of the clear button */
2349
+ isLoading?: boolean;
2350
+ /** Called when the clear (×) button is clicked */
2351
+ onClear?: () => void;
2352
+ /** Show a filter button at the end */
2353
+ showFilterButton?: boolean;
2354
+ /** Called when the filter button is clicked */
2355
+ onFilterClick?: () => void;
2356
+ /** Whether the filter button shows an active state */
2357
+ filterActive?: boolean;
2358
+ /** Container className */
2359
+ wrapperClassName?: string;
2360
+ }
2361
+ declare const SearchInput: React$1.ForwardRefExoticComponent<SearchInputProps & React$1.RefAttributes<HTMLInputElement>>;
2362
+
2363
+ interface SentimentData {
2364
+ positive: number;
2365
+ negative: number;
2366
+ neutral: number;
2367
+ }
2368
+ interface SentimentDistributionProps extends React$1.HTMLAttributes<HTMLDivElement> {
2369
+ /** Sentiment counts (will be auto-normalized to 100%) */
2370
+ data: SentimentData;
2371
+ /** Display mode */
2372
+ variant?: "bars" | "stacked" | "compact";
2373
+ /** Show numeric count labels */
2374
+ showCounts?: boolean;
2375
+ /** Show percentage labels */
2376
+ showPercent?: boolean;
2377
+ /** Locale for number/label formatting */
2378
+ locale?: SupportedLocale;
2379
+ /** Show loading skeleton */
2380
+ isLoading?: boolean;
2381
+ }
2382
+ declare const SentimentDistribution: React$1.ForwardRefExoticComponent<SentimentDistributionProps & React$1.RefAttributes<HTMLDivElement>>;
2383
+
2384
+ interface ComparisonCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
2385
+ /** Card title */
2386
+ title: string;
2387
+ /** Optional tooltip explaining the metric */
2388
+ tooltip?: string;
2389
+ /** Optional icon shown before the title */
2390
+ icon?: React$1.ReactNode;
2391
+ /** Label for the current period (e.g. "این ماه") */
2392
+ currentLabel?: string;
2393
+ /** Label for the previous period (e.g. "ماه قبل") */
2394
+ previousLabel?: string;
2395
+ /** Current period value — formatted string or number */
2396
+ currentValue: React$1.ReactNode;
2397
+ /** Previous period value — formatted string or number */
2398
+ previousValue: React$1.ReactNode;
2399
+ /**
2400
+ * Percentage change from previous to current.
2401
+ * If omitted, the change indicator row is hidden.
2402
+ */
2403
+ changePercent?: number;
2404
+ /**
2405
+ * Whether a higher value is considered better (green).
2406
+ * @default true
2407
+ */
2408
+ higherIsBetter?: boolean;
2409
+ /** Show loading skeleton */
2410
+ isLoading?: boolean;
2411
+ /** Locale for number formatting and default labels */
2412
+ locale?: SupportedLocale;
2413
+ }
2414
+ declare const ComparisonCard: React$1.ForwardRefExoticComponent<ComparisonCardProps & React$1.RefAttributes<HTMLDivElement>>;
1376
2415
 
1377
2416
  interface PartoLineChartProps extends Omit<LineSvgProps<any>, 'theme' | 'width' | 'height'> {
1378
2417
  className?: string;
2418
+ /** Show loading skeleton instead of chart */
2419
+ isLoading?: boolean;
1379
2420
  }
1380
- declare function PartoLineChart({ className, ...props }: PartoLineChartProps): react_jsx_runtime.JSX.Element;
2421
+ declare function PartoLineChart({ className, isLoading, ...props }: PartoLineChartProps): react_jsx_runtime.JSX.Element;
1381
2422
 
1382
2423
  interface PartoBarChartProps extends Omit<BarSvgProps<any>, 'theme' | 'width' | 'height'> {
1383
2424
  className?: string;
2425
+ /** Show loading skeleton instead of chart */
2426
+ isLoading?: boolean;
1384
2427
  }
1385
- declare function PartoBarChart({ className, ...props }: PartoBarChartProps): react_jsx_runtime.JSX.Element;
2428
+ declare function PartoBarChart({ className, isLoading, ...props }: PartoBarChartProps): react_jsx_runtime.JSX.Element;
1386
2429
 
1387
2430
  interface PartoPieChartProps extends Omit<PieSvgProps<any>, 'theme' | 'width' | 'height'> {
1388
2431
  className?: string;
2432
+ /** Show loading skeleton instead of chart */
2433
+ isLoading?: boolean;
1389
2434
  }
1390
- declare function PartoPieChart({ className, ...props }: PartoPieChartProps): react_jsx_runtime.JSX.Element;
2435
+ declare function PartoPieChart({ className, isLoading, ...props }: PartoPieChartProps): react_jsx_runtime.JSX.Element;
1391
2436
 
1392
2437
  interface PartoHeatMapProps extends Omit<HeatMapSvgProps<any, any>, 'theme' | 'width' | 'height'> {
1393
2438
  className?: string;
1394
2439
  locale?: 'fa' | 'en';
2440
+ /** Show loading skeleton instead of chart */
2441
+ isLoading?: boolean;
1395
2442
  }
1396
- declare function PartoHeatMap({ className, locale, data, axisTop, axisBottom, axisLeft, axisRight, valueFormat, tooltip, margin, ...props }: PartoHeatMapProps): react_jsx_runtime.JSX.Element;
2443
+ declare function PartoHeatMap({ className, locale, isLoading, data, axisTop, axisBottom, axisLeft, axisRight, valueFormat, tooltip, margin, ...props }: PartoHeatMapProps): react_jsx_runtime.JSX.Element;
1397
2444
 
1398
2445
  interface WordData {
1399
2446
  text: string;
@@ -1401,7 +2448,9 @@ interface WordData {
1401
2448
  }
1402
2449
  interface PartoWordCloudProps {
1403
2450
  words: WordData[];
2451
+ /** Default aspect-ratio reference width; actual rendering is responsive */
1404
2452
  width?: number;
2453
+ /** Default aspect-ratio reference height; actual rendering is responsive */
1405
2454
  height?: number;
1406
2455
  className?: string;
1407
2456
  minFontSize?: number;
@@ -1411,9 +2460,13 @@ interface PartoWordCloudProps {
1411
2460
  rotate?: number;
1412
2461
  random?: () => number;
1413
2462
  fontWeight?: number;
2463
+ /** Called when a word is clicked — useful for click-to-filter behavior */
2464
+ onWordClick?: (word: WordData) => void;
2465
+ /** Show loading skeleton instead of word cloud */
2466
+ isLoading?: boolean;
1414
2467
  }
1415
- declare function PartoWordCloud({ words, width, height, className, minFontSize, maxFontSize, padding, spiral, rotate, random, fontWeight, }: PartoWordCloudProps): react_jsx_runtime.JSX.Element;
2468
+ declare function PartoWordCloud({ words, width: widthProp, height: heightProp, className, minFontSize, maxFontSize, padding, spiral, rotate, random, fontWeight, onWordClick, isLoading, }: PartoWordCloudProps): react_jsx_runtime.JSX.Element;
1416
2469
 
1417
2470
  declare function useIsMobile(): boolean;
1418
2471
 
1419
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, type AspectRatioType, Autocomplete, type AutocompleteItem, type AutocompleteProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, type ButtonVariantProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentCard, type CommentCardProps, type CommentTag, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerInline, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyDescription, EmptyIcon, EmptyTitle, EngagementRate, EngagementRateBar, type EngagementRateBarProps, type EngagementRateProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HashtagInput, type HashtagInputProps, HoverCard, HoverCardContent, HoverCardTrigger, type Icon, type IconName, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, InputVariants, InstagramPost, type InstagramPostProps, type InstagramProfileInfo, Kbd, KbdGroup, Label, type LoadingVariantProps, type MediaItem, type MediaType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCard, MetricCardContent, MetricCardDifferential, MetricCardHeader, MetricCardLabel, MetricCardSparkline, MetricCardValue, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NumberFormat, PERSIAN_MONTHS, PERSIAN_MONTHS_SHORT, PERSIAN_WEEKDAYS, PERSIAN_WEEKDAYS_SHORT, Pagination, PaginationContent, PaginationControlled, type PaginationControlledProps, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PartoBarChart, type PartoBarChartProps, PartoHeatMap, type PartoHeatMapProps, PartoLineChart, type PartoLineChartProps, PartoPieChart, type PartoPieChartProps, PartoWordCloud, type PartoWordCloudProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostStats, ProfileCard, type ProfileCardProps, ProfileInfo, type ProfileInfoProps, Progress, type ProgressProps, RadioCardDescription, RadioCardItem, RadioCardTitle, RadioCards, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, SONNER_DEFAULT_DURATION, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, type TagInputProps, Textarea, type TimeFormat, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserAutocomplete, type UserAutocompleteProps, type UserItem, type WordData, badgeVariants, buttonGroupVariants, buttonVariants, cn, formatAbsoluteTime, formatJalaliDate, formatNumber, formatPersianDateRange, formatRelativeTime, getPersianDay, getPersianMonth, getPersianMonthName, getPersianMonthNameShort, getPersianMonthsForDropdown, getPersianWeekdayName, getPersianYear, getPersianYearsForDropdown, hashtagInputVariants, instagramPostVariants, jalaliToGregorian, navigationMenuTriggerStyle, tagInputVariants, toEnglishDigits, toPersianDigits, toggleVariants, useFormField, useIsMobile, useSidebar };
2472
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, type AspectRatioType, Autocomplete, type AutocompleteItem, type AutocompleteProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, type ButtonVariantProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartSkeleton, type ChartSkeletonProps, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentCard, type CommentCardProps, type CommentTag, ComparisonCard, type ComparisonCardProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_PERIODS, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerInline, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ENGAGEMENT_RANGES, Empty, EmptyDescription, EmptyIcon, EmptyTitle, type EngagementRange, type EngagementRangeWithDisplay, EngagementRate, EngagementRateBar, type EngagementRateBarProps, type EngagementRateProps, type EngagementTier, ErrorState, type ErrorStateProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterChip, FilterChipGroup, type FilterChipProps, type FollowerGroup, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GROUP_LABELS, HashtagInput, type HashtagInputProps, HoverCard, HoverCardContent, HoverCardTrigger, type Icon, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, InputVariants, InstagramPost, type InstagramPostProps, type InstagramProfileInfo, Item, ItemContent, ItemDescription, ItemGroup, type ItemGroupProps, ItemMedia, type ItemProps, ItemTitle, Kbd, KbdGroup, Label, type LegacySize, type LoadingVariantProps, type MediaItem, type MediaType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCard, MetricCardContent, MetricCardDifferential, MetricCardHeader, MetricCardLabel, MetricCardSkeleton, type MetricCardSkeletonProps, MetricCardSparkline, MetricCardValue, MultiSelect, type MultiSelectOption, type MultiSelectProps, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NumberFormat, PERSIAN_MONTHS, PERSIAN_MONTHS_SHORT, PERSIAN_WEEKDAYS, PERSIAN_WEEKDAYS_SHORT, Pagination, PaginationContent, PaginationControlled, type PaginationControlledProps, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PartoBarChart, type PartoBarChartProps, PartoHeatMap, type PartoHeatMapProps, PartoLineChart, type PartoLineChartProps, PartoPieChart, type PartoPieChartProps, type PartoToasterProps, PartoWordCloud, type PartoWordCloudProps, type PeriodOption, PeriodSelector, type PeriodSelectorProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PostStats, ProfileCard, type ProfileCardProps, ProfileInfo, type ProfileInfoProps, Progress, type ProgressProps, RadioCardDescription, RadioCardItem, RadioCardTitle, RadioCards, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, SONNER_DEFAULT_DURATION, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SentimentBadge, type SentimentBadgeProps, type SentimentData, SentimentDistribution, type SentimentDistributionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SizeWithLegacy, Skeleton, type SkeletonProps, Slider, type SocialPlatform, SocialPlatformBadge, type SocialPlatformBadgeProps, Spinner, type StandardSize, StatDisplay, type StatDisplayProps, type SupportedLocale, Switch, type SwitchProps, TIER_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, type TableSkeletonProps, TableSortHeader, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, type TagInputProps, Textarea, type TimeFormat, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TrendIndicator, type TrendIndicatorProps, type UIStringKeys, type UIStrings, UI_STRINGS, UserAutocomplete, type UserAutocompleteProps, type UserItem, type WordData, badgeVariants, buttonGroupVariants, buttonVariants, cn, convertToLocalNumbers, formatAbsoluteTime, formatJalaliDate, formatLargeNumber, formatNumber, formatPersianDateRange, formatRelativeTime, getCurrentRangeIndex, getEngagementRanges, getFollowerGroup, getPersianDay, getPersianMonth, getPersianMonthName, getPersianMonthNameShort, getPersianMonthsForDropdown, getPersianWeekdayName, getPersianYear, getPersianYearsForDropdown, getUIStrings, hashtagInputVariants, instagramPostVariants, jalaliToGregorian, navigationMenuTriggerStyle, normalizeSize, tagInputVariants, toEnglishDigits, toPersianDigits, toggleVariants, useFormField, useIsMobile, useSidebar };