@parto-system-design/ui 1.1.16 → 1.1.18
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/AGENTS.md +2 -2
- package/README.md +1 -1
- package/dist/components/brand/parto-logo.cjs +0 -2
- package/dist/components/brand/parto-logo.js +0 -2
- package/dist/components/charts/PartoAreaChart.cjs +2 -4
- package/dist/components/charts/PartoAreaChart.d.cts +1 -1
- package/dist/components/charts/PartoAreaChart.d.ts +1 -1
- package/dist/components/charts/PartoAreaChart.js +2 -4
- package/dist/components/charts/PartoBarChart.cjs +2 -4
- package/dist/components/charts/PartoBarChart.d.cts +1 -1
- package/dist/components/charts/PartoBarChart.d.ts +1 -1
- package/dist/components/charts/PartoBarChart.js +2 -4
- package/dist/components/charts/PartoLineChart.cjs +2 -4
- package/dist/components/charts/PartoLineChart.d.cts +1 -1
- package/dist/components/charts/PartoLineChart.d.ts +1 -1
- package/dist/components/charts/PartoLineChart.js +2 -4
- package/dist/components/charts/PartoPieChart.cjs +2 -4
- package/dist/components/charts/PartoPieChart.d.cts +1 -1
- package/dist/components/charts/PartoPieChart.d.ts +1 -1
- package/dist/components/charts/PartoPieChart.js +2 -4
- package/dist/components/ui/accordion.cjs +0 -2
- package/dist/components/ui/accordion.d.cts +4 -5
- package/dist/components/ui/accordion.d.ts +4 -5
- package/dist/components/ui/accordion.js +0 -2
- package/dist/components/ui/alert-dialog.cjs +0 -2
- package/dist/components/ui/alert-dialog.d.cts +9 -10
- package/dist/components/ui/alert-dialog.d.ts +9 -10
- package/dist/components/ui/alert-dialog.js +1 -3
- package/dist/components/ui/alert-rule-card.cjs +149 -12
- package/dist/components/ui/alert-rule-card.d.cts +2 -2
- package/dist/components/ui/alert-rule-card.d.ts +2 -2
- package/dist/components/ui/alert-rule-card.js +149 -12
- package/dist/components/ui/alert.cjs +3 -5
- package/dist/components/ui/alert.js +3 -5
- package/dist/components/ui/app-bar.cjs +0 -2
- package/dist/components/ui/app-bar.js +0 -2
- package/dist/components/ui/avatar.cjs +0 -2
- package/dist/components/ui/avatar.d.cts +3 -4
- package/dist/components/ui/avatar.d.ts +3 -4
- package/dist/components/ui/avatar.js +0 -2
- package/dist/components/ui/badge.cjs +0 -2
- package/dist/components/ui/badge.js +0 -2
- package/dist/components/ui/breadcrumb.cjs +0 -2
- package/dist/components/ui/breadcrumb.d.cts +7 -8
- package/dist/components/ui/breadcrumb.d.ts +7 -8
- package/dist/components/ui/breadcrumb.js +0 -2
- package/dist/components/ui/button.cjs +0 -2
- package/dist/components/ui/button.js +1 -3
- package/dist/components/ui/calendar.cjs +0 -2
- package/dist/components/ui/calendar.d.cts +1 -2
- package/dist/components/ui/calendar.d.ts +1 -2
- package/dist/components/ui/calendar.js +1 -3
- package/dist/components/ui/card.cjs +0 -2
- package/dist/components/ui/card.js +0 -2
- package/dist/components/ui/checkbox.cjs +0 -2
- package/dist/components/ui/checkbox.js +0 -2
- package/dist/components/ui/concept-card.cjs +179 -61
- package/dist/components/ui/concept-card.d.cts +3 -3
- package/dist/components/ui/concept-card.d.ts +3 -3
- package/dist/components/ui/concept-card.js +179 -61
- package/dist/components/ui/data-table.cjs +129 -3
- package/dist/components/ui/data-table.d.cts +1 -1
- package/dist/components/ui/data-table.d.ts +1 -1
- package/dist/components/ui/data-table.js +130 -4
- package/dist/components/ui/dialog.cjs +0 -2
- package/dist/components/ui/dialog.d.cts +2 -3
- package/dist/components/ui/dialog.d.ts +2 -3
- package/dist/components/ui/dialog.js +0 -2
- package/dist/components/ui/dropdown-menu.cjs +0 -2
- package/dist/components/ui/dropdown-menu.d.cts +15 -16
- package/dist/components/ui/dropdown-menu.d.ts +15 -16
- package/dist/components/ui/dropdown-menu.js +0 -2
- package/dist/components/ui/filter-provider.cjs +0 -2
- package/dist/components/ui/filter-provider.d.cts +1 -2
- package/dist/components/ui/filter-provider.d.ts +1 -2
- package/dist/components/ui/filter-provider.js +0 -2
- package/dist/components/ui/form.cjs +0 -2
- package/dist/components/ui/form.d.cts +7 -8
- package/dist/components/ui/form.d.ts +7 -8
- package/dist/components/ui/form.js +0 -2
- package/dist/components/ui/input.cjs +0 -2
- package/dist/components/ui/input.js +0 -2
- package/dist/components/ui/iran-province-heat.cjs +1 -3
- package/dist/components/ui/iran-province-heat.d.cts +1 -1
- package/dist/components/ui/iran-province-heat.d.ts +1 -1
- package/dist/components/ui/iran-province-heat.js +1 -3
- package/dist/components/ui/label.cjs +0 -2
- package/dist/components/ui/label.d.cts +1 -2
- package/dist/components/ui/label.d.ts +1 -2
- package/dist/components/ui/label.js +0 -2
- package/dist/components/ui/page-card.cjs +170 -33
- package/dist/components/ui/page-card.d.cts +3 -3
- package/dist/components/ui/page-card.d.ts +3 -3
- package/dist/components/ui/page-card.js +170 -33
- package/dist/components/ui/page-header.cjs +128 -2
- package/dist/components/ui/page-header.d.cts +1 -1
- package/dist/components/ui/page-header.d.ts +1 -1
- package/dist/components/ui/page-header.js +128 -2
- package/dist/components/ui/password-input.cjs +0 -2
- package/dist/components/ui/password-input.js +0 -2
- package/dist/components/ui/popover.cjs +0 -2
- package/dist/components/ui/popover.js +0 -2
- package/dist/components/ui/progress.cjs +1 -3
- package/dist/components/ui/progress.js +1 -3
- package/dist/components/ui/radio-card.cjs +0 -2
- package/dist/components/ui/radio-card.js +0 -2
- package/dist/components/ui/radio-group.cjs +0 -2
- package/dist/components/ui/radio-group.js +0 -2
- package/dist/components/ui/saved-query-card.cjs +0 -2
- package/dist/components/ui/saved-query-card.d.cts +1 -1
- package/dist/components/ui/saved-query-card.d.ts +1 -1
- package/dist/components/ui/saved-query-card.js +1 -3
- package/dist/components/ui/scroll-area.cjs +0 -2
- package/dist/components/ui/scroll-area.d.cts +2 -3
- package/dist/components/ui/scroll-area.d.ts +2 -3
- package/dist/components/ui/scroll-area.js +0 -2
- package/dist/components/ui/select.cjs +0 -2
- package/dist/components/ui/select.d.cts +1 -2
- package/dist/components/ui/select.d.ts +1 -2
- package/dist/components/ui/select.js +0 -2
- package/dist/components/ui/separator.cjs +0 -2
- package/dist/components/ui/separator.js +0 -2
- package/dist/components/ui/sheet.cjs +0 -2
- package/dist/components/ui/sheet.d.cts +9 -10
- package/dist/components/ui/sheet.d.ts +9 -10
- package/dist/components/ui/sheet.js +0 -2
- package/dist/components/ui/skeleton.cjs +0 -2
- package/dist/components/ui/skeleton.d.cts +8 -9
- package/dist/components/ui/skeleton.d.ts +8 -9
- package/dist/components/ui/skeleton.js +0 -2
- package/dist/components/ui/slider.cjs +0 -2
- package/dist/components/ui/slider.d.cts +1 -2
- package/dist/components/ui/slider.d.ts +1 -2
- package/dist/components/ui/slider.js +0 -2
- package/dist/components/ui/social-platform-badge.cjs +0 -2
- package/dist/components/ui/social-platform-badge.js +1 -3
- package/dist/components/ui/sonner.cjs +4 -6
- package/dist/components/ui/sonner.d.cts +2 -2
- package/dist/components/ui/sonner.d.ts +2 -2
- package/dist/components/ui/sonner.js +4 -6
- package/dist/components/ui/sparkline.cjs +3 -5
- package/dist/components/ui/sparkline.d.cts +1 -1
- package/dist/components/ui/sparkline.d.ts +1 -1
- package/dist/components/ui/sparkline.js +3 -5
- package/dist/components/ui/switch.cjs +0 -2
- package/dist/components/ui/switch.js +0 -2
- package/dist/components/ui/table.cjs +0 -2
- package/dist/components/ui/table.d.cts +9 -10
- package/dist/components/ui/table.d.ts +9 -10
- package/dist/components/ui/table.js +0 -2
- package/dist/components/ui/tabs.cjs +0 -2
- package/dist/components/ui/tabs.js +0 -2
- package/dist/components/ui/textarea.cjs +0 -2
- package/dist/components/ui/textarea.js +0 -2
- package/dist/components/ui/toggle-group.cjs +0 -2
- package/dist/components/ui/toggle-group.d.cts +1 -2
- package/dist/components/ui/toggle-group.d.ts +1 -2
- package/dist/components/ui/toggle-group.js +0 -2
- package/dist/components/ui/tooltip.cjs +0 -2
- package/dist/components/ui/tooltip.js +0 -2
- package/dist/{concept-card-BoJ5gIJD.d.ts → concept-card-BU8JL-gj.d.cts} +5 -5
- package/dist/{concept-card-BXra9mr0.d.cts → concept-card-D7PfDkNR.d.ts} +5 -5
- package/dist/hooks/use-hotkey-registry.cjs +0 -2
- package/dist/hooks/use-hotkey-registry.d.cts +1 -2
- package/dist/hooks/use-hotkey-registry.d.ts +1 -2
- package/dist/hooks/use-hotkey-registry.js +0 -2
- package/dist/hooks/use-hotkeys.cjs +0 -2
- package/dist/hooks/use-hotkeys.js +0 -2
- package/dist/{i18n-BfRhV5aw.d.cts → i18n-DD3DMY8O.d.cts} +94 -5
- package/dist/{i18n-ewyqbKM-.d.ts → i18n-UEClNsBy.d.ts} +94 -5
- package/dist/index.cjs +1321 -1169
- package/dist/index.css +8010 -5445
- package/dist/index.d.cts +245 -991
- package/dist/index.d.ts +245 -991
- package/dist/index.js +1283 -1149
- package/dist/{page-card-C9XXXOVr.d.cts → page-card-DjztZrFM.d.cts} +4 -4
- package/dist/{page-card-DAnbez_f.d.ts → page-card-sIE4lvnb.d.ts} +4 -4
- package/dist/server-FTUA8opZ.d.cts +829 -0
- package/dist/server-m6tiB6DB.d.ts +829 -0
- package/dist/server.cjs +1565 -0
- package/dist/server.d.cts +8 -0
- package/dist/server.d.ts +8 -0
- package/dist/server.js +1483 -0
- package/dist/theme.css +50 -0
- package/dist/{toggle-group-B8r4LOQw.d.cts → toggle-group-Bis6suuR.d.cts} +3 -4
- package/dist/{toggle-group-B8r4LOQw.d.ts → toggle-group-Bis6suuR.d.ts} +3 -4
- package/dist/{utils-DlXWmDZ-.d.cts → utils-Czyp5Ned.d.cts} +1 -1
- package/dist/{utils-DlXWmDZ-.d.ts → utils-Czyp5Ned.d.ts} +1 -1
- package/package.json +455 -187
- package/tailwind.config.ts +184 -183
- package/dist/components/brand/parto-logo.cjs.map +0 -1
- package/dist/components/brand/parto-logo.js.map +0 -1
- package/dist/components/charts/PartoAreaChart.cjs.map +0 -1
- package/dist/components/charts/PartoAreaChart.js.map +0 -1
- package/dist/components/charts/PartoBarChart.cjs.map +0 -1
- package/dist/components/charts/PartoBarChart.js.map +0 -1
- package/dist/components/charts/PartoLineChart.cjs.map +0 -1
- package/dist/components/charts/PartoLineChart.js.map +0 -1
- package/dist/components/charts/PartoPieChart.cjs.map +0 -1
- package/dist/components/charts/PartoPieChart.js.map +0 -1
- package/dist/components/ui/accordion.cjs.map +0 -1
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/alert-dialog.cjs.map +0 -1
- package/dist/components/ui/alert-dialog.js.map +0 -1
- package/dist/components/ui/alert-rule-card.cjs.map +0 -1
- package/dist/components/ui/alert-rule-card.js.map +0 -1
- package/dist/components/ui/alert.cjs.map +0 -1
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/app-bar.cjs.map +0 -1
- package/dist/components/ui/app-bar.js.map +0 -1
- package/dist/components/ui/avatar.cjs.map +0 -1
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/badge.cjs.map +0 -1
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/breadcrumb.cjs.map +0 -1
- package/dist/components/ui/breadcrumb.js.map +0 -1
- package/dist/components/ui/button.cjs.map +0 -1
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.cjs.map +0 -1
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.cjs.map +0 -1
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/checkbox.cjs.map +0 -1
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/concept-card.cjs.map +0 -1
- package/dist/components/ui/concept-card.js.map +0 -1
- package/dist/components/ui/data-table.cjs.map +0 -1
- package/dist/components/ui/data-table.js.map +0 -1
- package/dist/components/ui/dialog.cjs.map +0 -1
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/dropdown-menu.cjs.map +0 -1
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/filter-provider.cjs.map +0 -1
- package/dist/components/ui/filter-provider.js.map +0 -1
- package/dist/components/ui/form.cjs.map +0 -1
- package/dist/components/ui/form.js.map +0 -1
- package/dist/components/ui/input.cjs.map +0 -1
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/iran-province-heat.cjs.map +0 -1
- package/dist/components/ui/iran-province-heat.js.map +0 -1
- package/dist/components/ui/label.cjs.map +0 -1
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/page-card.cjs.map +0 -1
- package/dist/components/ui/page-card.js.map +0 -1
- package/dist/components/ui/page-header.cjs.map +0 -1
- package/dist/components/ui/page-header.js.map +0 -1
- package/dist/components/ui/password-input.cjs.map +0 -1
- package/dist/components/ui/password-input.js.map +0 -1
- package/dist/components/ui/popover.cjs.map +0 -1
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/progress.cjs.map +0 -1
- package/dist/components/ui/progress.js.map +0 -1
- package/dist/components/ui/radio-card.cjs.map +0 -1
- package/dist/components/ui/radio-card.js.map +0 -1
- package/dist/components/ui/radio-group.cjs.map +0 -1
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/saved-query-card.cjs.map +0 -1
- package/dist/components/ui/saved-query-card.js.map +0 -1
- package/dist/components/ui/scroll-area.cjs.map +0 -1
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/select.cjs.map +0 -1
- package/dist/components/ui/select.js.map +0 -1
- package/dist/components/ui/separator.cjs.map +0 -1
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.cjs.map +0 -1
- package/dist/components/ui/sheet.js.map +0 -1
- package/dist/components/ui/skeleton.cjs.map +0 -1
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/slider.cjs.map +0 -1
- package/dist/components/ui/slider.js.map +0 -1
- package/dist/components/ui/social-platform-badge.cjs.map +0 -1
- package/dist/components/ui/social-platform-badge.js.map +0 -1
- package/dist/components/ui/sonner.cjs.map +0 -1
- package/dist/components/ui/sonner.js.map +0 -1
- package/dist/components/ui/sparkline.cjs.map +0 -1
- package/dist/components/ui/sparkline.js.map +0 -1
- package/dist/components/ui/switch.cjs.map +0 -1
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/table.cjs.map +0 -1
- package/dist/components/ui/table.js.map +0 -1
- package/dist/components/ui/tabs.cjs.map +0 -1
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/textarea.cjs.map +0 -1
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/toggle-group.cjs.map +0 -1
- package/dist/components/ui/toggle-group.js.map +0 -1
- package/dist/components/ui/tooltip.cjs.map +0 -1
- package/dist/components/ui/tooltip.js.map +0 -1
- package/dist/hooks/use-hotkey-registry.cjs.map +0 -1
- package/dist/hooks/use-hotkey-registry.js.map +0 -1
- package/dist/hooks/use-hotkeys.cjs.map +0 -1
- package/dist/hooks/use-hotkeys.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -14,21 +13,21 @@ interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantPro
|
|
|
14
13
|
*/
|
|
15
14
|
count?: number;
|
|
16
15
|
}
|
|
17
|
-
declare function Skeleton({ className, shape, size, count, ...props }: SkeletonProps):
|
|
16
|
+
declare function Skeleton({ className, shape, size, count, ...props }: SkeletonProps): React.JSX.Element;
|
|
18
17
|
declare namespace Skeleton {
|
|
19
18
|
var displayName: string;
|
|
20
19
|
}
|
|
21
20
|
interface MetricCardSkeletonProps {
|
|
22
21
|
className?: string;
|
|
23
22
|
}
|
|
24
|
-
declare function MetricCardSkeleton({ className }: MetricCardSkeletonProps):
|
|
23
|
+
declare function MetricCardSkeleton({ className }: MetricCardSkeletonProps): React.JSX.Element;
|
|
25
24
|
declare namespace MetricCardSkeleton {
|
|
26
25
|
var displayName: string;
|
|
27
26
|
}
|
|
28
27
|
interface ChartSkeletonProps {
|
|
29
28
|
className?: string;
|
|
30
29
|
}
|
|
31
|
-
declare function ChartSkeleton({ className }: ChartSkeletonProps):
|
|
30
|
+
declare function ChartSkeleton({ className }: ChartSkeletonProps): React.JSX.Element;
|
|
32
31
|
declare namespace ChartSkeleton {
|
|
33
32
|
var displayName: string;
|
|
34
33
|
}
|
|
@@ -36,7 +35,7 @@ interface TableSkeletonProps {
|
|
|
36
35
|
rows?: number;
|
|
37
36
|
className?: string;
|
|
38
37
|
}
|
|
39
|
-
declare function TableSkeleton({ rows, className }: TableSkeletonProps):
|
|
38
|
+
declare function TableSkeleton({ rows, className }: TableSkeletonProps): React.JSX.Element;
|
|
40
39
|
declare namespace TableSkeleton {
|
|
41
40
|
var displayName: string;
|
|
42
41
|
}
|
|
@@ -45,7 +44,7 @@ interface TableRowSkeletonProps {
|
|
|
45
44
|
cells?: number;
|
|
46
45
|
className?: string;
|
|
47
46
|
}
|
|
48
|
-
declare function TableRowSkeleton({ cells, className }: TableRowSkeletonProps):
|
|
47
|
+
declare function TableRowSkeleton({ cells, className }: TableRowSkeletonProps): React.JSX.Element;
|
|
49
48
|
declare namespace TableRowSkeleton {
|
|
50
49
|
var displayName: string;
|
|
51
50
|
}
|
|
@@ -60,7 +59,7 @@ interface CardSkeletonProps {
|
|
|
60
59
|
withFooter?: boolean;
|
|
61
60
|
className?: string;
|
|
62
61
|
}
|
|
63
|
-
declare function CardSkeleton({ withImage, imageAspect, bodyLines, withFooter, className, }: CardSkeletonProps):
|
|
62
|
+
declare function CardSkeleton({ withImage, imageAspect, bodyLines, withFooter, className, }: CardSkeletonProps): React.JSX.Element;
|
|
64
63
|
declare namespace CardSkeleton {
|
|
65
64
|
var displayName: string;
|
|
66
65
|
}
|
|
@@ -71,7 +70,7 @@ interface AvatarTextSkeletonProps {
|
|
|
71
70
|
lines?: number;
|
|
72
71
|
className?: string;
|
|
73
72
|
}
|
|
74
|
-
declare function AvatarTextSkeleton({ size, lines, className }: AvatarTextSkeletonProps):
|
|
73
|
+
declare function AvatarTextSkeleton({ size, lines, className }: AvatarTextSkeletonProps): React.JSX.Element;
|
|
75
74
|
declare namespace AvatarTextSkeleton {
|
|
76
75
|
var displayName: string;
|
|
77
76
|
}
|
|
@@ -82,7 +81,7 @@ interface FormRowSkeletonProps {
|
|
|
82
81
|
withHelp?: boolean;
|
|
83
82
|
className?: string;
|
|
84
83
|
}
|
|
85
|
-
declare function FormRowSkeleton({ field, withHelp, className }: FormRowSkeletonProps):
|
|
84
|
+
declare function FormRowSkeleton({ field, withHelp, className }: FormRowSkeletonProps): React.JSX.Element;
|
|
86
85
|
declare namespace FormRowSkeleton {
|
|
87
86
|
var displayName: string;
|
|
88
87
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -14,21 +13,21 @@ interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantPro
|
|
|
14
13
|
*/
|
|
15
14
|
count?: number;
|
|
16
15
|
}
|
|
17
|
-
declare function Skeleton({ className, shape, size, count, ...props }: SkeletonProps):
|
|
16
|
+
declare function Skeleton({ className, shape, size, count, ...props }: SkeletonProps): React.JSX.Element;
|
|
18
17
|
declare namespace Skeleton {
|
|
19
18
|
var displayName: string;
|
|
20
19
|
}
|
|
21
20
|
interface MetricCardSkeletonProps {
|
|
22
21
|
className?: string;
|
|
23
22
|
}
|
|
24
|
-
declare function MetricCardSkeleton({ className }: MetricCardSkeletonProps):
|
|
23
|
+
declare function MetricCardSkeleton({ className }: MetricCardSkeletonProps): React.JSX.Element;
|
|
25
24
|
declare namespace MetricCardSkeleton {
|
|
26
25
|
var displayName: string;
|
|
27
26
|
}
|
|
28
27
|
interface ChartSkeletonProps {
|
|
29
28
|
className?: string;
|
|
30
29
|
}
|
|
31
|
-
declare function ChartSkeleton({ className }: ChartSkeletonProps):
|
|
30
|
+
declare function ChartSkeleton({ className }: ChartSkeletonProps): React.JSX.Element;
|
|
32
31
|
declare namespace ChartSkeleton {
|
|
33
32
|
var displayName: string;
|
|
34
33
|
}
|
|
@@ -36,7 +35,7 @@ interface TableSkeletonProps {
|
|
|
36
35
|
rows?: number;
|
|
37
36
|
className?: string;
|
|
38
37
|
}
|
|
39
|
-
declare function TableSkeleton({ rows, className }: TableSkeletonProps):
|
|
38
|
+
declare function TableSkeleton({ rows, className }: TableSkeletonProps): React.JSX.Element;
|
|
40
39
|
declare namespace TableSkeleton {
|
|
41
40
|
var displayName: string;
|
|
42
41
|
}
|
|
@@ -45,7 +44,7 @@ interface TableRowSkeletonProps {
|
|
|
45
44
|
cells?: number;
|
|
46
45
|
className?: string;
|
|
47
46
|
}
|
|
48
|
-
declare function TableRowSkeleton({ cells, className }: TableRowSkeletonProps):
|
|
47
|
+
declare function TableRowSkeleton({ cells, className }: TableRowSkeletonProps): React.JSX.Element;
|
|
49
48
|
declare namespace TableRowSkeleton {
|
|
50
49
|
var displayName: string;
|
|
51
50
|
}
|
|
@@ -60,7 +59,7 @@ interface CardSkeletonProps {
|
|
|
60
59
|
withFooter?: boolean;
|
|
61
60
|
className?: string;
|
|
62
61
|
}
|
|
63
|
-
declare function CardSkeleton({ withImage, imageAspect, bodyLines, withFooter, className, }: CardSkeletonProps):
|
|
62
|
+
declare function CardSkeleton({ withImage, imageAspect, bodyLines, withFooter, className, }: CardSkeletonProps): React.JSX.Element;
|
|
64
63
|
declare namespace CardSkeleton {
|
|
65
64
|
var displayName: string;
|
|
66
65
|
}
|
|
@@ -71,7 +70,7 @@ interface AvatarTextSkeletonProps {
|
|
|
71
70
|
lines?: number;
|
|
72
71
|
className?: string;
|
|
73
72
|
}
|
|
74
|
-
declare function AvatarTextSkeleton({ size, lines, className }: AvatarTextSkeletonProps):
|
|
73
|
+
declare function AvatarTextSkeleton({ size, lines, className }: AvatarTextSkeletonProps): React.JSX.Element;
|
|
75
74
|
declare namespace AvatarTextSkeleton {
|
|
76
75
|
var displayName: string;
|
|
77
76
|
}
|
|
@@ -82,7 +81,7 @@ interface FormRowSkeletonProps {
|
|
|
82
81
|
withHelp?: boolean;
|
|
83
82
|
className?: string;
|
|
84
83
|
}
|
|
85
|
-
declare function FormRowSkeleton({ field, withHelp, className }: FormRowSkeletonProps):
|
|
84
|
+
declare function FormRowSkeleton({ field, withHelp, className }: FormRowSkeletonProps): React.JSX.Element;
|
|
86
85
|
declare namespace FormRowSkeleton {
|
|
87
86
|
var displayName: string;
|
|
88
87
|
}
|
|
@@ -212,5 +212,3 @@ function FormRowSkeleton({ field = "input", withHelp = false, className }) {
|
|
|
212
212
|
FormRowSkeleton.displayName = "FormRowSkeleton";
|
|
213
213
|
|
|
214
214
|
export { AvatarTextSkeleton, CardSkeleton, ChartSkeleton, FormRowSkeleton, MetricCardSkeleton, Skeleton, TableRowSkeleton, TableSkeleton };
|
|
215
|
-
//# sourceMappingURL=skeleton.js.map
|
|
216
|
-
//# sourceMappingURL=skeleton.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
4
3
|
|
|
5
|
-
declare function Slider({ className, defaultValue, value, min, max, dir, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>):
|
|
4
|
+
declare function Slider({ className, defaultValue, value, min, max, dir, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): React.JSX.Element;
|
|
6
5
|
declare namespace Slider {
|
|
7
6
|
var displayName: string;
|
|
8
7
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
4
3
|
|
|
5
|
-
declare function Slider({ className, defaultValue, value, min, max, dir, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>):
|
|
4
|
+
declare function Slider({ className, defaultValue, value, min, max, dir, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): React.JSX.Element;
|
|
6
5
|
declare namespace Slider {
|
|
7
6
|
var displayName: string;
|
|
8
7
|
}
|
|
@@ -116,5 +116,3 @@ SocialPlatformBadge.displayName = "SocialPlatformBadge";
|
|
|
116
116
|
|
|
117
117
|
exports.SocialPlatformBadge = SocialPlatformBadge;
|
|
118
118
|
exports.socialPlatformBadgeVariants = socialPlatformBadgeVariants;
|
|
119
|
-
//# sourceMappingURL=social-platform-badge.cjs.map
|
|
120
|
-
//# sourceMappingURL=social-platform-badge.cjs.map
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { cva } from 'class-variance-authority';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
|
-
import {
|
|
6
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
function cn(...inputs) {
|
|
9
9
|
return twMerge(clsx(inputs));
|
|
@@ -93,5 +93,3 @@ var SocialPlatformBadge = React.forwardRef(
|
|
|
93
93
|
SocialPlatformBadge.displayName = "SocialPlatformBadge";
|
|
94
94
|
|
|
95
95
|
export { SocialPlatformBadge, socialPlatformBadgeVariants };
|
|
96
|
-
//# sourceMappingURL=social-platform-badge.js.map
|
|
97
|
-
//# sourceMappingURL=social-platform-badge.js.map
|
|
@@ -24,14 +24,14 @@ var Toaster = ({ className, ...props }) => {
|
|
|
24
24
|
description: "group-[.toast]:text-muted-foreground",
|
|
25
25
|
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
|
|
26
26
|
cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
|
|
27
|
-
success: "group-[.toaster]:border-[
|
|
28
|
-
error: "group-[.toaster]:border-[
|
|
29
|
-
warning: "group-[.toaster]:border-[
|
|
27
|
+
success: "group-[.toaster]:border-[color-mix(in_srgb,var(--brand-default)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--brand-default)_6%,transparent)] group-[.toaster]:text-[var(--brand-600)]",
|
|
28
|
+
error: "group-[.toaster]:border-[color-mix(in_srgb,var(--destructive-500)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--destructive-500)_6%,transparent)] group-[.toaster]:text-[var(--destructive-600)]",
|
|
29
|
+
warning: "group-[.toaster]:border-[color-mix(in_srgb,var(--warning-500)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--warning-500)_6%,transparent)] group-[.toaster]:text-[var(--warning)]",
|
|
30
30
|
// 1.1.16 — `info` toast was pointing at --secondary-default
|
|
31
31
|
// (hue 247° purple, legacy Supabase token). info has its own
|
|
32
32
|
// semantic family now (--info-default, added 1.1.15), so wire
|
|
33
33
|
// the toast to it.
|
|
34
|
-
info: "group-[.toaster]:border-[
|
|
34
|
+
info: "group-[.toaster]:border-[color-mix(in_srgb,var(--info-default)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--info-default)_6%,transparent)] group-[.toaster]:text-[var(--info-default)]"
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
...props
|
|
@@ -47,5 +47,3 @@ Object.defineProperty(exports, "toast", {
|
|
|
47
47
|
});
|
|
48
48
|
exports.SONNER_DEFAULT_DURATION = SONNER_DEFAULT_DURATION;
|
|
49
49
|
exports.Toaster = Toaster;
|
|
50
|
-
//# sourceMappingURL=sonner.cjs.map
|
|
51
|
-
//# sourceMappingURL=sonner.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ToasterProps } from 'sonner';
|
|
3
3
|
export { toast } from 'sonner';
|
|
4
4
|
|
|
5
5
|
type PartoToasterProps = ToasterProps;
|
|
6
6
|
declare const Toaster: {
|
|
7
|
-
({ className, ...props }: PartoToasterProps):
|
|
7
|
+
({ className, ...props }: PartoToasterProps): React.JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { ToasterProps } from 'sonner';
|
|
3
3
|
export { toast } from 'sonner';
|
|
4
4
|
|
|
5
5
|
type PartoToasterProps = ToasterProps;
|
|
6
6
|
declare const Toaster: {
|
|
7
|
-
({ className, ...props }: PartoToasterProps):
|
|
7
|
+
({ className, ...props }: PartoToasterProps): React.JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
@@ -23,14 +23,14 @@ var Toaster = ({ className, ...props }) => {
|
|
|
23
23
|
description: "group-[.toast]:text-muted-foreground",
|
|
24
24
|
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
|
|
25
25
|
cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
|
|
26
|
-
success: "group-[.toaster]:border-[
|
|
27
|
-
error: "group-[.toaster]:border-[
|
|
28
|
-
warning: "group-[.toaster]:border-[
|
|
26
|
+
success: "group-[.toaster]:border-[color-mix(in_srgb,var(--brand-default)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--brand-default)_6%,transparent)] group-[.toaster]:text-[var(--brand-600)]",
|
|
27
|
+
error: "group-[.toaster]:border-[color-mix(in_srgb,var(--destructive-500)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--destructive-500)_6%,transparent)] group-[.toaster]:text-[var(--destructive-600)]",
|
|
28
|
+
warning: "group-[.toaster]:border-[color-mix(in_srgb,var(--warning-500)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--warning-500)_6%,transparent)] group-[.toaster]:text-[var(--warning)]",
|
|
29
29
|
// 1.1.16 — `info` toast was pointing at --secondary-default
|
|
30
30
|
// (hue 247° purple, legacy Supabase token). info has its own
|
|
31
31
|
// semantic family now (--info-default, added 1.1.15), so wire
|
|
32
32
|
// the toast to it.
|
|
33
|
-
info: "group-[.toaster]:border-[
|
|
33
|
+
info: "group-[.toaster]:border-[color-mix(in_srgb,var(--info-default)_40%,transparent)] group-[.toaster]:bg-[color-mix(in_srgb,var(--info-default)_6%,transparent)] group-[.toaster]:text-[var(--info-default)]"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
...props
|
|
@@ -41,5 +41,3 @@ Toaster.displayName = "Toaster";
|
|
|
41
41
|
var SONNER_DEFAULT_DURATION = 4e3;
|
|
42
42
|
|
|
43
43
|
export { SONNER_DEFAULT_DURATION, Toaster };
|
|
44
|
-
//# sourceMappingURL=sonner.js.map
|
|
45
|
-
//# sourceMappingURL=sonner.js.map
|
|
@@ -30,9 +30,9 @@ function cn(...inputs) {
|
|
|
30
30
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
31
31
|
}
|
|
32
32
|
var TREND_CLASSES = {
|
|
33
|
-
up: "text-[
|
|
34
|
-
down: "text-[
|
|
35
|
-
neutral: "text-[
|
|
33
|
+
up: "text-[var(--sentiment-positive)]",
|
|
34
|
+
down: "text-[var(--sentiment-negative)]",
|
|
35
|
+
neutral: "text-[var(--sentiment-neutral)]"
|
|
36
36
|
};
|
|
37
37
|
function resolveTrend(data, trend) {
|
|
38
38
|
if (trend !== "auto") return trend;
|
|
@@ -162,5 +162,3 @@ var Sparkline = React__namespace.forwardRef(
|
|
|
162
162
|
Sparkline.displayName = "Sparkline";
|
|
163
163
|
|
|
164
164
|
exports.Sparkline = Sparkline;
|
|
165
|
-
//# sourceMappingURL=sparkline.cjs.map
|
|
166
|
-
//# sourceMappingURL=sparkline.cjs.map
|
|
@@ -24,7 +24,7 @@ interface SparklineProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
24
24
|
showEndDot?: boolean;
|
|
25
25
|
/** Padding inside the viewBox so strokes/dots are not clipped @default 2 */
|
|
26
26
|
padding?: number;
|
|
27
|
-
/** Override color with any CSS value (e.g. `"
|
|
27
|
+
/** Override color with any CSS value (e.g. `"var(--brand)"`). Takes precedence over `trend`. */
|
|
28
28
|
color?: string;
|
|
29
29
|
/** For bars variant — gap between bars in user units @default 1 */
|
|
30
30
|
barGap?: number;
|
|
@@ -24,7 +24,7 @@ interface SparklineProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
24
24
|
showEndDot?: boolean;
|
|
25
25
|
/** Padding inside the viewBox so strokes/dots are not clipped @default 2 */
|
|
26
26
|
padding?: number;
|
|
27
|
-
/** Override color with any CSS value (e.g. `"
|
|
27
|
+
/** Override color with any CSS value (e.g. `"var(--brand)"`). Takes precedence over `trend`. */
|
|
28
28
|
color?: string;
|
|
29
29
|
/** For bars variant — gap between bars in user units @default 1 */
|
|
30
30
|
barGap?: number;
|
|
@@ -8,9 +8,9 @@ function cn(...inputs) {
|
|
|
8
8
|
return twMerge(clsx(inputs));
|
|
9
9
|
}
|
|
10
10
|
var TREND_CLASSES = {
|
|
11
|
-
up: "text-[
|
|
12
|
-
down: "text-[
|
|
13
|
-
neutral: "text-[
|
|
11
|
+
up: "text-[var(--sentiment-positive)]",
|
|
12
|
+
down: "text-[var(--sentiment-negative)]",
|
|
13
|
+
neutral: "text-[var(--sentiment-neutral)]"
|
|
14
14
|
};
|
|
15
15
|
function resolveTrend(data, trend) {
|
|
16
16
|
if (trend !== "auto") return trend;
|
|
@@ -140,5 +140,3 @@ var Sparkline = React.forwardRef(
|
|
|
140
140
|
Sparkline.displayName = "Sparkline";
|
|
141
141
|
|
|
142
142
|
export { Sparkline };
|
|
143
|
-
//# sourceMappingURL=sparkline.js.map
|
|
144
|
-
//# sourceMappingURL=sparkline.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
interface TableProps extends React.ComponentProps<'table'> {
|
|
@@ -11,23 +10,23 @@ interface TableProps extends React.ComponentProps<'table'> {
|
|
|
11
10
|
/** Sticky header that stays visible when scrolling */
|
|
12
11
|
stickyHeader?: boolean;
|
|
13
12
|
}
|
|
14
|
-
declare function Table({ className, size, striped, bordered, stickyHeader, ...props }: TableProps):
|
|
13
|
+
declare function Table({ className, size, striped, bordered, stickyHeader, ...props }: TableProps): React.JSX.Element;
|
|
15
14
|
declare namespace Table {
|
|
16
15
|
var displayName: string;
|
|
17
16
|
}
|
|
18
|
-
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>):
|
|
17
|
+
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): React.JSX.Element;
|
|
19
18
|
declare namespace TableHeader {
|
|
20
19
|
var displayName: string;
|
|
21
20
|
}
|
|
22
|
-
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>):
|
|
21
|
+
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): React.JSX.Element;
|
|
23
22
|
declare namespace TableBody {
|
|
24
23
|
var displayName: string;
|
|
25
24
|
}
|
|
26
|
-
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>):
|
|
25
|
+
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): React.JSX.Element;
|
|
27
26
|
declare namespace TableFooter {
|
|
28
27
|
var displayName: string;
|
|
29
28
|
}
|
|
30
|
-
declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>):
|
|
29
|
+
declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>): React.JSX.Element;
|
|
31
30
|
declare namespace TableRow {
|
|
32
31
|
var displayName: string;
|
|
33
32
|
}
|
|
@@ -35,15 +34,15 @@ interface TableHeadProps extends React.ComponentProps<'th'> {
|
|
|
35
34
|
/** Sort direction — sets aria-sort on the <th> element */
|
|
36
35
|
sortDirection?: 'asc' | 'desc' | 'none';
|
|
37
36
|
}
|
|
38
|
-
declare function TableHead({ className, sortDirection, ...props }: TableHeadProps):
|
|
37
|
+
declare function TableHead({ className, sortDirection, ...props }: TableHeadProps): React.JSX.Element;
|
|
39
38
|
declare namespace TableHead {
|
|
40
39
|
var displayName: string;
|
|
41
40
|
}
|
|
42
|
-
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>):
|
|
41
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): React.JSX.Element;
|
|
43
42
|
declare namespace TableCell {
|
|
44
43
|
var displayName: string;
|
|
45
44
|
}
|
|
46
|
-
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>):
|
|
45
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): React.JSX.Element;
|
|
47
46
|
declare namespace TableCaption {
|
|
48
47
|
var displayName: string;
|
|
49
48
|
}
|
|
@@ -51,7 +50,7 @@ interface TableSortHeaderProps extends React.ComponentProps<'button'> {
|
|
|
51
50
|
/** Current sort direction */
|
|
52
51
|
sorted?: 'asc' | 'desc' | false;
|
|
53
52
|
}
|
|
54
|
-
declare function TableSortHeader({ className, children, sorted, ...props }: TableSortHeaderProps):
|
|
53
|
+
declare function TableSortHeader({ className, children, sorted, ...props }: TableSortHeaderProps): React.JSX.Element;
|
|
55
54
|
declare namespace TableSortHeader {
|
|
56
55
|
var displayName: string;
|
|
57
56
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
interface TableProps extends React.ComponentProps<'table'> {
|
|
@@ -11,23 +10,23 @@ interface TableProps extends React.ComponentProps<'table'> {
|
|
|
11
10
|
/** Sticky header that stays visible when scrolling */
|
|
12
11
|
stickyHeader?: boolean;
|
|
13
12
|
}
|
|
14
|
-
declare function Table({ className, size, striped, bordered, stickyHeader, ...props }: TableProps):
|
|
13
|
+
declare function Table({ className, size, striped, bordered, stickyHeader, ...props }: TableProps): React.JSX.Element;
|
|
15
14
|
declare namespace Table {
|
|
16
15
|
var displayName: string;
|
|
17
16
|
}
|
|
18
|
-
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>):
|
|
17
|
+
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): React.JSX.Element;
|
|
19
18
|
declare namespace TableHeader {
|
|
20
19
|
var displayName: string;
|
|
21
20
|
}
|
|
22
|
-
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>):
|
|
21
|
+
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): React.JSX.Element;
|
|
23
22
|
declare namespace TableBody {
|
|
24
23
|
var displayName: string;
|
|
25
24
|
}
|
|
26
|
-
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>):
|
|
25
|
+
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): React.JSX.Element;
|
|
27
26
|
declare namespace TableFooter {
|
|
28
27
|
var displayName: string;
|
|
29
28
|
}
|
|
30
|
-
declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>):
|
|
29
|
+
declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>): React.JSX.Element;
|
|
31
30
|
declare namespace TableRow {
|
|
32
31
|
var displayName: string;
|
|
33
32
|
}
|
|
@@ -35,15 +34,15 @@ interface TableHeadProps extends React.ComponentProps<'th'> {
|
|
|
35
34
|
/** Sort direction — sets aria-sort on the <th> element */
|
|
36
35
|
sortDirection?: 'asc' | 'desc' | 'none';
|
|
37
36
|
}
|
|
38
|
-
declare function TableHead({ className, sortDirection, ...props }: TableHeadProps):
|
|
37
|
+
declare function TableHead({ className, sortDirection, ...props }: TableHeadProps): React.JSX.Element;
|
|
39
38
|
declare namespace TableHead {
|
|
40
39
|
var displayName: string;
|
|
41
40
|
}
|
|
42
|
-
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>):
|
|
41
|
+
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): React.JSX.Element;
|
|
43
42
|
declare namespace TableCell {
|
|
44
43
|
var displayName: string;
|
|
45
44
|
}
|
|
46
|
-
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>):
|
|
45
|
+
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): React.JSX.Element;
|
|
47
46
|
declare namespace TableCaption {
|
|
48
47
|
var displayName: string;
|
|
49
48
|
}
|
|
@@ -51,7 +50,7 @@ interface TableSortHeaderProps extends React.ComponentProps<'button'> {
|
|
|
51
50
|
/** Current sort direction */
|
|
52
51
|
sorted?: 'asc' | 'desc' | false;
|
|
53
52
|
}
|
|
54
|
-
declare function TableSortHeader({ className, children, sorted, ...props }: TableSortHeaderProps):
|
|
53
|
+
declare function TableSortHeader({ className, children, sorted, ...props }: TableSortHeaderProps): React.JSX.Element;
|
|
55
54
|
declare namespace TableSortHeader {
|
|
56
55
|
var displayName: string;
|
|
57
56
|
}
|
|
@@ -174,5 +174,3 @@ TableCaption.displayName = "TableCaption";
|
|
|
174
174
|
TableSortHeader.displayName = "TableSortHeader";
|
|
175
175
|
|
|
176
176
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSortHeader };
|
|
177
|
-
//# sourceMappingURL=table.js.map
|
|
178
|
-
//# sourceMappingURL=table.js.map
|
|
@@ -111,5 +111,3 @@ var TabsContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
111
111
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
112
112
|
|
|
113
113
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
114
|
-
//# sourceMappingURL=tabs.js.map
|
|
115
|
-
//# sourceMappingURL=tabs.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import 'react/jsx-runtime';
|
|
2
1
|
import 'react';
|
|
3
2
|
import '@radix-ui/react-toggle-group';
|
|
4
|
-
export { a as ToggleGroup, b as ToggleGroupItem } from '../../toggle-group-
|
|
3
|
+
export { a as ToggleGroup, b as ToggleGroupItem } from '../../toggle-group-Bis6suuR.cjs';
|
|
5
4
|
import 'class-variance-authority';
|
|
6
5
|
import 'class-variance-authority/types';
|
|
7
6
|
import '@radix-ui/react-toggle';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import 'react/jsx-runtime';
|
|
2
1
|
import 'react';
|
|
3
2
|
import '@radix-ui/react-toggle-group';
|
|
4
|
-
export { a as ToggleGroup, b as ToggleGroupItem } from '../../toggle-group-
|
|
3
|
+
export { a as ToggleGroup, b as ToggleGroupItem } from '../../toggle-group-Bis6suuR.js';
|
|
5
4
|
import 'class-variance-authority';
|
|
6
5
|
import 'class-variance-authority/types';
|
|
7
6
|
import '@radix-ui/react-toggle';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { S as SupportedLocale } from './utils-
|
|
3
|
-
import { F as FlowKey,
|
|
2
|
+
import { S as SupportedLocale } from './utils-Czyp5Ned.cjs';
|
|
3
|
+
import { F as FlowKey, a as StatusKey, S as SeverityKey } from './i18n-DD3DMY8O.cjs';
|
|
4
4
|
|
|
5
5
|
type FlowData = Partial<Record<FlowKey, number>>;
|
|
6
6
|
interface FlowDistributionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -45,8 +45,8 @@ declare const SentimentDistribution: React.ForwardRefExoticComponent<SentimentDi
|
|
|
45
45
|
* ConceptCard — افکارسنجی-flavored headline tile for clustering dashboards.
|
|
46
46
|
* Composes: status badge, severity badge, flow composition bar, sentiment
|
|
47
47
|
* distribution, sparkline trend, AI summary snippet, optional comparison
|
|
48
|
-
* checkbox. Built for
|
|
49
|
-
* to fit in a card grid with rich, comparable signals.
|
|
48
|
+
* checkbox. Built for enterprise social-listening dashboards where each
|
|
49
|
+
* "concept" needs to fit in a card grid with rich, comparable signals.
|
|
50
50
|
*/
|
|
51
51
|
interface ConceptCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
52
52
|
/** Concept name (e.g., "رونمایی گوشی جدید") */
|
|
@@ -57,7 +57,7 @@ interface ConceptCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 't
|
|
|
57
57
|
status?: StatusKey;
|
|
58
58
|
/** Criticality of the concept (urgent/high/medium/low) */
|
|
59
59
|
severity?: SeverityKey;
|
|
60
|
-
/** Flow composition breakdown (5-class
|
|
60
|
+
/** Flow composition breakdown (5-class audience stance) */
|
|
61
61
|
flow?: FlowData;
|
|
62
62
|
/** Sentiment composition (3-class) */
|
|
63
63
|
sentiment?: SentimentData;
|