react-semaphor 0.1.139 → 0.1.141

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-CycUpkzN.js → dashboard-controls-BHvVGLlv.js} +1 -1
  2. package/dist/chunks/{dashboard-controls-FAtMQrth.js → dashboard-controls-EsDrzl-D.js} +3 -3
  3. package/dist/chunks/{dashboard-export-dialog-BOeaIkB4.js → dashboard-export-dialog-B_RzsH3b.js} +3 -3
  4. package/dist/chunks/{dashboard-export-dialog-BkGfu2Ur.js → dashboard-export-dialog-Dblukxo3.js} +1 -1
  5. package/dist/chunks/{dashboard-json-CUnn97AA.js → dashboard-json-DrBVWyRS.js} +1 -1
  6. package/dist/chunks/{dashboard-json-vWf6j3ir.js → dashboard-json-zSw_5SRL.js} +1 -1
  7. package/dist/chunks/{edit-dashboard-visual-WvBAW290.js → edit-dashboard-visual-BMXrqb3-.js} +2719 -2602
  8. package/dist/chunks/edit-dashboard-visual-Q8wLkFTO.js +200 -0
  9. package/dist/chunks/{editor-action-buttons-BaYDKpMq.js → editor-action-buttons-Cmxam_Sd.js} +1 -1
  10. package/dist/chunks/{editor-action-buttons-hyOjCHRm.js → editor-action-buttons-D0RwjamH.js} +2 -2
  11. package/dist/chunks/{index-BAZxSdVh.js → index-B2rFHGiO.js} +112 -112
  12. package/dist/chunks/{index-C0aUsTJw.js → index-Doz0_7AF.js} +833 -821
  13. package/dist/chunks/{resource-management-panel-Chg6-H5n.js → resource-management-panel-BofFhw2g.js} +1 -1
  14. package/dist/chunks/{resource-management-panel-B2XgOmvv.js → resource-management-panel-TN0oDdug.js} +2 -2
  15. package/dist/chunks/{use-visual-utils-DIuorLLH.js → use-visual-utils-BqWwpDIB.js} +1 -1
  16. package/dist/chunks/{use-visual-utils-DyjCJ47j.js → use-visual-utils-DlCUQPEz.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 +14 -0
  25. package/dist/types/main.d.ts +14 -0
  26. package/dist/types/surfboard.d.ts +14 -0
  27. package/dist/types/types.d.ts +14 -0
  28. package/package.json +1 -1
  29. package/dist/chunks/edit-dashboard-visual-QX1EfVIC.js +0 -200
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-BAZxSdVh.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-B2rFHGiO.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-C0aUsTJw.js";
1
+ import { a } from "../chunks/index-Doz0_7AF.js";
2
2
  import { EMPTY_SELECTION as E } from "../types/index.js";
3
3
  export {
4
4
  E as EMPTY_SELECTION,
@@ -1512,6 +1512,20 @@ export declare type TFunnelConfig = {
1512
1512
  * - 'percentOfFirst': First stage = 100%, others relative to first
1513
1513
  */
1514
1514
  percentMode?: TFunnelPercentMode;
1515
+ /**
1516
+ * Controls how much funnel segments narrow based on their values.
1517
+ * - 0: No shrink (all segments same width)
1518
+ * - 1: Full shrink (segments narrow proportionally to values, default)
1519
+ * Lower values prevent segments from becoming too narrow for labels.
1520
+ */
1521
+ shrinkFraction?: number;
1522
+ /**
1523
+ * Hide labels for segments smaller than this percentage of total.
1524
+ * - 0: Show all labels (default)
1525
+ * - 10: Hide labels for segments < 10% of total
1526
+ * Range: 0-25
1527
+ */
1528
+ labelThreshold?: number;
1515
1529
  };
1516
1530
 
1517
1531
  /**
@@ -2459,6 +2459,20 @@ export declare type TFunnelConfig = {
2459
2459
  * - 'percentOfFirst': First stage = 100%, others relative to first
2460
2460
  */
2461
2461
  percentMode?: TFunnelPercentMode;
2462
+ /**
2463
+ * Controls how much funnel segments narrow based on their values.
2464
+ * - 0: No shrink (all segments same width)
2465
+ * - 1: Full shrink (segments narrow proportionally to values, default)
2466
+ * Lower values prevent segments from becoming too narrow for labels.
2467
+ */
2468
+ shrinkFraction?: number;
2469
+ /**
2470
+ * Hide labels for segments smaller than this percentage of total.
2471
+ * - 0: Show all labels (default)
2472
+ * - 10: Hide labels for segments < 10% of total
2473
+ * Range: 0-25
2474
+ */
2475
+ labelThreshold?: number;
2462
2476
  };
2463
2477
 
2464
2478
  /**
@@ -1517,6 +1517,20 @@ export declare type TFunnelConfig = {
1517
1517
  * - 'percentOfFirst': First stage = 100%, others relative to first
1518
1518
  */
1519
1519
  percentMode?: TFunnelPercentMode;
1520
+ /**
1521
+ * Controls how much funnel segments narrow based on their values.
1522
+ * - 0: No shrink (all segments same width)
1523
+ * - 1: Full shrink (segments narrow proportionally to values, default)
1524
+ * Lower values prevent segments from becoming too narrow for labels.
1525
+ */
1526
+ shrinkFraction?: number;
1527
+ /**
1528
+ * Hide labels for segments smaller than this percentage of total.
1529
+ * - 0: Show all labels (default)
1530
+ * - 10: Hide labels for segments < 10% of total
1531
+ * Range: 0-25
1532
+ */
1533
+ labelThreshold?: number;
1520
1534
  };
1521
1535
 
1522
1536
  /**
@@ -1509,6 +1509,20 @@ export declare type TFunnelConfig = {
1509
1509
  * - 'percentOfFirst': First stage = 100%, others relative to first
1510
1510
  */
1511
1511
  percentMode?: TFunnelPercentMode;
1512
+ /**
1513
+ * Controls how much funnel segments narrow based on their values.
1514
+ * - 0: No shrink (all segments same width)
1515
+ * - 1: Full shrink (segments narrow proportionally to values, default)
1516
+ * Lower values prevent segments from becoming too narrow for labels.
1517
+ */
1518
+ shrinkFraction?: number;
1519
+ /**
1520
+ * Hide labels for segments smaller than this percentage of total.
1521
+ * - 0: Show all labels (default)
1522
+ * - 10: Hide labels for segments < 10% of total
1523
+ * Range: 0-25
1524
+ */
1525
+ labelThreshold?: number;
1512
1526
  };
1513
1527
 
1514
1528
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.139",
8
+ "version": "0.1.141",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",