react-semaphor 0.1.153 → 0.1.155

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.
Files changed (29) hide show
  1. package/dist/chunks/{dashboard-controls-lIo_URy7.js → dashboard-controls-BpT2gSop.js} +1 -1
  2. package/dist/chunks/{dashboard-controls-kx_4Nico.js → dashboard-controls-Cb4ZvOZ4.js} +3 -3
  3. package/dist/chunks/{dashboard-export-dialog-C8xysbOI.js → dashboard-export-dialog-CnmpqTA0.js} +1 -1
  4. package/dist/chunks/{dashboard-export-dialog-CRVQk6ax.js → dashboard-export-dialog-EIQ-zdsI.js} +3 -3
  5. package/dist/chunks/{dashboard-json-ZMgeJTRk.js → dashboard-json-BYB2GwFM.js} +1 -1
  6. package/dist/chunks/{dashboard-json-C1tJ7tz7.js → dashboard-json-CWJEfWd8.js} +1 -1
  7. package/dist/chunks/edit-dashboard-visual-BsEufqv1.js +190 -0
  8. package/dist/chunks/{edit-dashboard-visual-C3qTOeby.js → edit-dashboard-visual-DSDRbBJJ.js} +5124 -4582
  9. package/dist/chunks/{editor-action-buttons-DvGk6NFy.js → editor-action-buttons-B9Phr9Iy.js} +1 -1
  10. package/dist/chunks/{editor-action-buttons-ypKWmpAH.js → editor-action-buttons-DxP58AwT.js} +2 -2
  11. package/dist/chunks/{index-BB5hIN4X.js → index-DI-IV3fP.js} +27442 -27176
  12. package/dist/chunks/{index-CCdyoQxh.js → index-DwfZZLTB.js} +237 -227
  13. package/dist/chunks/{resource-management-panel-BGSGpS9O.js → resource-management-panel-H01CicsS.js} +2 -2
  14. package/dist/chunks/{resource-management-panel-CvHAyeCH.js → resource-management-panel-svBEDFkY.js} +1 -1
  15. package/dist/chunks/{use-visual-utils-DkaBs9Wi.js → use-visual-utils-ChJrWyUp.js} +1 -1
  16. package/dist/chunks/{use-visual-utils-mgLJuo_U.js → use-visual-utils-Ks4oTEib.js} +1 -1
  17. package/dist/dashboard/index.cjs +1 -1
  18. package/dist/dashboard/index.js +1 -1
  19. package/dist/index.cjs +1 -1
  20. package/dist/index.js +4 -4
  21. package/dist/style.css +1 -1
  22. package/dist/surfboard/index.cjs +1 -1
  23. package/dist/surfboard/index.js +1 -1
  24. package/dist/types/dashboard.d.ts +11 -1
  25. package/dist/types/main.d.ts +11 -1
  26. package/dist/types/surfboard.d.ts +11 -1
  27. package/dist/types/types.d.ts +11 -1
  28. package/package.json +1 -1
  29. package/dist/chunks/edit-dashboard-visual-BpFQUvAT.js +0 -195
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-CCdyoQxh.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/index-DwfZZLTB.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { a } from "../chunks/index-BB5hIN4X.js";
1
+ import { a } from "../chunks/index-DI-IV3fP.js";
2
2
  import { EMPTY_SELECTION as E } from "../types/index.js";
