@sesionario/blocks 1.29.0 → 1.30.0
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/charts.cjs +1 -0
- package/dist/charts.d.cts +20 -1
- package/dist/charts.d.ts +20 -1
- package/dist/charts.js +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js.map +1 -1
- package/dist/pdf.cjs.map +1 -1
- package/dist/pdf.js.map +1 -1
- package/package.json +1 -1
package/dist/charts.cjs
CHANGED
|
@@ -13775,6 +13775,7 @@ exports.Ring = Ring;
|
|
|
13775
13775
|
exports.RingCenter = RingCenter;
|
|
13776
13776
|
exports.RingChart = RingChart;
|
|
13777
13777
|
exports.RingProvider = RingProvider;
|
|
13778
|
+
exports.SeriesBar = SeriesBar;
|
|
13778
13779
|
exports.StatCardArea = StatCardArea;
|
|
13779
13780
|
exports.StatCardLine = StatCardLine;
|
|
13780
13781
|
exports.TrendBadge = TrendBadge;
|
package/dist/charts.d.cts
CHANGED
|
@@ -546,6 +546,25 @@ declare namespace Bar {
|
|
|
546
546
|
var displayName: string;
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
+
interface SeriesBarProps {
|
|
550
|
+
/** Key in data for bar height (y value) */
|
|
551
|
+
dataKey: string;
|
|
552
|
+
/** Fill color. Default: var(--chart-line-primary) */
|
|
553
|
+
fill?: string;
|
|
554
|
+
/** Tooltip dot color when fill is gradient/pattern. Default: fill */
|
|
555
|
+
stroke?: string;
|
|
556
|
+
/** Corner radius for bar top corners. Default: 0 (square tops, similar to Bar lineCap="butt") */
|
|
557
|
+
radius?: number;
|
|
558
|
+
/** Animate grow from baseline. Default: true */
|
|
559
|
+
animate?: boolean;
|
|
560
|
+
/** Opacity for non-hovered bars when another point is hovered (matches BarChart). Default: 0.3 */
|
|
561
|
+
fadedOpacity?: number;
|
|
562
|
+
}
|
|
563
|
+
declare function SeriesBar({ dataKey, fill, radius, animate, fadedOpacity, }: SeriesBarProps): React$1.JSX.Element | null;
|
|
564
|
+
declare namespace SeriesBar {
|
|
565
|
+
var displayName: string;
|
|
566
|
+
}
|
|
567
|
+
|
|
549
568
|
interface ComposedChartProps {
|
|
550
569
|
/** Data array — each row typically has a date and multiple numeric series */
|
|
551
570
|
data: Record<string, unknown>[];
|
|
@@ -1447,4 +1466,4 @@ declare function toChartPoints(rows: Array<{
|
|
|
1447
1466
|
value: number;
|
|
1448
1467
|
}>): ChartPoint[];
|
|
1449
1468
|
|
|
1450
|
-
export { Area, AreaChart, type AreaChartProps, type AreaProps, Bar, BarChart, type BarChartProps, type BarProps, type ChartPoint, ChartProvider, ChartStatFlow, type ChartStatFlowFormat, type ChartStatFlowProps, ChartTooltip, ComposedChart, type ComposedChartProps, type FillSeriesGapsOptions, FunnelChart, type FunnelChartProps, Gauge, type GaugeLabelAlign, type GaugeLabelPlacement, type GaugeOrientation, type GaugeProps, Grid, HeatmapCells, HeatmapChart, type HeatmapChartProps, HeatmapLegend, HeatmapTooltip, HeatmapXAxis, HeatmapYAxis, Line, LineChart, type LineChartProps, type LineConfig, type LineProps, LiveLine, LiveLineChart, type LiveLineChartProps, type LiveLineProps, type Margin, Ring, RingCenter, type RingCenterProps, RingChart, type RingChartProps, type RingContextValue, type RingData, type RingHoverContextValue, type RingLineCap, type RingProps, RingProvider, type RingStableContextValue, StatCardArea, StatCardLine, TrendBadge, type TrendDelta, XAxis, YAxis, chartCssVars, defaultChartStatFlowFormat, defaultRingColors, fillSeriesGaps, formatChartDate, formatChartNumber, ringCssVars, toChartPoints, trendDelta, useChart, useChartStable, useRing, useRingHover, useRingStable };
|
|
1469
|
+
export { Area, AreaChart, type AreaChartProps, type AreaProps, Bar, BarChart, type BarChartProps, type BarProps, type ChartPoint, ChartProvider, ChartStatFlow, type ChartStatFlowFormat, type ChartStatFlowProps, ChartTooltip, ComposedChart, type ComposedChartProps, type FillSeriesGapsOptions, FunnelChart, type FunnelChartProps, Gauge, type GaugeLabelAlign, type GaugeLabelPlacement, type GaugeOrientation, type GaugeProps, Grid, HeatmapCells, HeatmapChart, type HeatmapChartProps, HeatmapLegend, HeatmapTooltip, HeatmapXAxis, HeatmapYAxis, Line, LineChart, type LineChartProps, type LineConfig, type LineProps, LiveLine, LiveLineChart, type LiveLineChartProps, type LiveLineProps, type Margin, Ring, RingCenter, type RingCenterProps, RingChart, type RingChartProps, type RingContextValue, type RingData, type RingHoverContextValue, type RingLineCap, type RingProps, RingProvider, type RingStableContextValue, SeriesBar, StatCardArea, StatCardLine, TrendBadge, type TrendDelta, XAxis, YAxis, chartCssVars, defaultChartStatFlowFormat, defaultRingColors, fillSeriesGaps, formatChartDate, formatChartNumber, ringCssVars, toChartPoints, trendDelta, useChart, useChartStable, useRing, useRingHover, useRingStable };
|
package/dist/charts.d.ts
CHANGED
|
@@ -546,6 +546,25 @@ declare namespace Bar {
|
|
|
546
546
|
var displayName: string;
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
+
interface SeriesBarProps {
|
|
550
|
+
/** Key in data for bar height (y value) */
|
|
551
|
+
dataKey: string;
|
|
552
|
+
/** Fill color. Default: var(--chart-line-primary) */
|
|
553
|
+
fill?: string;
|
|
554
|
+
/** Tooltip dot color when fill is gradient/pattern. Default: fill */
|
|
555
|
+
stroke?: string;
|
|
556
|
+
/** Corner radius for bar top corners. Default: 0 (square tops, similar to Bar lineCap="butt") */
|
|
557
|
+
radius?: number;
|
|
558
|
+
/** Animate grow from baseline. Default: true */
|
|
559
|
+
animate?: boolean;
|
|
560
|
+
/** Opacity for non-hovered bars when another point is hovered (matches BarChart). Default: 0.3 */
|
|
561
|
+
fadedOpacity?: number;
|
|
562
|
+
}
|
|
563
|
+
declare function SeriesBar({ dataKey, fill, radius, animate, fadedOpacity, }: SeriesBarProps): React$1.JSX.Element | null;
|
|
564
|
+
declare namespace SeriesBar {
|
|
565
|
+
var displayName: string;
|
|
566
|
+
}
|
|
567
|
+
|
|
549
568
|
interface ComposedChartProps {
|
|
550
569
|
/** Data array — each row typically has a date and multiple numeric series */
|
|
551
570
|
data: Record<string, unknown>[];
|
|
@@ -1447,4 +1466,4 @@ declare function toChartPoints(rows: Array<{
|
|
|
1447
1466
|
value: number;
|
|
1448
1467
|
}>): ChartPoint[];
|
|
1449
1468
|
|
|
1450
|
-
export { Area, AreaChart, type AreaChartProps, type AreaProps, Bar, BarChart, type BarChartProps, type BarProps, type ChartPoint, ChartProvider, ChartStatFlow, type ChartStatFlowFormat, type ChartStatFlowProps, ChartTooltip, ComposedChart, type ComposedChartProps, type FillSeriesGapsOptions, FunnelChart, type FunnelChartProps, Gauge, type GaugeLabelAlign, type GaugeLabelPlacement, type GaugeOrientation, type GaugeProps, Grid, HeatmapCells, HeatmapChart, type HeatmapChartProps, HeatmapLegend, HeatmapTooltip, HeatmapXAxis, HeatmapYAxis, Line, LineChart, type LineChartProps, type LineConfig, type LineProps, LiveLine, LiveLineChart, type LiveLineChartProps, type LiveLineProps, type Margin, Ring, RingCenter, type RingCenterProps, RingChart, type RingChartProps, type RingContextValue, type RingData, type RingHoverContextValue, type RingLineCap, type RingProps, RingProvider, type RingStableContextValue, StatCardArea, StatCardLine, TrendBadge, type TrendDelta, XAxis, YAxis, chartCssVars, defaultChartStatFlowFormat, defaultRingColors, fillSeriesGaps, formatChartDate, formatChartNumber, ringCssVars, toChartPoints, trendDelta, useChart, useChartStable, useRing, useRingHover, useRingStable };
|
|
1469
|
+
export { Area, AreaChart, type AreaChartProps, type AreaProps, Bar, BarChart, type BarChartProps, type BarProps, type ChartPoint, ChartProvider, ChartStatFlow, type ChartStatFlowFormat, type ChartStatFlowProps, ChartTooltip, ComposedChart, type ComposedChartProps, type FillSeriesGapsOptions, FunnelChart, type FunnelChartProps, Gauge, type GaugeLabelAlign, type GaugeLabelPlacement, type GaugeOrientation, type GaugeProps, Grid, HeatmapCells, HeatmapChart, type HeatmapChartProps, HeatmapLegend, HeatmapTooltip, HeatmapXAxis, HeatmapYAxis, Line, LineChart, type LineChartProps, type LineConfig, type LineProps, LiveLine, LiveLineChart, type LiveLineChartProps, type LiveLineProps, type Margin, Ring, RingCenter, type RingCenterProps, RingChart, type RingChartProps, type RingContextValue, type RingData, type RingHoverContextValue, type RingLineCap, type RingProps, RingProvider, type RingStableContextValue, SeriesBar, StatCardArea, StatCardLine, TrendBadge, type TrendDelta, XAxis, YAxis, chartCssVars, defaultChartStatFlowFormat, defaultRingColors, fillSeriesGaps, formatChartDate, formatChartNumber, ringCssVars, toChartPoints, trendDelta, useChart, useChartStable, useRing, useRingHover, useRingStable };
|
package/dist/charts.js
CHANGED
|
@@ -13744,6 +13744,6 @@ function toChartPoints(rows) {
|
|
|
13744
13744
|
}));
|
|
13745
13745
|
}
|
|
13746
13746
|
|
|
13747
|
-
export { Area, AreaChart, Bar, BarChart, ChartProvider, ChartStatFlow, ChartTooltip, ComposedChart, FunnelChart, Gauge, Grid, HeatmapCells, HeatmapChart, HeatmapLegend, HeatmapTooltip, HeatmapXAxis, HeatmapYAxis, Line, LineChart, LiveLine, LiveLineChart, Ring, RingCenter, RingChart, RingProvider, StatCardArea, StatCardLine, TrendBadge, XAxis, YAxis, chartCssVars, defaultChartStatFlowFormat, defaultRingColors, fillSeriesGaps, formatChartDate, formatChartNumber, ringCssVars, toChartPoints, trendDelta, useChart, useChartStable, useRing, useRingHover, useRingStable };
|
|
13747
|
+
export { Area, AreaChart, Bar, BarChart, ChartProvider, ChartStatFlow, ChartTooltip, ComposedChart, FunnelChart, Gauge, Grid, HeatmapCells, HeatmapChart, HeatmapLegend, HeatmapTooltip, HeatmapXAxis, HeatmapYAxis, Line, LineChart, LiveLine, LiveLineChart, Ring, RingCenter, RingChart, RingProvider, SeriesBar, StatCardArea, StatCardLine, TrendBadge, XAxis, YAxis, chartCssVars, defaultChartStatFlowFormat, defaultRingColors, fillSeriesGaps, formatChartDate, formatChartNumber, ringCssVars, toChartPoints, trendDelta, useChart, useChartStable, useRing, useRingHover, useRingStable };
|
|
13748
13748
|
//# sourceMappingURL=charts.js.map
|
|
13749
13749
|
//# sourceMappingURL=charts.js.map
|