@parto-system-design/ui 1.1.8 → 1.1.11

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.css CHANGED
@@ -45,9 +45,15 @@
45
45
  .sticky {
46
46
  position: sticky;
47
47
  }
48
+ .\!start-auto {
49
+ inset-inline-start: auto !important;
50
+ }
48
51
  .start-1\/2 {
49
52
  inset-inline-start: calc(1/2 * 100%);
50
53
  }
54
+ .\!end-auto {
55
+ inset-inline-end: auto !important;
56
+ }
51
57
  .top-1\/2 {
52
58
  top: calc(1 / 2 * 100%);
53
59
  }
@@ -69,6 +75,9 @@
69
75
  .bottom-\[-0\.75rem\] {
70
76
  bottom: -0.75rem;
71
77
  }
78
+ .\!left-auto {
79
+ left: auto !important;
80
+ }
72
81
  .left-1\/2 {
73
82
  left: calc(1 / 2 * 100%);
74
83
  }
@@ -145,12 +154,6 @@
145
154
  .mt-auto {
146
155
  margin-top: auto;
147
156
  }
148
- .line-clamp-1 {
149
- overflow: hidden;
150
- display: -webkit-box;
151
- -webkit-box-orient: vertical;
152
- -webkit-line-clamp: 1;
153
- }
154
157
  .line-clamp-2 {
155
158
  overflow: hidden;
156
159
  display: -webkit-box;
@@ -232,9 +235,6 @@
232
235
  .h-\[16px\] {
233
236
  height: 16px;
234
237
  }
235
- .h-\[18px\] {
236
- height: 18px;
237
- }
238
238
  .h-\[20px\] {
239
239
  height: 20px;
240
240
  }
@@ -298,9 +298,6 @@
298
298
  .max-h-\[70vh\] {
299
299
  max-height: 70vh;
300
300
  }
301
- .max-h-\[90vh\] {
302
- max-height: 90vh;
303
- }
304
301
  .max-h-\[300px\] {
305
302
  max-height: 300px;
306
303
  }
@@ -358,12 +355,6 @@
358
355
  .w-3\/5 {
359
356
  width: calc(3 / 5 * 100%);
360
357
  }
361
- .w-4\/6 {
362
- width: calc(4 / 6 * 100%);
363
- }
364
- .w-5\/6 {
365
- width: calc(5 / 6 * 100%);
366
- }
367
358
  .w-\[--radix-popover-trigger-width\] {
368
359
  width: --radix-popover-trigger-width;
369
360
  }
@@ -373,6 +364,9 @@
373
364
  .w-\[3px\] {
374
365
  width: 3px;
375
366
  }
367
+ .w-\[6\.5rem\] {
368
+ width: 6.5rem;
369
+ }
376
370
  .w-\[28px\] {
377
371
  width: 28px;
378
372
  }
@@ -388,9 +382,6 @@
388
382
  .w-\[44px\] {
389
383
  width: 44px;
390
384
  }
391
- .w-\[95vw\] {
392
- width: 95vw;
393
- }
394
385
  .w-\[100px\] {
395
386
  width: 100px;
396
387
  }
@@ -430,6 +421,9 @@
430
421
  .max-w-\[140px\] {
431
422
  max-width: 140px;
432
423
  }
424
+ .max-w-\[240px\] {
425
+ max-width: 240px;
426
+ }
433
427
  .max-w-\[calc\(100\%-2rem\)\] {
434
428
  max-width: calc(100% - 2rem);
435
429
  }
@@ -454,9 +448,6 @@
454
448
  .min-w-\[12rem\] {
455
449
  min-width: 12rem;
456
450
  }
457
- .min-w-\[18px\] {
458
- min-width: 18px;
459
- }
460
451
  .min-w-\[80px\] {
461
452
  min-width: 80px;
462
453
  }
@@ -632,6 +623,12 @@
632
623
  .grid-cols-4 {
633
624
  grid-template-columns: repeat(4, minmax(0, 1fr));
634
625
  }
626
+ .grid-cols-\[80px_1fr_36px\] {
627
+ grid-template-columns: 80px 1fr 36px;
628
+ }
629
+ .grid-cols-\[110px_1fr\] {
630
+ grid-template-columns: 110px 1fr;
631
+ }
635
632
  .grid-cols-\[auto_auto_auto_1fr_auto_auto\] {
636
633
  grid-template-columns: auto auto auto 1fr auto auto;
637
634
  }
@@ -848,9 +845,6 @@
848
845
  .border {
849
846
  border-color: hsl(var(--border-default));
850
847
  }
851
- .border-\[hsl\(var\(--brand\)\/0\.3\)\] {
852
- border-color: hsl(var(--brand)/0.3);
853
- }
854
848
  .border-\[hsl\(var\(--brand-default\)\)\] {
855
849
  border-color: hsl(var(--brand-default));
856
850
  }
@@ -1073,15 +1067,6 @@
1073
1067
  .bg-\[hsl\(0_0\%_100\%\/0\.92\)\] {
1074
1068
  background-color: hsl(0 0% 100%/0.92);
1075
1069
  }
1076
- .bg-\[hsl\(var\(--brand\)\/0\.1\)\] {
1077
- background-color: hsl(var(--brand)/0.1);
1078
- }
1079
- .bg-\[hsl\(var\(--brand\)\/0\.04\)\] {
1080
- background-color: hsl(var(--brand)/0.04);
1081
- }
1082
- .bg-\[hsl\(var\(--brand\)\/0\.08\)\] {
1083
- background-color: hsl(var(--brand)/0.08);
1084
- }
1085
1070
  .bg-\[hsl\(var\(--brand-default\)\)\] {
1086
1071
  background-color: hsl(var(--brand-default));
1087
1072
  }
@@ -1136,9 +1121,6 @@
1136
1121
  .bg-\[hsl\(var\(--sentiment-negative\)\/0\.1\)\] {
1137
1122
  background-color: hsl(var(--sentiment-negative)/0.1);
1138
1123
  }
1139
- .bg-\[hsl\(var\(--sentiment-negative\)\/0\.05\)\] {
1140
- background-color: hsl(var(--sentiment-negative)/0.05);
1141
- }
1142
1124
  .bg-\[hsl\(var\(--sentiment-negative\)\/0\.12\)\] {
1143
1125
  background-color: hsl(var(--sentiment-negative)/0.12);
1144
1126
  }
@@ -1358,9 +1340,6 @@
1358
1340
  .bg-foreground-lighter {
1359
1341
  background-color: hsl(var(--foreground-lighter));
1360
1342
  }
1361
- .bg-foreground-muted {
1362
- background-color: hsl(var(--foreground-muted));
1363
- }
1364
1343
  .bg-foreground-muted\/60 {
1365
1344
  background-color: hsl(var(--foreground-muted));
1366
1345
  @supports (color: color-mix(in lab, red, red)) {
@@ -1526,9 +1505,6 @@
1526
1505
  .fill-\[hsl\(0_0\%_100\%\)\] {
1527
1506
  fill: hsl(0 0% 100%);
1528
1507
  }
1529
- .fill-\[hsl\(var\(--brand\)\/0\.15\)\] {
1530
- fill: hsl(var(--brand)/0.15);
1531
- }
1532
1508
  .fill-\[hsl\(var\(--brand-default\)\)\] {
1533
1509
  fill: hsl(var(--brand-default));
1534
1510
  }
@@ -1674,9 +1650,6 @@
1674
1650
  .break-words {
1675
1651
  overflow-wrap: break-word;
1676
1652
  }
1677
- .break-all {
1678
- word-break: break-all;
1679
- }
1680
1653
  .whitespace-nowrap {
1681
1654
  white-space: nowrap;
1682
1655
  }
@@ -1803,9 +1776,6 @@
1803
1776
  .text-foreground-muted {
1804
1777
  color: hsl(var(--foreground-muted));
1805
1778
  }
1806
- .text-inherit {
1807
- color: inherit;
1808
- }
1809
1779
  .text-light {
1810
1780
  color: hsl(var(--foreground-light));
1811
1781
  }
@@ -2874,6 +2844,13 @@
2874
2844
  }
2875
2845
  }
2876
2846
  }
