react-semaphor 0.1.71 → 0.1.73

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-CnioyOtP.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-DwsEdhKP.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-Be9hzz-4.js";
1
+ import { D as f } from "../chunks/dashboard-plus-B9WlHlCu.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -1140,6 +1140,7 @@ export declare type TCardPreferences = {
1140
1140
  yAxisConfig?: AxisConfig;
1141
1141
  dataLabelsConfig?: TDataLabelsConfig;
1142
1142
  bulletConfig?: TBulletConfig;
1143
+ heatmapConfig?: THeatmapConfig;
1143
1144
  tablePrefs?: TablePreferences;
1144
1145
  allowDownload?: boolean;
1145
1146
  customVisualCode?: string;
@@ -1233,7 +1234,7 @@ export declare type TChartOptions = {
1233
1234
  treemapColorMode?: 'branch' | 'category';
1234
1235
  };
1235
1236
 
1236
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'treemap' | 'custom';
1237
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1237
1238
 
1238
1239
  export declare type TColumnSetting<T extends DisplayDataType> = {
1239
1240
  columnIdx: number;
@@ -1377,6 +1378,20 @@ export declare type TFrame = {
1377
1378
  activeCardId: string;
1378
1379
  };
1379
1380
 
1381
+ export declare type THeatmapConfig = {
1382
+ colorMode?: 'continuous' | 'stepped';
1383
+ steps?: number;
1384
+ colorRange?: [string, string];
1385
+ colorPalette?: 'blue' | 'green' | 'purple' | 'orange' | 'custom';
1386
+ showLegend?: boolean;
1387
+ legendPosition?: 'top' | 'bottom' | 'left' | 'right';
1388
+ showDataLabels?: boolean;
1389
+ nullFillColor?: string;
1390
+ fillMissingCells?: boolean;
1391
+ xAxisBuckets?: string[];
1392
+ yAxisBuckets?: string[];
1393
+ };
1394
+
1380
1395
  export declare type Theme = 'dark' | 'light' | 'system';
1381
1396
 
1382
1397
  declare interface TimeDrillStep {
@@ -1844,6 +1844,7 @@ export declare type TCardPreferences = {
1844
1844
  yAxisConfig?: AxisConfig;
1845
1845
  dataLabelsConfig?: TDataLabelsConfig;
1846
1846
  bulletConfig?: TBulletConfig;
1847
+ heatmapConfig?: THeatmapConfig;
1847
1848
  tablePrefs?: TablePreferences;
1848
1849
  allowDownload?: boolean;
1849
1850
  customVisualCode?: string;
@@ -1939,7 +1940,7 @@ export declare type TChartOptions = {
1939
1940
  treemapColorMode?: 'branch' | 'category';
1940
1941
  };
1941
1942
 
1942
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'treemap' | 'custom';
1943
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1943
1944
 
1944
1945
  export declare type TColumnSetting<T extends DisplayDataType> = {
1945
1946
  columnIdx: number;
@@ -2083,6 +2084,20 @@ export declare type TFrame = {
2083
2084
  activeCardId: string;
2084
2085
  };
2085
2086
 
2087
+ export declare type THeatmapConfig = {
2088
+ colorMode?: 'continuous' | 'stepped';
2089
+ steps?: number;
2090
+ colorRange?: [string, string];
2091
+ colorPalette?: 'blue' | 'green' | 'purple' | 'orange' | 'custom';
2092
+ showLegend?: boolean;
2093
+ legendPosition?: 'top' | 'bottom' | 'left' | 'right';
2094
+ showDataLabels?: boolean;
2095
+ nullFillColor?: string;
2096
+ fillMissingCells?: boolean;
2097
+ xAxisBuckets?: string[];
2098
+ yAxisBuckets?: string[];
2099
+ };
2100
+
2086
2101
  export declare type Theme = 'dark' | 'light' | 'system';
2087
2102
 
2088
2103
  declare interface TimeDrillStep {
@@ -1145,6 +1145,7 @@ export declare type TCardPreferences = {
1145
1145
  yAxisConfig?: AxisConfig;
1146
1146
  dataLabelsConfig?: TDataLabelsConfig;
1147
1147
  bulletConfig?: TBulletConfig;
1148
+ heatmapConfig?: THeatmapConfig;
1148
1149
  tablePrefs?: TablePreferences;
1149
1150
  allowDownload?: boolean;
1150
1151
  customVisualCode?: string;
@@ -1238,7 +1239,7 @@ export declare type TChartOptions = {
1238
1239
  treemapColorMode?: 'branch' | 'category';
1239
1240
  };
1240
1241
 
1241
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'treemap' | 'custom';
1242
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1242
1243
 
1243
1244
  export declare type TColumnSetting<T extends DisplayDataType> = {
1244
1245
  columnIdx: number;
@@ -1382,6 +1383,20 @@ export declare type TFrame = {
1382
1383
  activeCardId: string;
1383
1384
  };
1384
1385
 
1386
+ export declare type THeatmapConfig = {
1387
+ colorMode?: 'continuous' | 'stepped';
1388
+ steps?: number;
1389
+ colorRange?: [string, string];
1390
+ colorPalette?: 'blue' | 'green' | 'purple' | 'orange' | 'custom';
1391
+ showLegend?: boolean;
1392
+ legendPosition?: 'top' | 'bottom' | 'left' | 'right';
1393
+ showDataLabels?: boolean;
1394
+ nullFillColor?: string;
1395
+ fillMissingCells?: boolean;
1396
+ xAxisBuckets?: string[];
1397
+ yAxisBuckets?: string[];
1398
+ };
1399
+
1385
1400
  export declare type Theme = 'dark' | 'light' | 'system';
1386
1401
 
1387
1402
  declare interface TimeDrillStep {
@@ -1137,6 +1137,7 @@ export declare type TCardPreferences = {
1137
1137
  yAxisConfig?: AxisConfig;
1138
1138
  dataLabelsConfig?: TDataLabelsConfig;
1139
1139
  bulletConfig?: TBulletConfig;
1140
+ heatmapConfig?: THeatmapConfig;
1140
1141
  tablePrefs?: TablePreferences;
1141
1142
  allowDownload?: boolean;
1142
1143
  customVisualCode?: string;
@@ -1230,7 +1231,7 @@ export declare type TChartOptions = {
1230
1231
  treemapColorMode?: 'branch' | 'category';
1231
1232
  };
1232
1233
 
1233
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'treemap' | 'custom';
1234
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1234
1235
 
1235
1236
  export declare type TColumnSetting<T extends DisplayDataType> = {
1236
1237
  columnIdx: number;
@@ -1374,6 +1375,20 @@ export declare type TFrame = {
1374
1375
  activeCardId: string;
1375
1376
  };
1376
1377
 
1378
+ export declare type THeatmapConfig = {
1379
+ colorMode?: 'continuous' | 'stepped';
1380
+ steps?: number;
1381
+ colorRange?: [string, string];
1382
+ colorPalette?: 'blue' | 'green' | 'purple' | 'orange' | 'custom';
1383
+ showLegend?: boolean;
1384
+ legendPosition?: 'top' | 'bottom' | 'left' | 'right';
1385
+ showDataLabels?: boolean;
1386
+ nullFillColor?: string;
1387
+ fillMissingCells?: boolean;
1388
+ xAxisBuckets?: string[];
1389
+ yAxisBuckets?: string[];
1390
+ };
1391
+
1377
1392
  export declare type Theme = 'dark' | 'light' | 'system';
1378
1393
 
1379
1394
  declare interface TimeDrillStep {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.71",
8
+ "version": "0.1.73",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",
@@ -96,10 +96,12 @@
96
96
  "@tailwindcss/container-queries": "^0.1.1",
97
97
  "@tanstack/react-query": "^5.62.15",
98
98
  "@tanstack/react-table": "^8.11.7",
99
+ "@tanstack/react-virtual": "^3.13.12",
99
100
  "ai": "^5.0.7",
100
101
  "chart.js": "^4.4.1",
101
102
  "chartjs-chart-funnel": "^4.2.4",
102
103
  "chartjs-chart-geo": "^4.3.4",
104
+ "chartjs-chart-matrix": "^3.0.0",
103
105
  "chartjs-chart-treemap": "^3.1.0",
104
106
  "chartjs-plugin-datalabels": "^2.2.0",
105
107
  "class-variance-authority": "^0.7.0",