@moontra/moonui-pro 2.28.4 → 2.28.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -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;
@@ -3869,6 +3870,7 @@ interface KPIWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
3869
3870
  title?: string;
3870
3871
  variant?: 'default' | 'compact' | 'detailed' | 'card';
3871
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';
3872
3874
  orientation?: 'horizontal' | 'vertical';
3873
3875
  showTrend?: boolean;
3874
3876
  showTarget?: boolean;
@@ -3877,7 +3879,7 @@ interface KPIWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
3877
3879
  icon?: React__default.ReactNode;
3878
3880
  onKPIClick?: (kpi: KPIData) => void;
3879
3881
  }
3880
- declare function KPIWidget({ data, title, variant, backgroundVariant, 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;
3881
3883
 
3882
3884
  interface ChartDataPoint {
3883
3885
  label: string;
@@ -3910,6 +3912,7 @@ interface ChartWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
3910
3912
  type?: 'line' | 'bar' | 'area' | 'pie' | 'donut' | 'mixed';
3911
3913
  variant?: 'default' | 'minimal' | 'detailed';
3912
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';
3913
3916
  height?: number;
3914
3917
  showLegend?: boolean;
3915
3918
  showGrid?: boolean;
@@ -3919,7 +3922,7 @@ interface ChartWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
3919
3922
  colors?: string[];
3920
3923
  onDataPointClick?: (point: ChartDataPoint) => void;
3921
3924
  }
3922
- declare function ChartWidget({ data, title, type, variant, backgroundVariant, 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;
3923
3926
 
3924
3927
  interface GaugeData {
3925
3928
  value: number;
@@ -3950,6 +3953,7 @@ interface GaugeWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
3950
3953
  title?: string;
3951
3954
  variant?: 'radial' | 'semicircle' | 'linear' | 'speedometer' | 'progress';
3952
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';
3953
3957
  showValue?: boolean;
3954
3958
  showTarget?: boolean;
3955
3959
  showThresholds?: boolean;
@@ -3961,7 +3965,7 @@ interface GaugeWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
3961
3965
  strokeWidth?: number;
3962
3966
  onGaugeClick?: (gauge: GaugeData) => void;
3963
3967
  }
3964
- declare function GaugeWidget({ data, title, variant, backgroundVariant, 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;
3965
3969
 
3966
3970
  interface FunnelStage {
3967
3971
  id: string;
@@ -3995,6 +3999,7 @@ interface FunnelWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
3995
3999
  title?: string;
3996
4000
  variant?: 'vertical' | 'horizontal' | 'pyramid' | 'steps' | 'cards';
3997
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';
3998
4003
  showValues?: boolean;
3999
4004
  showPercentages?: boolean;
4000
4005
  showDropoff?: boolean;
@@ -4005,7 +4010,7 @@ interface FunnelWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
4005
4010
  interactive?: boolean;
4006
4011
  onStageClick?: (stage: FunnelStage) => void;
4007
4012
  }
4008
- declare function FunnelWidget({ data, title, variant, backgroundVariant, 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;
4009
4014
 
4010
4015
  interface RevenueStream {
4011
4016
  id: string;
@@ -4138,6 +4143,7 @@ interface ServerMonitorWidgetProps extends Omit<Partial<WidgetBaseProps>, 'varia
4138
4143
  title?: string;
4139
4144
  variant?: 'default' | 'compact' | 'detailed' | 'grid';
4140
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';
4141
4147
  showMetrics?: boolean;
4142
4148
  showAlerts?: boolean;
4143
4149
  showServices?: boolean;
@@ -4148,7 +4154,7 @@ interface ServerMonitorWidgetProps extends Omit<Partial<WidgetBaseProps>, 'varia
4148
4154
  onServerClick?: (server: ServerData) => void;
4149
4155
  onAlertClick?: (alert: any) => void;
4150
4156
  }
4151
- declare function ServerMonitorWidget({ data, title, variant, backgroundVariant, 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;
4152
4158
 
4153
4159
  interface DashboardWidget {
4154
4160
  id: string;