2847
+ .hover\:bg-\[hsl\(0_0\%_0\%\/0\.7\)\] {
2848
+ &:hover {
2849
+ @media (hover: hover) {
2850
+ background-color: hsl(0 0% 0%/0.7);
2851
+ }
2852
+ }
2853
+ }
2877
2854
  .hover\:bg-\[hsl\(0_0\%_100\%\)\] {
2878
2855
  &:hover {
2879
2856
  @media (hover: hover) {
@@ -3150,14 +3127,6 @@
3150
3127
  }
3151
3128
  }
3152
3129
  }
3153
- .focus\:border-brand\/50 {
3154
- &:focus {
3155
- border-color: hsl(var(--brand-default));
3156
- @supports (color: color-mix(in lab, red, red)) {
3157
- border-color: color-mix(in oklab, hsl(var(--brand-default)) 50%, transparent);
3158
- }
3159
- }
3160
- }
3161
3130
  .focus\:bg-accent {
3162
3131
  &:focus {
3163
3132
  background-color: hsl(var(--background-surface-200));
@@ -3207,14 +3176,6 @@
3207
3176
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3208
3177
  }
3209
3178
  }
3210
- .focus\:ring-brand\/20 {
3211
- &:focus {
3212
- --tw-ring-color: hsl(var(--brand-default));
3213
- @supports (color: color-mix(in lab, red, red)) {
3214
- --tw-ring-color: color-mix(in oklab, hsl(var(--brand-default)) 20%, transparent);
3215
- }
3216
- }
3217
- }
3218
3179
  .focus\:ring-ring {
3219
3180
  &:focus {
3220
3181
  --tw-ring-color: hsl(var(--border-strong));
@@ -3245,6 +3206,11 @@
3245
3206
  border-color: hsl(var(--border-strong));
3246
3207
  }
3247
3208
  }
