@moontra/moonui-pro 2.28.3 → 2.28.4
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 +17 -12
- package/dist/index.global.js +528 -124
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +8370 -1603
- 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;
|
|
@@ -3868,6 +3868,7 @@ interface KPIWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3868
3868
|
data: KPIData | KPIData[];
|
|
3869
3869
|
title?: string;
|
|
3870
3870
|
variant?: 'default' | 'compact' | 'detailed' | 'card';
|
|
3871
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
3871
3872
|
orientation?: 'horizontal' | 'vertical';
|
|
3872
3873
|
showTrend?: boolean;
|
|
3873
3874
|
showTarget?: boolean;
|
|
@@ -3876,7 +3877,7 @@ interface KPIWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3876
3877
|
icon?: React__default.ReactNode;
|
|
3877
3878
|
onKPIClick?: (kpi: KPIData) => void;
|
|
3878
3879
|
}
|
|
3879
|
-
declare function KPIWidget({ data, title, variant, orientation, showTrend, showTarget, showChange, animate, icon, onKPIClick, ...widgetProps }: KPIWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3880
|
+
declare function KPIWidget({ data, title, variant, backgroundVariant, orientation, showTrend, showTarget, showChange, animate, icon, onKPIClick, ...widgetProps }: KPIWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3880
3881
|
|
|
3881
3882
|
interface ChartDataPoint {
|
|
3882
3883
|
label: string;
|
|
@@ -3908,6 +3909,7 @@ interface ChartWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3908
3909
|
title?: string;
|
|
3909
3910
|
type?: 'line' | 'bar' | 'area' | 'pie' | 'donut' | 'mixed';
|
|
3910
3911
|
variant?: 'default' | 'minimal' | 'detailed';
|
|
3912
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
3911
3913
|
height?: number;
|
|
3912
3914
|
showLegend?: boolean;
|
|
3913
3915
|
showGrid?: boolean;
|
|
@@ -3917,7 +3919,7 @@ interface ChartWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3917
3919
|
colors?: string[];
|
|
3918
3920
|
onDataPointClick?: (point: ChartDataPoint) => void;
|
|
3919
3921
|
}
|
|
3920
|
-
declare function ChartWidget({ data, title, type, variant, height, showLegend, showGrid, showTooltip, showDataLabels, animate, colors, onDataPointClick, ...widgetProps }: ChartWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3922
|
+
declare function ChartWidget({ data, title, type, variant, backgroundVariant, height, showLegend, showGrid, showTooltip, showDataLabels, animate, colors, onDataPointClick, ...widgetProps }: ChartWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3921
3923
|
|
|
3922
3924
|
interface GaugeData {
|
|
3923
3925
|
value: number;
|
|
@@ -3947,6 +3949,7 @@ interface GaugeWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3947
3949
|
data: GaugeData | GaugeData[];
|
|
3948
3950
|
title?: string;
|
|
3949
3951
|
variant?: 'radial' | 'semicircle' | 'linear' | 'speedometer' | 'progress';
|
|
3952
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
3950
3953
|
showValue?: boolean;
|
|
3951
3954
|
showTarget?: boolean;
|
|
3952
3955
|
showThresholds?: boolean;
|
|
@@ -3958,7 +3961,7 @@ interface GaugeWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3958
3961
|
strokeWidth?: number;
|
|
3959
3962
|
onGaugeClick?: (gauge: GaugeData) => void;
|
|
3960
3963
|
}
|
|
3961
|
-
declare function GaugeWidget({ data, title, variant, showValue, showTarget, showThresholds, showLabels, showTrend, showPercentage, size, animate, strokeWidth, onGaugeClick, ...widgetProps }: GaugeWidgetProps): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
3962
3965
|
|
|
3963
3966
|
interface FunnelStage {
|
|
3964
3967
|
id: string;
|
|
@@ -3991,6 +3994,7 @@ interface FunnelWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
3991
3994
|
data: FunnelData;
|
|
3992
3995
|
title?: string;
|
|
3993
3996
|
variant?: 'vertical' | 'horizontal' | 'pyramid' | 'steps' | 'cards';
|
|
3997
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
3994
3998
|
showValues?: boolean;
|
|
3995
3999
|
showPercentages?: boolean;
|
|
3996
4000
|
showDropoff?: boolean;
|
|
@@ -4001,7 +4005,7 @@ interface FunnelWidgetProps extends Omit<Partial<WidgetBaseProps>, 'variant'> {
|
|
|
4001
4005
|
interactive?: boolean;
|
|
4002
4006
|
onStageClick?: (stage: FunnelStage) => void;
|
|
4003
4007
|
}
|
|
4004
|
-
declare function FunnelWidget({ data, title, variant, showValues, showPercentages, showDropoff, showTargets, showDuration, showConversionRate, animate, interactive, onStageClick, ...widgetProps }: FunnelWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4008
|
+
declare function FunnelWidget({ data, title, variant, backgroundVariant, showValues, showPercentages, showDropoff, showTargets, showDuration, showConversionRate, animate, interactive, onStageClick, ...widgetProps }: FunnelWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4005
4009
|
|
|
4006
4010
|
interface RevenueStream {
|
|
4007
4011
|
id: string;
|
|
@@ -4133,6 +4137,7 @@ interface ServerMonitorWidgetProps extends Omit<Partial<WidgetBaseProps>, 'varia
|
|
|
4133
4137
|
data: ServerData | ServerData[];
|
|
4134
4138
|
title?: string;
|
|
4135
4139
|
variant?: 'default' | 'compact' | 'detailed' | 'grid';
|
|
4140
|
+
backgroundVariant?: 'default' | 'minimal' | 'glass' | 'bordered' | 'gradient' | 'colored' | 'overlay' | 'floating';
|
|
4136
4141
|
showMetrics?: boolean;
|
|
4137
4142
|
showAlerts?: boolean;
|
|
4138
4143
|
showServices?: boolean;
|
|
@@ -4143,7 +4148,7 @@ interface ServerMonitorWidgetProps extends Omit<Partial<WidgetBaseProps>, 'varia
|
|
|
4143
4148
|
onServerClick?: (server: ServerData) => void;
|
|
4144
4149
|
onAlertClick?: (alert: any) => void;
|
|
4145
4150
|
}
|
|
4146
|
-
declare function ServerMonitorWidget({ data, title, variant, showMetrics, showAlerts, showServices, showHistory, showUptime, updateInterval, animate, onServerClick, onAlertClick, ...widgetProps }: ServerMonitorWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4151
|
+
declare function ServerMonitorWidget({ data, title, variant, backgroundVariant, showMetrics, showAlerts, showServices, showHistory, showUptime, updateInterval, animate, onServerClick, onAlertClick, ...widgetProps }: ServerMonitorWidgetProps): react_jsx_runtime.JSX.Element;
|
|
4147
4152
|
|
|
4148
4153
|
interface DashboardWidget {
|
|
4149
4154
|
id: string;
|