@vizzly/dashboard 0.15.0-dev-357095b4e8ef67713963f81d18477f29a05dc538 → 0.15.0-dev-2ac54525d0d2df261694c4bc6675715d8beae16a
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/src/v2/components/Axis/AxisLeft.d.ts +3 -3
- package/dist/charts/src/v2/components/BarChart/BarChart.d.ts +1 -1
- package/dist/charts/src/v2/components/GridColumns/GridRows.d.ts +10 -0
- package/dist/charts/src/v2/components/GridColumns/shared.d.ts +2 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/HorizontalBarChart.d.ts +24 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/getTooltipDataForHorizontalChart.d.ts +25 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/index.d.ts +1 -0
- package/dist/charts/src/v2/components/HorizontalBarChart/useScalesForHorizontalChart.d.ts +4 -0
- package/dist/charts/src/v2/components/VerticalGoalLine/VerticalGoalLine.d.ts +11 -0
- package/dist/charts/src/v2/components/VerticalGoalLine/VerticalGoalLines.d.ts +11 -0
- package/dist/charts/src/v2/components/VerticalGoalLine/index.d.ts +2 -0
- package/dist/charts/src/v2/components/hooks/useGroupingAxisBaselineShift.d.ts +11 -0
- package/dist/charts/src/v2/index.d.ts +4 -3
- package/dist/charts/src/v2/utils/buildMargin.d.ts +1 -0
- package/dist/charts/src/v2/utils/components/BarGroup.d.ts +4 -2
- package/dist/charts/src/v2/utils/components/BarStacked.d.ts +6 -2
- package/dist/charts/src/v2/utils/components/HorizontalBarGroup.d.ts +28 -0
- package/dist/charts/src/v2/utils/components/HorizontalBarStacked.d.ts +22 -0
- package/dist/charts/src/v2/utils/getBarFill.d.ts +1 -1
- package/dist/charts/src/v2/utils/getTooltipData.d.ts +5 -5
- package/dist/dashboard/src/contexts/GlobalProvider/useGlobalProvider.d.ts +6 -6
- package/dist/dashboard.cjs.development.js +10837 -9108
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +10857 -9125
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChartV2/toQueries.d.ts +4 -0
- package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/buildVizzlyQuery.d.ts +5 -5
- package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +1 -1
- package/dist/shared-logic/src/ChartsV2/adjustTicks.d.ts +4 -1
- package/dist/shared-logic/src/Component/setAttributes.d.ts +1 -1
- package/dist/shared-logic/src/Component/types.d.ts +22 -5
- package/dist/shared-logic/src/DataLabel/index.d.ts +1 -1
- package/dist/shared-logic/src/DataSet/DataSet.d.ts +1 -1
- package/dist/shared-logic/src/HorizontalBarChartV2/attributesSchema.d.ts +3 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/buildHorizontalBarChartRepresentation.d.ts +41 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/constants.d.ts +3 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/index.d.ts +4 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/setAttributes.d.ts +4 -0
- package/dist/shared-logic/src/HorizontalBarChartV2/types.d.ts +41 -0
- package/dist/shared-logic/src/Result/formattedResultToSeries.d.ts +1 -1
- package/dist/shared-logic/src/api/vizzly/aiHelpers/view.d.ts +1 -1
- package/dist/shared-logic/src/getComponentInterface.d.ts +1 -1
- package/dist/shared-ui/src/api/useQueryEffect.d.ts +1 -1
- package/dist/shared-ui/src/components/Component/types.d.ts +1 -0
- package/dist/shared-ui/src/components/Drilldown/useDrilldownSelection.d.ts +1 -1
- package/dist/shared-ui/src/components/HeadlineStats/HeadlineStats.d.ts +2 -2
- package/dist/shared-ui/src/components/HorizontalBarChartV2/HorizontalBarChartV2.d.ts +3 -0
- package/dist/shared-ui/src/components/HorizontalBarChartV2/HorizontalBarChartV2View.d.ts +17 -0
- package/dist/shared-ui/src/components/HorizontalBarChartV2/index.d.ts +2 -0
- package/dist/shared-ui/src/components/LineChart/LineChartView.d.ts +1 -1
- package/dist/shared-ui/src/components/MercatorMap/View.d.ts +1 -1
- package/dist/shared-ui/src/library/StylePanel/AxisPreferenceSection.d.ts +1 -1
- package/package.json +1 -1
- package/dist/charts/src/v2/components/hooks/useBottomAxisBaselineShift.d.ts +0 -10
|
@@ -54,6 +54,7 @@ export declare type SingleStatProps = ChartPropsWithPartialAttributes<ComponentT
|
|
|
54
54
|
export declare type ProgressProps = ChartPropsWithPartialAttributes<ComponentType.ProgressAttributes> & {
|
|
55
55
|
height?: number;
|
|
56
56
|
};
|
|
57
|
+
export declare type HorizontalBarChartV2Props = ChartPropsWithPartialAttributes<ComponentType.HorizontalBarChartV2Attributes> & ChartPropsWithAttributesUpdate<ComponentType.HorizontalBarChartV2Attributes>;
|
|
57
58
|
export declare type DataTableProps = ChartPropsWithPartialAttributes<ComponentType.DataTableAttributes> & ChartPropsWithAttributesUpdate<ComponentType.DataTableAttributes> & {
|
|
58
59
|
displayColumns?: string[];
|
|
59
60
|
onViewClick?: (data: ComponentType.ChartOnViewClick, query?: ComponentType.OnViewClickQuery) => void;
|
|
@@ -4,7 +4,7 @@ import { DataSet } from '../../../../shared-logic/src/DataSet/types';
|
|
|
4
4
|
import * as Drilldown from '../../../../shared-logic/src/Drilldown/Drilldown';
|
|
5
5
|
import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
|
|
6
6
|
import { Result } from '../../../../shared-logic/src/Result/types';
|
|
7
|
-
export declare type AcceptedDrilldownAttributes = Component.PieChartAttributes | Component.BarChartAttributes | Component.HorizontalBarChartAttributes | Component.BarChartV2Attributes;
|
|
7
|
+
export declare type AcceptedDrilldownAttributes = Component.PieChartAttributes | Component.BarChartAttributes | Component.HorizontalBarChartAttributes | Component.BarChartV2Attributes | Component.HorizontalBarChartV2Attributes;
|
|
8
8
|
export declare function useDrilldownSelection(results: (Result | null)[], attributes: AcceptedDrilldownAttributes, setAttributes: (newAttributes: AcceptedDrilldownAttributes) => void, dataSet: DataSet, queryEngineConfig: QueryEngineConfig, hasDateTimeInDimension?: boolean): {
|
|
9
9
|
onDrilldownChange: ({ existingField, newField }: Drilldown.SelectedDrilldown) => void;
|
|
10
10
|
setDrilldownSelections: import("react").Dispatch<import("react").SetStateAction<Drilldown.SelectedDrilldown[]>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import { AreaChartProps, AreaChartV2Props, BarChartProps, BarChartV2Props, FunnelChartProps, LineChartProps, LineChartV2Props, BubbleChartV2Props } from '../Component/types';
|
|
3
|
-
export declare type HeadlineStatsProps = LineChartProps | BarChartProps | AreaChartProps | FunnelChartProps | LineChartV2Props | BarChartV2Props | BubbleChartV2Props | AreaChartV2Props;
|
|
2
|
+
import { AreaChartProps, AreaChartV2Props, BarChartProps, BarChartV2Props, FunnelChartProps, LineChartProps, LineChartV2Props, BubbleChartV2Props, HorizontalBarChartV2Props } from '../Component/types';
|
|
3
|
+
export declare type HeadlineStatsProps = LineChartProps | BarChartProps | AreaChartProps | FunnelChartProps | LineChartV2Props | BarChartV2Props | BubbleChartV2Props | AreaChartV2Props | HorizontalBarChartV2Props;
|
|
4
4
|
export declare const HeadlineStats: FunctionComponent<HeadlineStatsProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
3
|
+
import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
|
|
4
|
+
import { DashboardBehaviour, IdPrefix } from '../../contexts/DashboardBehaviour/types';
|
|
5
|
+
import { VizzlyComponents } from '../../types';
|
|
6
|
+
import { HeadlineStatsProps } from '../HeadlineStats/HeadlineStats';
|
|
7
|
+
export declare type HorizontalBarChartV2ViewProps = Omit<VizzlyComponents.ViewProps<{
|
|
8
|
+
attributes: Component.HorizontalBarChartV2Attributes;
|
|
9
|
+
}>, 'supportedTimeTruncFunctions' | 'supportedTransformationFunctions' | 'supportedAggregates'>;
|
|
10
|
+
export declare const HorizontalBarChartV2View: (props: HorizontalBarChartV2ViewProps & {
|
|
11
|
+
dashboard?: Dashboard;
|
|
12
|
+
library?: boolean;
|
|
13
|
+
numberFormatOptions: DashboardBehaviour['numberFormatOptions'];
|
|
14
|
+
dateTimeFormatOptions: DashboardBehaviour['dateTimeFormatOptions'];
|
|
15
|
+
propsForHeadline: HeadlineStatsProps;
|
|
16
|
+
idPrefix: IdPrefix;
|
|
17
|
+
}) => JSX.Element;
|
|
@@ -20,7 +20,7 @@ declare const memoized: React.NamedExoticComponent<{
|
|
|
20
20
|
};
|
|
21
21
|
localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[];
|
|
22
22
|
setLocalFilters: (localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void;
|
|
23
|
-
setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) => void;
|
|
23
|
+
setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) => void;
|
|
24
24
|
sm?: boolean | undefined;
|
|
25
25
|
dataSet: import("../../../../dashboard/src").DataSet<import("../../../../dashboard/src").DataSet.Field>;
|
|
26
26
|
} & {
|
|
@@ -17,7 +17,7 @@ declare const _default: (props: {
|
|
|
17
17
|
};
|
|
18
18
|
localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[];
|
|
19
19
|
setLocalFilters: (localFilters: import("../../../../shared-logic/src/AdditionalFilter/types").AdditionalFilter[]) => void;
|
|
20
|
-
setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes>) => void;
|
|
20
|
+
setPartialAttributes: (updates: Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BasicTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.CustomViewAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.DataTableAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.MercatorMapAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.PieChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ProgressAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RichTextAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ScatterChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.SingleStatAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.RadarChartAttributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.ComboChartV2Attributes> | Partial<import("../../../../shared-logic/src/Component/types").Component.HorizontalBarChartV2Attributes>) => void;
|
|
21
21
|
sm?: boolean | undefined;
|
|
22
22
|
dataSet: import("../../../../dashboard/src").DataSet<import("../../../../dashboard/src").DataSet.Field>;
|
|
23
23
|
} & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import { VizzlyComponents } from '../../types';
|
|
3
2
|
import { AxisLabelsSection as AxisLabelsSectionType } from '../../../../shared-logic/src/FormatPanelConfig/types';
|
|
3
|
+
import { VizzlyComponents } from '../../types';
|
|
4
4
|
declare type AxisValues = {
|
|
5
5
|
yAxisPrefix?: string;
|
|
6
6
|
yAxisPostfix?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.15.0-dev-
|
|
4
|
+
"version": "0.15.0-dev-2ac54525d0d2df261694c4bc6675715d8beae16a",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare type UseBottomAxisBaseLineShiftProps = {
|
|
2
|
-
showDetailedSubGroupingLabels: boolean;
|
|
3
|
-
hasBottomTitle: boolean;
|
|
4
|
-
hasLeftTitle: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare const useBottomAxisBaseLineShift: ({ showDetailedSubGroupingLabels, hasBottomTitle, hasLeftTitle, }: UseBottomAxisBaseLineShiftProps) => {
|
|
7
|
-
bottomAxisBaselineShift: number;
|
|
8
|
-
bottomOffset: number;
|
|
9
|
-
leftOffset: number;
|
|
10
|
-
};
|