3209
+ .focus-visible\:bg-overlay-hover {
3210
+ &:focus-visible {
3211
+ background-color: hsl(var(--background-overlay-hover));
3212
+ }
3213
+ }
3248
3214
  .focus-visible\:text-border-control {
3249
3215
  &:focus-visible {
3250
3216
  color: hsl(var(--border-control));
package/dist/index.d.cts CHANGED
@@ -1649,7 +1649,7 @@ declare namespace DrawerDescription {
1649
1649
  var displayName: string;
1650
1650
  }
1651
1651
 
1652
- declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
1652
+ declare function DropdownMenu({ dir, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
1653
1653
  declare namespace DropdownMenu {
1654
1654
  var displayName: string;
1655
1655
  }
@@ -1671,7 +1671,7 @@ declare namespace DropdownMenuGroup {
1671
1671
  }
1672
1672
  declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
1673
1673
  inset?: boolean;
1674
- variant?: "default" | "destructive";
1674
+ variant?: 'default' | 'destructive';
1675
1675
  }): react_jsx_runtime.JSX.Element;
1676
1676
  declare namespace DropdownMenuItem {
1677
1677
  var displayName: string;
@@ -1698,7 +1698,7 @@ declare function DropdownMenuSeparator({ className, ...props }: React$1.Componen
1698
1698
  declare namespace DropdownMenuSeparator {
1699
1699
  var displayName: string;
1700
1700
  }
1701
- declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1701
+ declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
1702
1702
  declare namespace DropdownMenuShortcut {
1703
1703
  var displayName: string;
1704
1704
  }
@@ -2968,13 +2968,17 @@ declare function sourceCategory(source: PostSource): PostSourceCategory;
2968
2968
  */
2969
2969
  type PostPlatform = SocialPlatform;
2970
2970
  /**
2971
- * `view` is the canonical PostList render mode. `compact` and `comfortable` are the
2972
- * pre-existing densities; `grid` is the new magazine/visual layout.
2971
+ * Canonical render mode for `<PostList>` and `<PostCard>`:
2972
+ * - `compact` dense list row with side thumbnail and 1-line preview
2973
+ * - `comfortable` — full vertical card with header, body, media, metrics, signals
2974
+ * - `grid` — magazine/visual layout (aspect-square media-dominant tile)
2973
2975
  */
2974
2976
  type PostView = 'compact' | 'comfortable' | 'grid';
2975
2977
  /**
2976
- * @deprecated Use {@link PostView} instead. `density` is the legacy two-value alias
2977
- * (compact | comfortable) kept for backward compatibility with PostCard / PostList.
2978
+ * Two-mode subset used by sub-components that don't ship a `grid` layout
2979
+ * (`<PostHeader>`, `<PostHeaderBroadcast>`, `<PostHeaderEditorial>`,
2980
+ * `<PostMetadata>`, `<PostSignals>`). `<PostCard>` internally narrows its
2981
+ * `view` down to this when rendering those sub-components.
2978
2982
  */
2979
2983
  type PostDensity = 'compact' | 'comfortable';
2980
2984
  type PostSentiment = 'positive' | 'negative' | 'neutral' | 'mixed';
@@ -2991,6 +2995,12 @@ interface PostAuthor {
2991
2995
  verified?: boolean;
2992
2996
  /** Optional follower / subscriber count. */
2993
2997
  followers?: number;
2998
+ /** Optional following / friends count — rendered in the author HoverCard. */
2999
+ following?: number;
3000
+ /** Optional total post count — rendered in the author HoverCard. */
3001
+ postCount?: number;
3002
+ /** Short bio / description from the author's profile (1-2 sentences). */
3003
+ bio?: string;
2994
3004
  /** Influence score 0..100 — used to render the authority chip on the card. */
2995
3005
  authorityScore?: number;
2996
3006
  /** Categorical author tier inferred from follower count + engagement. */
@@ -3041,7 +3051,7 @@ interface PostMediaItem {
3041
3051
  waveformUrl?: string;
3042
3052
  }
3043
3053
  /** Open Graph–style URL preview embedded inside a text body. */
3044
- interface PostUrlPreview {
3054
+ interface PostUrlPreview$1 {
3045
3055
  url: string;
3046
3056
  domain: string;
3047
3057
  title?: string;
@@ -3094,12 +3104,12 @@ interface StoryItem {
3094
3104
  type PostBodyData = {
3095
3105
  type: 'text';
3096
3106
  text: string;
3097
- urlPreview?: PostUrlPreview;
3107
+ urlPreview?: PostUrlPreview$1;
3098
3108
  } | {
3099
3109
  type: 'media-single';
3100
3110
  media: PostMediaItem;
3101
3111
  caption?: string;
3102
- urlPreview?: PostUrlPreview;
3112
+ urlPreview?: PostUrlPreview$1;
3103
3113
  } | {
3104
3114
  type: 'media-grid';
3105
3115
  items: PostMediaItem[];
@@ -3511,10 +3521,8 @@ declare const postCardVariants: (props?: ({
3511
3521
  } & class_variance_authority_types.ClassProp) | undefined) => string;
3512
3522
  interface PostCardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onSelect'>, VariantProps<typeof postCardVariants> {
3513
3523
  post: PostData;
3514
- /** Layout mode. Replaces the legacy `density` prop. */
3524
+ /** Layout mode `compact` (dense row) · `comfortable` (full card) · `grid` (media tile). */
3515
3525
  view?: PostView;
3516
- /** @deprecated Use `view` instead. */
3517
- density?: PostDensity;
3518
3526
  selected?: boolean;
3519
3527
  /** True when the card represents the post currently open in the details drawer. */
3520
3528
  active?: boolean;
@@ -3528,6 +3536,16 @@ interface PostCardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'on
3528
3536
  onRetryMedia?: (item: PostMediaItem) => void;
3529
3537
  onClusterClick?: (cluster: NonNullable<PostData['cluster']>) => void;
3530
3538
  onAuthorClick?: (authorId: string | undefined) => void;
3539
+ /** When set, the author HoverCard surfaces a primary "مشاهده اطلاعات صفحه" button
3540
+ * that routes to the author's product profile page. */
3541
+ onAuthorProfile?: (author: NonNullable<PostData['author']>) => void;
3542
+ /** When set, the author HoverCard surfaces a secondary "صفحه‌ی تحلیل پروفایل"
3543
+ * button that routes to the deeper analytics dashboard for the author. */
3544
+ onAuthorAnalytics?: (author: NonNullable<PostData['author']>) => void;
3545
+ /** Optional translation handler — when provided AND `post.language !== 'fa'`,
3546
+ * the card surfaces a "ترجمه به فارسی" button above the body. Return the
3547
+ * translated text (may return a Promise for async LLM calls). */
3548
+ onTranslate?: (post: PostData) => Promise<string> | string;
3531
3549
  }
3532
3550
  declare const PostCard: React$1.ForwardRefExoticComponent<PostCardProps & React$1.RefAttributes<HTMLDivElement>>;
3533
3551
 
@@ -3538,11 +3556,28 @@ interface PostHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, '
3538
3556
  author: PostAuthor;
3539
3557
  platform: PostPlatform;
3540
3558
  timestamp: Date | string | number;
3559
+ /**
3560
+ * @deprecated Sentiment is now shown only in the `PostSignals` chip row to avoid
3561
+ * doubling the signal. The prop is accepted for backward compatibility but no
3562
+ * longer rendered as a dot next to the handle.
3563
+ */
3541
3564
  sentiment?: PostSentiment;
3542
3565
  enrichments?: PostEnrichmentFlags;
3543
3566
  density?: PostDensity;
3544
3567
  /** Override avatar size. */
3545
3568
  avatarClassName?: string;
3569
+ /**
3570
+ * Optional handler — when set, the author HoverCard renders a primary action
3571
+ * button "مشاهده اطلاعات صفحه" that routes to the author's dedicated profile
3572
+ * page in your product.
3573
+ */
3574
+ onAuthorProfile?: (author: PostAuthor) => void;
3575
+ /**
3576
+ * Optional handler — when set, the author HoverCard renders a secondary action
3577
+ * button "صفحه‌ی تحلیل پروفایل" that routes to the deeper analytics dashboard
3578
+ * for the author (separate from their profile page).
3579
+ */
3580
+ onAuthorAnalytics?: (author: PostAuthor) => void;
3546
3581
  }
3547
3582
  declare const PostHeader: React$1.ForwardRefExoticComponent<PostHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
3548
3583
 
@@ -3775,10 +3810,19 @@ interface PostCrisisBannerProps extends React$1.HTMLAttributes<HTMLDivElement> {
3775
3810
  declare const PostCrisisBanner: React$1.ForwardRefExoticComponent<PostCrisisBannerProps & React$1.RefAttributes<HTMLDivElement>>;
3776
3811
 
3777
3812
  interface PostUrlPreviewProps extends React$1.HTMLAttributes<HTMLAnchorElement> {
3778
- preview: PostUrlPreview;
3813
+ preview: PostUrlPreview$1;
3779
3814
  /** Compact layout (no description, smaller thumbnail). */
3780
3815
  compact?: boolean;
3781
3816
  }
3817
+ /**
3818
+ * Open-Graph–style URL preview card rendered inside a `<PostBody>` when the post
3819
+ * text contains a notable link. Acts as an anchor — opens in a new tab.
3820
+ *
3821
+ * Layout: thumbnail (when present) on inline-end, text block on inline-start.
3822
+ * In RTL that lines up so the image sits to the visual right — mirrors Slack /
3823
+ * Discord / Twitter preview cards.
3824
+ */
3825
+ declare const PostUrlPreview: React$1.ForwardRefExoticComponent<PostUrlPreviewProps & React$1.RefAttributes<HTMLAnchorElement>>;
3782
3826
 
3783
3827
  type PostGroupBy = 'none' | 'platform' | 'sentiment' | 'date';
3784
3828
  type PostSortBy = 'newest' | 'oldest' | 'engagement' | 'authority' | 'severity';
@@ -3787,10 +3831,6 @@ interface PostListProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'on
3787
3831
  /** Controlled view. If omitted, the list manages its own state (persisted to localStorage). */
3788
3832
  view?: PostView;
3789
3833
  onViewChange?: (view: PostView) => void;
3790
- /** @deprecated Use `view` instead. */
3791
- density?: PostDensity;
3792
- /** @deprecated Use `onViewChange` instead. */
3793
- onDensityChange?: (density: PostDensity) => void;
3794
3834
  /** ID of the currently open/selected post (for URL deep-linking). */
3795
3835
  activeId?: string;
3796
3836
  /** IDs of posts that have been visited (visual "read" state). */
@@ -3804,6 +3844,12 @@ interface PostListProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'on
3804
3844
  onOpenQuoted?: (post: PostData) => void;
3805
3845
  onRetryMedia?: (item: PostMediaItem) => void;
3806
3846
  onClusterClick?: (cluster: NonNullable<PostData['cluster']>) => void;
3847
+ /** Forwarded to each PostCard — drives the hover-card "go to analytics page" link. */
3848
+ onAuthorAnalytics?: (author: NonNullable<PostData['author']>) => void;
3849
+ /** Forwarded to each PostCard — drives the hover-card "view profile page" link. */
3850
+ onAuthorProfile?: (author: NonNullable<PostData['author']>) => void;
3851
+ /** Forwarded to each PostCard — drives the "ترجمه به فارسی" button on non-Persian posts. */
3852
+ onTranslate?: (post: PostData) => Promise<string> | string;
3807
3853
  /** Per-post action set. If omitted, each card uses its defaults. */
3808
3854
  actions?: PostAction[];
3809
3855
  /** Bulk actions surfaced in the floating bar when posts are selected. */
@@ -3844,92 +3890,6 @@ interface PostBulkActionBarProps extends Omit<React$1.HTMLAttributes<HTMLDivElem
3844
3890
  */
3845
3891
  declare const PostBulkActionBar: React$1.ForwardRefExoticComponent<PostBulkActionBarProps & React$1.RefAttributes<HTMLDivElement>>;
3846
3892
 
3847
- /**
3848
- * Extended platform set: social media + government broadcast/print sources
3849
- * (TV, Radio, Press). Use this for cross-platform feeds where a tracked
3850
- * topic surfaces in both an Instagram post AND a TV broadcast.
3851
- */
3852
- type ExtendedPlatform = SocialPlatform | 'tv' | 'radio' | 'press';
3853
- /**
3854
- * Metrics shape varies by platform — social posts have likes/comments,
3855
- * TV/radio clips have viewers/listeners, news articles often just have
3856
- * a share count or comment-thread total. All optional.
3857
- */
3858
- interface MultiPlatformMetrics {
3859
- likes?: number;
3860
- comments?: number;
3861
- shares?: number;
3862
- views?: number;
3863
- /** TV viewers OR radio listeners (different display label, same number type) */
3864
- audience?: number;
3865
- }
3866
- interface MultiPlatformPostData {
3867
- /** Stable id for keys + analytics */
3868
- id: string;
3869
- platform: ExtendedPlatform;
3870
- /** Outlet/account display name (e.g. "BBC فارسی", "@news_ir", "صدا و سیما"). */
3871
- sourceName: string;
3872
- /** Optional headline — typical for news + TV/radio segments, often absent on social. */
3873
- title?: React$1.ReactNode;
3874
- /** Body text or transcript excerpt. */
3875
- body: React$1.ReactNode;
3876
- /** Publication / broadcast time. Date or ISO string. */
3877
- publishedAt: Date | string;
3878
- /** Optional thumbnail (post image, article hero, video still). */
3879
- thumbnailUrl?: string;
3880
- /**
3881
- * Optional clip duration in **seconds** — only meaningful for TV / radio /
3882
- * video. Rendered as `MM:SS` or `HH:MM:SS`.
3883
- */
3884
- durationSec?: number;
3885
- metrics?: MultiPlatformMetrics;
3886
- /** Optional URL to the source. When set, the card gains an "open at source" affordance. */
3887
- sourceUrl?: string;
3888
- /** Optional language tag for the body. Renders a small chip when set. */
3889
- language?: string;
3890
- }
3891
- interface MultiPlatformPostCardProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'onClick'> {
3892
- post: MultiPlatformPostData;
3893
- /** Make the entire card clickable (opens sourceUrl in new tab if not custom) */
3894
- onCardClick?: (post: MultiPlatformPostData) => void;
3895
- /** Compact density hides body excerpt + thumbnail */
3896
- density?: 'compact' | 'comfortable';
3897
- /** Locale for labels + relative-time formatting */
3898
- locale?: SupportedLocale;
3899
- }
3900
- declare const MultiPlatformPostCard: React$1.ForwardRefExoticComponent<MultiPlatformPostCardProps & React$1.RefAttributes<HTMLElement>>;
3901
-
3902
- type PostDetailsTab$1 = 'post' | 'comments' | 'analysis' | 'transcript';
3903
- interface PostDetailsModalProps {
3904
- /** Controls modal open state. */
3905
- open: boolean;
3906
- onOpenChange: (open: boolean) => void;
3907
- /** The post being viewed. If null/undefined, the modal renders nothing. */
3908
- post?: PostData | null;
3909
- /** Extended details — comments, AI analysis, OCR, platform metadata. */
3910
- details?: PostDetails;
3911
- /** Callback when user opens the source. Falls back to `post.sourceUrl`. */
3912
- onOpenSource?: (post: PostData) => void;
3913
- /** Loading state — true while fetching extended details. */
3914
- isLoading?: boolean;
3915
- /** Error state — when set, renders an error panel with optional retry. */
3916
- error?: string | Error | null;
3917
- /** Fires when user clicks "retry" on the error panel. */
3918
- onRetry?: () => void;
3919
- /** Which tab to open first @default "post" */
3920
- defaultTab?: PostDetailsTab$1;
3921
- /** Dialog size. @default "lg" (~1024px) */
3922
- size?: 'md' | 'lg' | 'xl';
3923
- /** Show the bookmark toggle. When `onBookmark` is set, the button appears. */
3924
- bookmarked?: boolean;
3925
- onBookmark?: (post: PostData, next: boolean) => void;
3926
- /** Override default clipboard writer. */
3927
- onCopyLink?: (post: PostData, url: string) => void;
3928
- /** Extra action slot (rendered at logical-end of the top action bar — e.g. a dropdown/"more" menu). */
3929
- headerActions?: React$1.ReactNode;
3930
- }
3931
- declare const PostDetailsModal: React$1.FC<PostDetailsModalProps>;
3932
-
3933
3893
  type PostDetailsTab = 'post' | 'comments' | 'analysis' | 'transcript';
3934
3894
  interface PostDetailsDrawerProps {
3935
3895
  open?: boolean;
@@ -3954,11 +3914,18 @@ interface PostDetailsDrawerProps {
3954
3914
  onTranslate?: (post: PostData) => Promise<string> | string;
3955
3915
  /** Optional like-comment handler. */
3956
3916
  onLikeComment?: (commentId: string) => void;
3917
+ /**
3918
+ * Optional translation handler for a comment. When provided AND the comment's
3919
+ * `language !== 'fa'`, an inline "ترجمه" button appears under the comment body.
3920
+ * If the comment already has a `translatedText` cached, the toggle uses that
3921
+ * cached value and never calls this handler.
3922
+ */
3923
+ onTranslateComment?: (comment: PostComment) => Promise<string> | string;
3957
3924
  }
3958
3925
  /**
3959
- * Right-aligned side panel for inspecting a post in depth. Replaces the legacy
3960
- * `<PostDetailsModal>` as the canonical detail surface on desktop. The modal
3961
- * stays as a mobile-only fallback.
3926
+ * Right-aligned side panel for inspecting a post in depth. The single canonical
3927
+ * detail surface (Sheet handles its own mobile bottom-sheet fallback via the
3928
+ * `useIsMobile` hook inside Radix).
3962
3929
  *
3963
3930
  * Keyboard:
3964
3931
  * - Esc → close (handled by Sheet)
@@ -5606,8 +5573,8 @@ interface TopPostsSectionProps extends ReportSectionShellProps {
5606
5573
  posts: PostData[];
5607
5574
  /** Render only the first N posts. @default 5 */
5608
5575
  topN?: number;
5609
- /** Density passed through to PostList. @default 'compact' */
5610
- density?: 'compact' | 'comfortable';
5576
+ /** View mode passed through to PostList. @default 'compact' */
5577
+ view?: 'compact' | 'comfortable' | 'grid';
5611
5578
  locale?: SupportedLocale;
5612
5579
  }
5613
5580
  declare const TopPostsSection: React$1.ForwardRefExoticComponent<TopPostsSectionProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -6500,4 +6467,4 @@ interface UseFilterPresetsReturn<T extends FilterStateShape> {
6500
6467
  */
6501
6468
  declare function useFilterPresets<T extends FilterStateShape>(options: UseFilterPresetsOptions): UseFilterPresetsReturn<T>;
6502
6469
 
6503
- export { ACTION_TYPE_META, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionStatusKey, ActionTimeline, type ActionTimelineDensity, type ActionTimelineGroupBy, ActionTimelineItem, type ActionTimelineItemData, type ActionTimelineItemProps, type ActionTimelineProps, ActionTypeChip, type ActionTypeChipProps, ActionTypeKey, ActiveFiltersBar, type ActiveFiltersBarProps, ActiveFiltersClearAll, type ActiveFiltersClearAllProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedNumber, type AnimatedNumberProps, AppBar, type AppBarProps, AppLayout, AppLayoutContent, AspectRatio, type AsyncStatus, Autocomplete, type AutocompleteItem, type AutocompleteProps, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarTextSkeleton, type AvatarTextSkeletonProps, Banner, type BannerProps, type BenchmarkMarker, type BenchmarkTier, BlurBackdrop, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BulletinViewer, type BulletinViewerProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, CENTERED_CONTAINER_CLS, CHART_FONT_FAMILY, COUNTRIES, CRITERION_TIER_KEYS, Callout, CalloutDescription, type CalloutProps, CalloutTitle, CardSkeleton, type CardSkeletonProps, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartGradientLegend, type ChartGradientLegendProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartLoadingSkeleton, ChartSkeleton, type ChartSkeletonProps$1 as ChartSkeletonProps, ChartTooltip, Checkbox, CircularProgress, type CircularProgressProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandPalette, type CommandPaletteItem, type CommandPaletteProps, type CommandPaletteRecentsConfig, CommandSeparator, CommandShortcut, CommentCard, type CommentCardProps, type CommentTag, ComparisonCard, type ComparisonCardProps, type ComparisonEntity, type ComparisonMetric, ComparisonRadar, type ComparisonRadarProps, type ComparisonWinner, type CompositionScale, type ConceptComposition, type ConceptPoint, ConceptPulseChart, type ConceptPulseChartProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type Country, type CountryCode, CountryPicker, type CountryPickerProps, type CriterionInputSpec, CriterionScoreCard, type CriterionScoreCardProps, type CriterionTierKey, type CriterionTierThresholds, type CriterionTrend, DEFAULT_CRITERION_THRESHOLDS, DEFAULT_PERIODS, DEFAULT_THRESHOLDS, DataTableColumn, DataTableColumnVisibility, DataTableColumnVisibilityToggle, type DataTableColumnVisibilityToggleProps, DataTableExportButton, type DataTableExportButtonProps, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerInline, type DateRangePickerProps, Dialog, type Direction, DirectionalBox, type DirectionalBoxProps, 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, EmotionBadge, type EmotionBadgeProps, type EmotionData, EmotionDistribution, type EmotionDistributionProps, EmotionKey, Empty, EmptyAction, EmptyChart, type EmptyChartProps, type EmptyChartShape, EmptyDescription, EmptyIcon, EmptyTitle, type EngagementRange, type EngagementRangeWithDisplay, EngagementRate, EngagementRateBar, type EngagementRateBarProps, EngagementRateBenchmark, type EngagementRateBenchmarkProps, type EngagementRateProps, type EngagementTier, EntityHealthCard, EntityHealthCardActions, EntityHealthCardFooter, EntityHealthCardHeader, EntityHealthCardHeaderEnd, EntityHealthCardHeaderText, EntityHealthCardMeta, EntityHealthCardMetric, type EntityHealthCardMetricProps, EntityHealthCardMetrics, type EntityHealthCardMetricsProps, EntityHealthCardNarrative, EntityHealthCardPhase, type EntityHealthCardPhaseProps, type EntityHealthCardProps, EntityHealthCardScore, type EntityHealthCardScoreProps, EntityHealthCardSeverityBadge, type EntityHealthCardSeverityBadgeProps, EntityHealthCardSubtitle, EntityHealthCardTitle, type EntityHealthCardTitleProps, EntityHealthCardTrust, type EntityHealthCardTrustProps, EntityHealthKey, ErrorBoundary, type ErrorBoundaryProps, ErrorIllustration, ErrorState, type ErrorStateProps, type ExecutiveSummaryMetric, ExecutiveSummarySection, type ExecutiveSummarySectionProps, type ExportableColumn, type ExtendedPlatform, FOREGROUND_IMG_CLS, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterBar, FilterBarActions, type FilterBarActionsProps, FilterBarActiveFilters, type FilterBarActiveFiltersProps, FilterBarClear, type FilterBarClearProps, type FilterBarProps, FilterBarRow, type FilterBarRowProps, FilterChip, FilterChipGroup, type FilterChipProps, FilterPanel, FilterPanelBody, FilterPanelClearAll, type FilterPanelClearAllProps, FilterPanelFooter, FilterPanelHeader, type FilterPanelProps, FilterPanelTitle, type FilterPanelTitleProps, FilterPanelTrigger, type FilterPanelTriggerProps, type FilterPreset, FilterSection, type FilterSectionProps, FilterStateShape, FirstRunIllustration, FlowBadge, type FlowBadgeProps, FlowCell, type FlowCellProps, FlowData, FlowDistributionSection, type FlowDistributionSectionProps, FlowKey, type FollowerGroup, ForbiddenIllustration, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormRowSkeleton, type FormRowSkeletonProps, GROUP_LABELS, HashtagInput, type TagInputProps as HashtagInputProps, type HashtagPerformanceData, HashtagPerformanceRow, type HashtagPerformanceRowProps, type HeatMapDatum, type HeatMapRow, HotkeyCombo, HoverCard, HoverCardContent, HoverCardTrigger, IRAN_PROVINCES, type Icon, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputProps, InputVariants, InputWithIcon, type InputWithIconProps, type IranProvince, type IranProvinceSlug, JobCard, JobCardActions, JobCardError, JobCardHeader, JobCardHeaderActions, JobCardHeaderText, JobCardMeta, JobCardMetaItem, type JobCardMetaItemProps, JobCardProgress, type JobCardProgressProps, type JobCardProps, JobCardStat, type JobCardStatProps, JobCardStats, type JobCardStatsProps, JobCardStatusBadge, type JobCardStatusBadgeProps, JobCardSubtitle, JobCardThumbnail, type JobCardThumbnailProps, JobCardTitle, type JobCardTitleProps, JobStatusKey, JobWizard, type JobWizardApi, JobWizardBack, type JobWizardBackProps, JobWizardBody, JobWizardCancel, type JobWizardCancelProps, JobWizardError, JobWizardFooter, JobWizardHeader, type JobWizardHeaderProps, JobWizardNext, type JobWizardNextProps, type JobWizardProps, JobWizardSkip, type JobWizardSkipProps, JobWizardSpacer, type JobWizardStep, JobWizardStepper, type JobWizardStepperProps, type JobWizardSubmitState, JobWizardSuccess, type JobWizardSuccessProps, type JobWizardValidationResult, Kbd, KbdGroup, Label, LabelChip, type LabelChipProps, LabelEditDialog, type LabelEditDialogProps, type LegacySize, MarkdownRenderer, type MarkdownRendererProps, 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, type MultiPlatformMetrics, MultiPlatformPostCard, type MultiPlatformPostCardProps, type MultiPlatformPostData, MultiSelect, type MultiSelectOption, type MultiSelectProps, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavGroup, type NavGroupProps, NavItem, type NavItemBaseProps, type NavItemProps, type NavMatchStrategy, NavPanel, NavPanelContent, NavPanelFooter, NavPanelHeader, NavRail, NavRailContent, NavRailFooter, NavRailHeader, NavRailItem, NavRailProvider, NavRailSeparator, NavRailTrigger, NavSeparator, NavTree, type NavTreeContextValue, NavTreeProvider, type NavTreeProviderProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NetworkLink, type NetworkNode, NoDataIllustration, NoResultsIllustration, NotificationCenter, type NotificationCenterProps, type NotificationFilter, type NotificationItem, type NotificationSeverity, NumberInputLocale, type NumberInputLocaleProps, PERSIAN_MONTHS, PERSIAN_MONTHS_SHORT, PERSIAN_WEEKDAYS, PERSIAN_WEEKDAYS_SHORT, PageHeader, type PageHeaderProps, PageLoader, type PageLoaderProps, Pagination, PaginationContent, PaginationControlled, type PaginationControlledProps, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PartoHeatMap, type PartoHeatMapProps, PartoNetworkChart, type PartoNetworkChartProps, PartoRadarChart, type PartoRadarChartProps, PartoSankeyChart, type PartoSankeyChartProps, PartoScatterChart, type PartoScatterChartProps, type PartoToasterProps, PartoWordCloud, type PartoWordCloudProps, type PeriodOption, PeriodSelector, type PeriodSelectorProps, type PlatformMetadata, type PostAction, PostActions, type PostActionsProps, type PostAiAnalysis, type PostAiEntity, type PostAuthor, type PostAuthorityTier, PostBody, type PostBodyData, type PostBodyProps, type PostBulkAction, PostBulkActionBar, type PostBulkActionBarProps, PostCard, type PostCardProps, type PostCluster, type PostComment, type PostCommentAuthor, PostCrisisBanner, type PostCrisisBannerProps, type PostData, type PostDensity, type PostDetails, PostDetailsDrawer, type PostDetailsDrawerProps, PostDetailsModal, type PostDetailsModalProps, type PostDetailsTab$1 as PostDetailsTab, type PostEmotion, type PostEnrichmentFlags, type PostFlags, type PostFlow, type PostGroupBy, PostHeader, PostHeaderBroadcast, type PostHeaderBroadcastProps, PostHeaderEditorial, type PostHeaderEditorialProps, type PostHeaderProps, type PostIntent, PostList, type PostListProps, PostMedia, PostMediaAudio, PostMediaCarousel, PostMediaGrid, PostMediaHighlight, type PostMediaItem, PostMediaPlaceholder, type PostMediaPlaceholderProps, type PostMediaPlaceholderVariant, type PostMediaProps, PostMediaSensitiveOverlay, type PostMediaSensitivity, PostMediaSingle, PostMediaSourceRemoved, type PostMediaSourceRemovedProps, type PostMediaStatus, PostMediaStory, PostMediaVideo, PostMetadata, type PostMetadataProps, type PostMetrics, type PostOutlet, type PostPlatform, PostQuotedEmbed, type PostQuotedEmbedProps, PostRepostHeader, type PostRepostHeaderProps, type PostRepostInfo, type PostSentiment, type PostSeverity, PostSignals, type PostSignalsProps, type PostSortBy, type PostSource, type PostSourceCategory, type PostStatus, PostThreadConnector, type PostThreadConnectorProps, type PostThreadInfo, type PostUrlPreview, type PostUrlPreview as PostUrlPreviewData, type PostUrlPreviewProps, type PostView, type PostingFrequencyCell, PostingFrequencyHeatmap, type PostingFrequencyHeatmapProps, type PostingFrequencySummary, type PostingWeekStart, ProfileCard, type ProfileCardProps, ProfileInfo, type ProfileInfoProps, Progress, ProgressCell, type ProgressCellProps, type ProgressProps, type QuotaLevel, QuotaProgressBar, type QuotaProgressBarProps, type QuotaThresholds, RadioCardDescription, RadioCardItem, RadioCardTitle, RadioCards, RadioGroup, RadioGroupItem, RateLimitBanner, type RateLimitBannerProps, type ReactionBreakdown, RegionPicker, type RegionPickerKey, type RegionPickerProps, RegisteredHotkey, ReportComposer, type ReportComposerProps, ReportSection, type ReportSectionProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RouteProgress, type RouteProgressHandle, type RouteProgressProps, SENSITIVITY_LABEL, SONNER_DEFAULT_DURATION, SafeImage, type SafeImageProps, type SankeyLink, type SankeyNode, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, type SectionItem, SectionNavigator, type SectionNavigatorProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectTriggerVariants, SelectValue, SentimentBadge, type SentimentBadgeProps, SentimentBreakdownSection, type SentimentBreakdownSectionProps, SentimentCell, type SentimentCellProps, SentimentData, Separator, SeverityBadge, type SeverityBadgeProps, SeverityKey, ShortcutsCheatsheet, type ShortcutsCheatsheetProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SiteHeader, SiteHeaderActions, SiteHeaderEnd, type SiteHeaderProps, SiteHeaderSeparator, SiteHeaderStart, SiteHeaderSubtitle, SiteHeaderTitle, SiteHeaderTitleGroup, type SizeWithLegacy, Skeleton, type SkeletonProps, Slider, SocialPlatform, type SourceBreakdownEntry, SourceBreakdownSection, type SourceBreakdownSectionProps, SparklineCell, type SparklineCellProps, Spinner, type SpinnerProps, StageStatusKey, type StandardSize, StatDeltaCell, type StatDeltaCellProps, StatDisplay, type StatDisplayProps, StatusBadge, type StatusBadgeProps, StatusFlow, type StatusFlowOrientation, type StatusFlowProps, type StatusFlowSize, StatusFlowStage, type StatusFlowStageData, type StatusFlowStageProps, StatusKey, StatusPulseCell, type StatusPulseCellProps, Step, type StepProps, Stepper, type StepperProps, SupportedLocale, Switch, type SwitchProps, TIER_LABELS, Table, TableBody, TableCaption, TableCell, TableComparisonView, type TableComparisonViewProps, TableFooter, TableHead, TableHeader, TableRow, TableRowSkeleton, type TableRowSkeletonProps, TableSkeleton, type TableSkeletonProps, TableSortHeader, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, type TagInputProps, TaskList, type TaskListGroup, type TaskListProps, Textarea, TimelineSection, type TimelineSectionProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TooltipContent, TopPostsSection, type TopPostsSectionProps, TrendCell, type TrendCellProps, TrendIndicator, type TrendIndicatorProps, type UseAsyncReturn, type UseClipboardOptions, type UseClipboardReturn, type UseFilterParamsOptions, type UseFilterPresetsOptions, type UseFilterPresetsReturn, type UseInfiniteScrollOptions, type UseInfiniteScrollReturn, type UseJobWizardOptions, UserAutocomplete, type UserAutocompleteProps, type UserItem, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, type ViewMode, ViewToggle, type ViewToggleProps, type WordData, actionTypeChipVariants, appBarVariants, avatarGroupVariants, bannerVariants, buildCsv, buildPostingFrequencyRows, buildTsv, buttonGroupVariants, calloutVariants, computeComparisonWinners, countComparisonWins, countryFlag, defaultActions as defaultPostActions, downloadFile, findCountry, findProvince, findTierIndex, formatJalaliDate, formatPersianDateRange, getCountryLabel, getCriterionTier, getCurrentRangeIndex, getEngagementRanges, getEngagementRateBenchmarkTiers, getFollowerGroup, getMetricLabel, getPersianDay, getPersianMonth, getPersianMonthName, getPersianMonthNameShort, getPersianMonthsForDropdown, getPersianWeekdayName, getPersianYear, getPersianYearsForDropdown, getPostSourceConfig, getProvinceLabel, getScoreBenchmarkTiers, getSourceColorVar, tagInputVariants as hashtagInputVariants, jalaliToGregorian, labelChipVariants, localeAwareCategoryTick, localeAwareNumberTick, navItemVariants, navigationMenuTriggerStyle, normalizeSize, normalizeUrlDigits, pageLoaderVariants, postCardVariants, postHeaderVariants, profileCardVariants, resolveLevel, siteHeaderVariants, sourceCategory, spinnerVariants, statDisplayVariants, tagInputVariants, toEnglishDigits, toPersianDigits, toggleVariants, transformNivoLineData, useAsync, useBreakpoint, useChartTheme, useClipboard, useDebounce, useDocumentDirection, useFilterParams, useFilterPresets, useFormField, useInfiniteScroll, useIsMobile, useJobWizard, useJobWizardState, useLocalStorage, useMediaQuery, useNavRail, useNavTree, useOutsideClick, usePrevious, useRootStyles, useScrollLock, useSidebar };
6470
+ export { ACTION_TYPE_META, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionStatusKey, ActionTimeline, type ActionTimelineDensity, type ActionTimelineGroupBy, ActionTimelineItem, type ActionTimelineItemData, type ActionTimelineItemProps, type ActionTimelineProps, ActionTypeChip, type ActionTypeChipProps, ActionTypeKey, ActiveFiltersBar, type ActiveFiltersBarProps, ActiveFiltersClearAll, type ActiveFiltersClearAllProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedNumber, type AnimatedNumberProps, AppBar, type AppBarProps, AppLayout, AppLayoutContent, AspectRatio, type AsyncStatus, Autocomplete, type AutocompleteItem, type AutocompleteProps, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarTextSkeleton, type AvatarTextSkeletonProps, Banner, type BannerProps, type BenchmarkMarker, type BenchmarkTier, BlurBackdrop, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BulletinViewer, type BulletinViewerProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, CENTERED_CONTAINER_CLS, CHART_FONT_FAMILY, COUNTRIES, CRITERION_TIER_KEYS, Callout, CalloutDescription, type CalloutProps, CalloutTitle, CardSkeleton, type CardSkeletonProps, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartGradientLegend, type ChartGradientLegendProps, ChartLegend, type ChartLegendItem, type ChartLegendProps, ChartLoadingSkeleton, ChartSkeleton, type ChartSkeletonProps$1 as ChartSkeletonProps, ChartTooltip, Checkbox, CircularProgress, type CircularProgressProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandPalette, type CommandPaletteItem, type CommandPaletteProps, type CommandPaletteRecentsConfig, CommandSeparator, CommandShortcut, CommentCard, type CommentCardProps, type CommentTag, ComparisonCard, type ComparisonCardProps, type ComparisonEntity, type ComparisonMetric, ComparisonRadar, type ComparisonRadarProps, type ComparisonWinner, type CompositionScale, type ConceptComposition, type ConceptPoint, ConceptPulseChart, type ConceptPulseChartProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type Country, type CountryCode, CountryPicker, type CountryPickerProps, type CriterionInputSpec, CriterionScoreCard, type CriterionScoreCardProps, type CriterionTierKey, type CriterionTierThresholds, type CriterionTrend, DEFAULT_CRITERION_THRESHOLDS, DEFAULT_PERIODS, DEFAULT_THRESHOLDS, DataTableColumn, DataTableColumnVisibility, DataTableColumnVisibilityToggle, type DataTableColumnVisibilityToggleProps, DataTableExportButton, type DataTableExportButtonProps, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerInline, type DateRangePickerProps, Dialog, type Direction, DirectionalBox, type DirectionalBoxProps, 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, EmotionBadge, type EmotionBadgeProps, type EmotionData, EmotionDistribution, type EmotionDistributionProps, EmotionKey, Empty, EmptyAction, EmptyChart, type EmptyChartProps, type EmptyChartShape, EmptyDescription, EmptyIcon, EmptyTitle, type EngagementRange, type EngagementRangeWithDisplay, EngagementRate, EngagementRateBar, type EngagementRateBarProps, EngagementRateBenchmark, type EngagementRateBenchmarkProps, type EngagementRateProps, type EngagementTier, EntityHealthCard, EntityHealthCardActions, EntityHealthCardFooter, EntityHealthCardHeader, EntityHealthCardHeaderEnd, EntityHealthCardHeaderText, EntityHealthCardMeta, EntityHealthCardMetric, type EntityHealthCardMetricProps, EntityHealthCardMetrics, type EntityHealthCardMetricsProps, EntityHealthCardNarrative, EntityHealthCardPhase, type EntityHealthCardPhaseProps, type EntityHealthCardProps, EntityHealthCardScore, type EntityHealthCardScoreProps, EntityHealthCardSeverityBadge, type EntityHealthCardSeverityBadgeProps, EntityHealthCardSubtitle, EntityHealthCardTitle, type EntityHealthCardTitleProps, EntityHealthCardTrust, type EntityHealthCardTrustProps, EntityHealthKey, ErrorBoundary, type ErrorBoundaryProps, ErrorIllustration, ErrorState, type ErrorStateProps, type ExecutiveSummaryMetric, ExecutiveSummarySection, type ExecutiveSummarySectionProps, type ExportableColumn, FOREGROUND_IMG_CLS, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterBar, FilterBarActions, type FilterBarActionsProps, FilterBarActiveFilters, type FilterBarActiveFiltersProps, FilterBarClear, type FilterBarClearProps, type FilterBarProps, FilterBarRow, type FilterBarRowProps, FilterChip, FilterChipGroup, type FilterChipProps, FilterPanel, FilterPanelBody, FilterPanelClearAll, type FilterPanelClearAllProps, FilterPanelFooter, FilterPanelHeader, type FilterPanelProps, FilterPanelTitle, type FilterPanelTitleProps, FilterPanelTrigger, type FilterPanelTriggerProps, type FilterPreset, FilterSection, type FilterSectionProps, FilterStateShape, FirstRunIllustration, FlowBadge, type FlowBadgeProps, FlowCell, type FlowCellProps, FlowData, FlowDistributionSection, type FlowDistributionSectionProps, FlowKey, type FollowerGroup, ForbiddenIllustration, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormRowSkeleton, type FormRowSkeletonProps, GROUP_LABELS, HashtagInput, type TagInputProps as HashtagInputProps, type HashtagPerformanceData, HashtagPerformanceRow, type HashtagPerformanceRowProps, type HeatMapDatum, type HeatMapRow, HotkeyCombo, HoverCard, HoverCardContent, HoverCardTrigger, IRAN_PROVINCES, type Icon, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputProps, InputVariants, InputWithIcon, type InputWithIconProps, type IranProvince, type IranProvinceSlug, JobCard, JobCardActions, JobCardError, JobCardHeader, JobCardHeaderActions, JobCardHeaderText, JobCardMeta, JobCardMetaItem, type JobCardMetaItemProps, JobCardProgress, type JobCardProgressProps, type JobCardProps, JobCardStat, type JobCardStatProps, JobCardStats, type JobCardStatsProps, JobCardStatusBadge, type JobCardStatusBadgeProps, JobCardSubtitle, JobCardThumbnail, type JobCardThumbnailProps, JobCardTitle, type JobCardTitleProps, JobStatusKey, JobWizard, type JobWizardApi, JobWizardBack, type JobWizardBackProps, JobWizardBody, JobWizardCancel, type JobWizardCancelProps, JobWizardError, JobWizardFooter, JobWizardHeader, type JobWizardHeaderProps, JobWizardNext, type JobWizardNextProps, type JobWizardProps, JobWizardSkip, type JobWizardSkipProps, JobWizardSpacer, type JobWizardStep, JobWizardStepper, type JobWizardStepperProps, type JobWizardSubmitState, JobWizardSuccess, type JobWizardSuccessProps, type JobWizardValidationResult, Kbd, KbdGroup, Label, LabelChip, type LabelChipProps, LabelEditDialog, type LabelEditDialogProps, type LegacySize, MarkdownRenderer, type MarkdownRendererProps, 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, NavGroup, type NavGroupProps, NavItem, type NavItemBaseProps, type NavItemProps, type NavMatchStrategy, NavPanel, NavPanelContent, NavPanelFooter, NavPanelHeader, NavRail, NavRailContent, NavRailFooter, NavRailHeader, NavRailItem, NavRailProvider, NavRailSeparator, NavRailTrigger, NavSeparator, NavTree, type NavTreeContextValue, NavTreeProvider, type NavTreeProviderProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NetworkLink, type NetworkNode, NoDataIllustration, NoResultsIllustration, NotificationCenter, type NotificationCenterProps, type NotificationFilter, type NotificationItem, type NotificationSeverity, NumberInputLocale, type NumberInputLocaleProps, PERSIAN_MONTHS, PERSIAN_MONTHS_SHORT, PERSIAN_WEEKDAYS, PERSIAN_WEEKDAYS_SHORT, PageHeader, type PageHeaderProps, PageLoader, type PageLoaderProps, Pagination, PaginationContent, PaginationControlled, type PaginationControlledProps, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PartoHeatMap, type PartoHeatMapProps, PartoNetworkChart, type PartoNetworkChartProps, PartoRadarChart, type PartoRadarChartProps, PartoSankeyChart, type PartoSankeyChartProps, PartoScatterChart, type PartoScatterChartProps, type PartoToasterProps, PartoWordCloud, type PartoWordCloudProps, type PeriodOption, PeriodSelector, type PeriodSelectorProps, type PlatformMetadata, type PostAction, PostActions, type PostActionsProps, type PostAiAnalysis, type PostAiEntity, type PostAuthor, type PostAuthorityTier, PostBody, type PostBodyData, type PostBodyProps, type PostBulkAction, PostBulkActionBar, type PostBulkActionBarProps, PostCard, type PostCardProps, type PostCluster, type PostComment, type PostCommentAuthor, PostCrisisBanner, type PostCrisisBannerProps, type PostData, type PostDensity, type PostDetails, PostDetailsDrawer, type PostDetailsDrawerProps, type PostDetailsTab, type PostEmotion, type PostEnrichmentFlags, type PostFlags, type PostFlow, type PostGroupBy, PostHeader, PostHeaderBroadcast, type PostHeaderBroadcastProps, PostHeaderEditorial, type PostHeaderEditorialProps, type PostHeaderProps, type PostIntent, PostList, type PostListProps, PostMedia, PostMediaAudio, PostMediaCarousel, PostMediaGrid, PostMediaHighlight, type PostMediaItem, PostMediaPlaceholder, type PostMediaPlaceholderProps, type PostMediaPlaceholderVariant, type PostMediaProps, PostMediaSensitiveOverlay, type PostMediaSensitivity, PostMediaSingle, PostMediaSourceRemoved, type PostMediaSourceRemovedProps, type PostMediaStatus, PostMediaStory, PostMediaVideo, PostMetadata, type PostMetadataProps, type PostMetrics, type PostOutlet, type PostPlatform, PostQuotedEmbed, type PostQuotedEmbedProps, PostRepostHeader, type PostRepostHeaderProps, type PostRepostInfo, type PostSentiment, type PostSeverity, PostSignals, type PostSignalsProps, type PostSortBy, type PostSource, type PostSourceCategory, type PostStatus, PostThreadConnector, type PostThreadConnectorProps, type PostThreadInfo, PostUrlPreview, type PostUrlPreview$1 as PostUrlPreviewData, type PostUrlPreviewProps, type PostUrlPreview$1 as PostUrlPreviewSnapshot, type PostView, type PostingFrequencyCell, PostingFrequencyHeatmap, type PostingFrequencyHeatmapProps, type PostingFrequencySummary, type PostingWeekStart, ProfileCard, type ProfileCardProps, ProfileInfo, type ProfileInfoProps, Progress, ProgressCell, type ProgressCellProps, type ProgressProps, type QuotaLevel, QuotaProgressBar, type QuotaProgressBarProps, type QuotaThresholds, RadioCardDescription, RadioCardItem, RadioCardTitle, RadioCards, RadioGroup, RadioGroupItem, RateLimitBanner, type RateLimitBannerProps, type ReactionBreakdown, RegionPicker, type RegionPickerKey, type RegionPickerProps, RegisteredHotkey, ReportComposer, type ReportComposerProps, ReportSection, type ReportSectionProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RouteProgress, type RouteProgressHandle, type RouteProgressProps, SENSITIVITY_LABEL, SONNER_DEFAULT_DURATION, SafeImage, type SafeImageProps, type SankeyLink, type SankeyNode, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, type SectionItem, SectionNavigator, type SectionNavigatorProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectTriggerVariants, SelectValue, SentimentBadge, type SentimentBadgeProps, SentimentBreakdownSection, type SentimentBreakdownSectionProps, SentimentCell, type SentimentCellProps, SentimentData, Separator, SeverityBadge, type SeverityBadgeProps, SeverityKey, ShortcutsCheatsheet, type ShortcutsCheatsheetProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SiteHeader, SiteHeaderActions, SiteHeaderEnd, type SiteHeaderProps, SiteHeaderSeparator, SiteHeaderStart, SiteHeaderSubtitle, SiteHeaderTitle, SiteHeaderTitleGroup, type SizeWithLegacy, Skeleton, type SkeletonProps, Slider, SocialPlatform, type SourceBreakdownEntry, SourceBreakdownSection, type SourceBreakdownSectionProps, SparklineCell, type SparklineCellProps, Spinner, type SpinnerProps, StageStatusKey, type StandardSize, StatDeltaCell, type StatDeltaCellProps, StatDisplay, type StatDisplayProps, StatusBadge, type StatusBadgeProps, StatusFlow, type StatusFlowOrientation, type StatusFlowProps, type StatusFlowSize, StatusFlowStage, type StatusFlowStageData, type StatusFlowStageProps, StatusKey, StatusPulseCell, type StatusPulseCellProps, Step, type StepProps, Stepper, type StepperProps, SupportedLocale, Switch, type SwitchProps, TIER_LABELS, Table, TableBody, TableCaption, TableCell, TableComparisonView, type TableComparisonViewProps, TableFooter, TableHead, TableHeader, TableRow, TableRowSkeleton, type TableRowSkeletonProps, TableSkeleton, type TableSkeletonProps, TableSortHeader, Tabs, TabsContent, TabsList, TabsTrigger, TagInput, type TagInputProps, TaskList, type TaskListGroup, type TaskListProps, Textarea, TimelineSection, type TimelineSectionProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TooltipContent, TopPostsSection, type TopPostsSectionProps, TrendCell, type TrendCellProps, TrendIndicator, type TrendIndicatorProps, type UseAsyncReturn, type UseClipboardOptions, type UseClipboardReturn, type UseFilterParamsOptions, type UseFilterPresetsOptions, type UseFilterPresetsReturn, type UseInfiniteScrollOptions, type UseInfiniteScrollReturn, type UseJobWizardOptions, UserAutocomplete, type UserAutocompleteProps, type UserItem, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, type ViewMode, ViewToggle, type ViewToggleProps, type WordData, actionTypeChipVariants, appBarVariants, avatarGroupVariants, bannerVariants, buildCsv, buildPostingFrequencyRows, buildTsv, buttonGroupVariants, calloutVariants, computeComparisonWinners, countComparisonWins, countryFlag, defaultActions as defaultPostActions, downloadFile, findCountry, findProvince, findTierIndex, formatJalaliDate, formatPersianDateRange, getCountryLabel, getCriterionTier, getCurrentRangeIndex, getEngagementRanges, getEngagementRateBenchmarkTiers, getFollowerGroup, getMetricLabel, getPersianDay, getPersianMonth, getPersianMonthName, getPersianMonthNameShort, getPersianMonthsForDropdown, getPersianWeekdayName, getPersianYear, getPersianYearsForDropdown, getPostSourceConfig, getProvinceLabel, getScoreBenchmarkTiers, getSourceColorVar, tagInputVariants as hashtagInputVariants, jalaliToGregorian, labelChipVariants, localeAwareCategoryTick, localeAwareNumberTick, navItemVariants, navigationMenuTriggerStyle, normalizeSize, normalizeUrlDigits, pageLoaderVariants, postCardVariants, postHeaderVariants, profileCardVariants, resolveLevel, siteHeaderVariants, sourceCategory, spinnerVariants, statDisplayVariants, tagInputVariants, toEnglishDigits, toPersianDigits, toggleVariants, transformNivoLineData, useAsync, useBreakpoint, useChartTheme, useClipboard, useDebounce, useDocumentDirection, useFilterParams, useFilterPresets, useFormField, useInfiniteScroll, useIsMobile, useJobWizard, useJobWizardState, useLocalStorage, useMediaQuery, useNavRail, useNavTree, useOutsideClick, usePrevious, useRootStyles, useScrollLock, useSidebar };