3
3
  export {
4
4
  E as EMPTY_SELECTION,
@@ -34,6 +34,10 @@ export declare type AxisConfig = {
34
34
  name?: {
35
35
  enabled: boolean;
36
36
  text?: string;
37
+ /** Font size for the axis title */
38
+ fontSize?: number;
39
+ /** Font weight for the axis title */
40
+ fontWeight?: 'normal' | 'bold';
37
41
  };
38
42
  position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
39
43
  labels?: {
@@ -1275,6 +1279,7 @@ export declare type TCardPreferences = {
1275
1279
  colorConfig?: ColorConfig;
1276
1280
  xAxisConfig?: AxisConfig;
1277
1281
  yAxisConfig?: AxisConfig;
1282
+ secondaryYAxisConfig?: AxisConfig;
1278
1283
  dataLabelsConfig?: TDataLabelsConfig;
1279
1284
  bulletConfig?: TBulletConfig;
1280
1285
  heatmapConfig?: THeatmapConfig;
@@ -1374,7 +1379,7 @@ export declare type TChartOptions = {
1374
1379
  treemapColorMode?: 'branch' | 'category';
1375
1380
  };
1376
1381
 
1377
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1382
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1378
1383
 
1379
1384
  export declare type TColumnSetting<T extends DisplayDataType> = {
1380
1385
  columnIdx: number;
@@ -1463,6 +1468,11 @@ export declare type TDatasetOptions = {
1463
1468
  idx: number;
1464
1469
  type?: 'bar' | 'line';
1465
1470
  fill?: string | number;
1471
+ /** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
1472
+ yAxisId?: 'y' | 'y2';
1473
+ /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
1474
+ dataLabels?: TDataLabelsConfig;
1475
+ /** @deprecated Use dataLabels instead */
1466
1476
  datalabels?: {
1467
1477
  display?: boolean;
1468
1478
  align?: string;
@@ -284,6 +284,10 @@ export declare type AxisConfig = {
284
284
  name?: {
285
285
  enabled: boolean;
286
286
  text?: string;
287
+ /** Font size for the axis title */
288
+ fontSize?: number;
289
+ /** Font weight for the axis title */
290
+ fontWeight?: 'normal' | 'bold';
287
291
  };
288
292
  position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
289
293
  labels?: {
@@ -2270,6 +2274,7 @@ export declare type TCardPreferences = {
2270
2274
  colorConfig?: ColorConfig;
2271
2275
  xAxisConfig?: AxisConfig;
2272
2276
  yAxisConfig?: AxisConfig;
2277
+ secondaryYAxisConfig?: AxisConfig;
2273
2278
  dataLabelsConfig?: TDataLabelsConfig;
2274
2279
  bulletConfig?: TBulletConfig;
2275
2280
  heatmapConfig?: THeatmapConfig;
@@ -2371,7 +2376,7 @@ export declare type TChartOptions = {
2371
2376
  treemapColorMode?: 'branch' | 'category';
2372
2377
  };
2373
2378
 
2374
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
2379
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
2375
2380
 
2376
2381
  export declare type TColumnSetting<T extends DisplayDataType> = {
2377
2382
  columnIdx: number;
@@ -2460,6 +2465,11 @@ export declare type TDatasetOptions = {
2460
2465
  idx: number;
2461
2466
  type?: 'bar' | 'line';
2462
2467
  fill?: string | number;
2468
+ /** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
2469
+ yAxisId?: 'y' | 'y2';
2470
+ /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
2471
+ dataLabels?: TDataLabelsConfig;
2472
+ /** @deprecated Use dataLabels instead */
2463
2473
  datalabels?: {
2464
2474
  display?: boolean;
2465
2475
  align?: string;
@@ -34,6 +34,10 @@ export declare type AxisConfig = {
34
34
  name?: {
35
35
  enabled: boolean;
36
36
  text?: string;
37
+ /** Font size for the axis title */
38
+ fontSize?: number;
39
+ /** Font weight for the axis title */
40
+ fontWeight?: 'normal' | 'bold';
37
41
  };
38
42
  position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
39
43
  labels?: {
@@ -1280,6 +1284,7 @@ export declare type TCardPreferences = {
1280
1284
  colorConfig?: ColorConfig;
1281
1285
  xAxisConfig?: AxisConfig;
1282
1286
  yAxisConfig?: AxisConfig;
1287
+ secondaryYAxisConfig?: AxisConfig;
1283
1288
  dataLabelsConfig?: TDataLabelsConfig;
1284
1289
  bulletConfig?: TBulletConfig;
1285
1290
  heatmapConfig?: THeatmapConfig;
@@ -1379,7 +1384,7 @@ export declare type TChartOptions = {
1379
1384
  treemapColorMode?: 'branch' | 'category';
1380
1385
  };
1381
1386
 
1382
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1387
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1383
1388
 
1384
1389
  export declare type TColumnSetting<T extends DisplayDataType> = {
1385
1390
  columnIdx: number;
@@ -1468,6 +1473,11 @@ export declare type TDatasetOptions = {
1468
1473
  idx: number;
1469
1474
  type?: 'bar' | 'line';
1470
1475
  fill?: string | number;
1476
+ /** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
1477
+ yAxisId?: 'y' | 'y2';
1478
+ /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
1479
+ dataLabels?: TDataLabelsConfig;
1480
+ /** @deprecated Use dataLabels instead */
1471
1481
  datalabels?: {
1472
1482
  display?: boolean;
1473
1483
  align?: string;
@@ -33,6 +33,10 @@ export declare type AxisConfig = {
33
33
  name?: {
34
34
  enabled: boolean;
35
35
  text?: string;
36
+ /** Font size for the axis title */
37
+ fontSize?: number;
38
+ /** Font weight for the axis title */
39
+ fontWeight?: 'normal' | 'bold';
36
40
  };
37
41
  position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
38
42
  labels?: {
@@ -1272,6 +1276,7 @@ export declare type TCardPreferences = {
1272
1276
  colorConfig?: ColorConfig;
1273
1277
  xAxisConfig?: AxisConfig;
1274
1278
  yAxisConfig?: AxisConfig;
1279
+ secondaryYAxisConfig?: AxisConfig;
1275
1280
  dataLabelsConfig?: TDataLabelsConfig;
1276
1281
  bulletConfig?: TBulletConfig;
1277
1282
  heatmapConfig?: THeatmapConfig;
@@ -1371,7 +1376,7 @@ export declare type TChartOptions = {
1371
1376
  treemapColorMode?: 'branch' | 'category';
1372
1377
  };
1373
1378
 
1374
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1379
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1375
1380
 
1376
1381
  export declare type TColumnSetting<T extends DisplayDataType> = {
1377
1382
  columnIdx: number;
@@ -1460,6 +1465,11 @@ export declare type TDatasetOptions = {
1460
1465
  idx: number;
1461
1466
  type?: 'bar' | 'line';
1462
1467
  fill?: string | number;
1468
+ /** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
1469
+ yAxisId?: 'y' | 'y2';
1470
+ /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
1471
+ dataLabels?: TDataLabelsConfig;
1472
+ /** @deprecated Use dataLabels instead */
1463
1473
  datalabels?: {
1464
1474
  display?: boolean;
1465
1475
  align?: string;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.153",
8
+ "version": "0.1.155",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",