@moontra/moonui-pro 2.28.3 → 2.28.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +24 -13
- package/dist/index.global.js +528 -124
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +8401 -1605
- package/package.json +1 -3
package/dist/index.d.ts
CHANGED
|
@@ -1412,17 +1412,17 @@ declare const MoonUITooltipContentPro: React$1.ForwardRefExoticComponent<MoonUIT
|
|
|
1412
1412
|
|
|
1413
1413
|
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
1414
1414
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1415
|
-
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1415
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
1416
1416
|
|
|
1417
|
-
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<
|
|
1418
|
-
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<
|
|
1417
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
1418
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
1419
1419
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
1420
1420
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;
|
|
1421
|
-
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<
|
|
1422
|
-
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1421
|
+
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
1422
|
+
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
1423
1423
|
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1424
|
-
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1425
|
-
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<
|
|
1424
|
+
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
1425
|
+
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<never>>;
|
|
1426
1426
|
|
|
1427
1427
|
declare const gestureDrawerVariants: (props?: ({
|
|
1428
1428
|
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
@@ -3838,13 +3838,14 @@ interface WidgetBaseProps {
|
|
|
3838
3838
|
animate?: boolean;
|
|
3839
3839
|
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
3840
3840
|
shadow?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
3841
|
+
gradientDirection?: 'to-t' | 'to-tr' | 'to-r' | 'to-br' | 'to-b' | 'to-bl' | 'to-l' | 'to-tl';
|
|
3841
3842
|
overlay?: {
|
|
3842
3843
|
pattern?: 'dots' | 'grid' | 'diagonal' | 'waves' | 'none';
|
|
3843
3844
|
opacity?: number;
|
|
3844
3845
|
color?: string;
|
|
3845
3846
|
};
|
|
3846
3847
|
}
|
|
3847
|
-
declare function WidgetBase({ title, subtitle, children, variant, colorScheme, className, headerAction, loading, error, animate, rounded, shadow, overlay }: WidgetBaseProps): react_jsx_runtime.JSX.Element;
|
|
3848
|
+
declare function WidgetBase({ title, subtitle, children, variant, colorScheme, className, headerAction, loading, error, animate, rounded, shadow, gradientDirection, overlay }: WidgetBaseProps): react_jsx_runtime.JSX.Element;
|
|
3848
3849
|
|
|
3849
3850
|
interface KPIData {
|
|
3850
3851
|
label: string;
|
|
@@ -3868,6 +3869,8 @@ interface KPIWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3868
3869
|
data: KPIData | KPIData[];
|
|
3869
3870
|
title?: string;
|
|
3870
3871
|
variant?: 'default' | 'compact' | 'detailed' | 'card';
|
|
3872
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
3873
|
+
gradientDirection?: 'to-t' | 'to-tr' | 'to-r' | 'to-br' | 'to-b' | 'to-bl' | 'to-l' | 'to-tl';
|
|
3871
3874
|
orientation?: 'horizontal' | 'vertical';
|
|
3872
3875
|
showTrend?: boolean;
|
|
3873
3876
|
showTarget?: boolean;
|
|
@@ -3876,7 +3879,7 @@ interface KPIWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3876
3879
|
icon?: React__default.ReactNode;
|
|
3877
3880
|
onKPIClick?: (kpi: KPIData) => void;
|
|
3878
3881
|
}
|
|
3879
|
-
declare function KPIWidget({ data, title, variant, orientation, showTrend, showTarget, showChange, animate, icon, onKPIClick, ...widgetProps }: KPIWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3882
|
+
declare function KPIWidget({ data, title, variant, backgroundVariant, gradientDirection, orientation, showTrend, showTarget, showChange, animate, icon, onKPIClick, ...widgetProps }: KPIWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3880
3883
|
|
|
3881
3884
|
interface ChartDataPoint {
|
|
3882
3885
|
label: string;
|
|
@@ -3908,6 +3911,8 @@ interface ChartWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3908
3911
|
title?: string;
|
|
3909
3912
|
type?: 'line' | 'bar' | 'area' | 'pie' | 'donut' | 'mixed';
|
|
3910
3913
|
variant?: 'default' | 'minimal' | 'detailed';
|
|
3914
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
3915
|
+
gradientDirection?: 'to-t' | 'to-tr' | 'to-r' | 'to-br' | 'to-b' | 'to-bl' | 'to-l' | 'to-tl';
|
|
3911
3916
|
height?: number;
|
|
3912
3917
|
showLegend?: boolean;
|
|
3913
3918
|
showGrid?: boolean;
|
|
@@ -3917,7 +3922,7 @@ interface ChartWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3917
3922
|
colors?: string[];
|
|
3918
3923
|
onDataPointClick?: (point: ChartDataPoint) => void;
|
|
3919
3924
|
}
|
|
3920
|
-
declare function ChartWidget({ data, title, type, variant, height, showLegend, showGrid, showTooltip, showDataLabels, animate, colors, onDataPointClick, ...widgetProps }: ChartWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3925
|
+
declare function ChartWidget({ data, title, type, variant, backgroundVariant, gradientDirection, height, showLegend, showGrid, showTooltip, showDataLabels, animate, colors, onDataPointClick, ...widgetProps }: ChartWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3921
3926
|
|
|
3922
3927
|
interface GaugeData {
|
|
3923
3928
|
value: number;
|
|
@@ -3947,6 +3952,8 @@ interface GaugeWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3947
3952
|
data: GaugeData | GaugeData[];
|
|
3948
3953
|
title?: string;
|
|
3949
3954
|
variant?: 'radial' | 'semicircle' | 'linear' | 'speedometer' | 'progress';
|
|
3955
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
3956
|
+
gradientDirection?: 'to-t' | 'to-tr' | 'to-r' | 'to-br' | 'to-b' | 'to-bl' | 'to-l' | 'to-tl';
|
|
3950
3957
|
showValue?: boolean;
|
|
3951
3958
|
showTarget?: boolean;
|
|
3952
3959
|
showThresholds?: boolean;
|
|
@@ -3958,7 +3965,7 @@ interface GaugeWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3958
3965
|
strokeWidth?: number;
|
|
3959
3966
|
onGaugeClick?: (gauge: GaugeData) => void;
|
|
3960
3967
|
}
|
|
3961
|
-
declare function GaugeWidget({ data, title, variant, showValue, showTarget, showThresholds, showLabels, showTrend, showPercentage, size, animate, strokeWidth, onGaugeClick, ...widgetProps }: GaugeWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3968
|
+
declare function GaugeWidget({ data, title, variant, backgroundVariant, gradientDirection, showValue, showTarget, showThresholds, showLabels, showTrend, showPercentage, size, animate, strokeWidth, onGaugeClick, ...widgetProps }: GaugeWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3962
3969
|
|
|
3963
3970
|
interface FunnelStage {
|
|
3964
3971
|
id: string;
|
|
@@ -3991,6 +3998,8 @@ interface FunnelWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3991
3998
|
data: FunnelData;
|
|
3992
3999
|
title?: string;
|
|
3993
4000
|
variant?: 'vertical' | 'horizontal' | 'pyramid' | 'steps' | 'cards';
|
|
4001
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
4002
|
+
gradientDirection?: 'to-t' | 'to-tr' | 'to-r' | 'to-br' | 'to-b' | 'to-bl' | 'to-l' | 'to-tl';
|
|
3994
4003
|
showValues?: boolean;
|
|
3995
4004
|
showPercentages?: boolean;
|
|
3996
4005
|
showDropoff?: boolean;
|
|
@@ -4001,7 +4010,7 @@ interface FunnelWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
4001
4010
|
interactive?: boolean;
|
|
4002
4011
|
onStageClick?: (stage: FunnelStage) => void;
|
|
4003
4012
|
}
|
|
4004
|
-
declare function FunnelWidget({ data, title, variant, showValues, showPercentages, showDropoff, showTargets, showDuration, showConversionRate, animate, interactive, onStageClick, ...widgetProps }: FunnelWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4013
|
+
declare function FunnelWidget({ data, title, variant, backgroundVariant, gradientDirection, showValues, showPercentages, showDropoff, showTargets, showDuration, showConversionRate, animate, interactive, onStageClick, ...widgetProps }: FunnelWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4005
4014
|
|
|
4006
4015
|
interface RevenueStream {
|
|
4007
4016
|
id: string;
|
|
@@ -4133,6 +4142,8 @@ interface ServerMonitorWidgetProps extends Omit<Partial<WidgetBaseProps>, 'varia
|
|
|
4133
4142
|
data: ServerData | ServerData[];
|
|
4134
4143
|
title?: string;
|
|
4135
4144
|
variant?: 'default' | 'compact' | 'detailed' | 'grid';
|
|
4145
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
4146
|
+
gradientDirection?: 'to-t' | 'to-tr' | 'to-r' | 'to-br' | 'to-b' | 'to-bl' | 'to-l' | 'to-tl';
|
|
4136
4147
|
showMetrics?: boolean;
|
|
4137
4148
|
showAlerts?: boolean;
|
|
4138
4149
|
showServices?: boolean;
|
|
@@ -4143,7 +4154,7 @@ interface ServerMonitorWidgetProps extends Omit<Partial<WidgetBaseProps>, 'varia
|
|
|
4143
4154
|
onServerClick?: (server: ServerData) => void;
|
|
4144
4155
|
onAlertClick?: (alert: any) => void;
|
|
4145
4156
|
}
|
|
4146
|
-
declare function ServerMonitorWidget({ data, title, variant, showMetrics, showAlerts, showServices, showHistory, showUptime, updateInterval, animate, onServerClick, onAlertClick, ...widgetProps }: ServerMonitorWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4157
|
+
declare function ServerMonitorWidget({ data, title, variant, backgroundVariant, gradientDirection, showMetrics, showAlerts, showServices, showHistory, showUptime, updateInterval, animate, onServerClick, onAlertClick, ...widgetProps }: ServerMonitorWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4147
4158
|
|
|
4148
4159
|
interface DashboardWidget {
|
|
4149
4160
|
id: string;
|