@mui/x-charts-pro 9.0.0-alpha.2 → 9.0.0-alpha.3

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 (102) hide show
  1. package/BarChartPro/BarChartPro.js +5 -2
  2. package/BarChartPro/BarChartPro.mjs +5 -2
  3. package/CHANGELOG.md +123 -1
  4. package/ChartContainerPro/ChartContainerPro.d.mts +2 -2
  5. package/ChartContainerPro/ChartContainerPro.d.ts +2 -2
  6. package/ChartContainerPro/useChartContainerProProps.d.mts +2 -2
  7. package/ChartContainerPro/useChartContainerProProps.d.ts +2 -2
  8. package/ChartDataProviderPro/ChartDataProviderPro.d.mts +1 -1
  9. package/ChartDataProviderPro/ChartDataProviderPro.d.ts +1 -1
  10. package/ChartDataProviderPro/useChartDataProviderProProps.d.mts +1 -1
  11. package/ChartDataProviderPro/useChartDataProviderProProps.d.ts +1 -1
  12. package/ChartsContainerPro/ChartsContainerPro.d.mts +2 -2
  13. package/ChartsContainerPro/ChartsContainerPro.d.ts +2 -2
  14. package/ChartsContainerPro/useChartsContainerProProps.d.mts +3 -3
  15. package/ChartsContainerPro/useChartsContainerProProps.d.ts +3 -3
  16. package/ChartsDataProviderPro/ChartsDataProviderPro.d.mts +2 -2
  17. package/ChartsDataProviderPro/ChartsDataProviderPro.d.ts +2 -2
  18. package/ChartsDataProviderPro/ChartsDataProviderPro.js +8 -5
  19. package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +8 -5
  20. package/ChartsDataProviderPro/useChartsDataProviderProProps.d.mts +1 -1
  21. package/ChartsDataProviderPro/useChartsDataProviderProProps.d.ts +1 -1
  22. package/FunnelChart/FunnelChart.js +5 -2
  23. package/FunnelChart/FunnelChart.mjs +5 -2
  24. package/FunnelChart/FunnelSection.js +3 -4
  25. package/FunnelChart/FunnelSection.mjs +4 -5
  26. package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.mts +3 -3
  27. package/FunnelChart/funnelAxisPlugin/computeAxisValue.d.ts +3 -3
  28. package/Heatmap/Heatmap.js +5 -4
  29. package/Heatmap/Heatmap.mjs +5 -4
  30. package/Heatmap/HeatmapItem.js +0 -1
  31. package/Heatmap/HeatmapItem.mjs +0 -1
  32. package/Heatmap/HeatmapSVGPlot.js +4 -4
  33. package/Heatmap/HeatmapSVGPlot.mjs +5 -5
  34. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.js +16 -13
  35. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.mjs +16 -13
  36. package/Heatmap/internals/HeatmapCell.js +1 -1
  37. package/Heatmap/internals/HeatmapCell.mjs +1 -1
  38. package/Heatmap/seriesConfig/getColor.js +5 -3
  39. package/Heatmap/seriesConfig/getColor.mjs +5 -3
  40. package/Heatmap/seriesConfig/getItemAtPosition.d.mts +2 -2
  41. package/Heatmap/seriesConfig/getItemAtPosition.d.ts +2 -2
  42. package/Heatmap/seriesConfig/getItemAtPosition.js +3 -11
  43. package/Heatmap/seriesConfig/getItemAtPosition.mjs +3 -11
  44. package/Heatmap/seriesConfig/identifierCleaner.d.mts +3 -0
  45. package/Heatmap/seriesConfig/identifierCleaner.d.ts +3 -0
  46. package/Heatmap/seriesConfig/identifierCleaner.js +15 -0
  47. package/Heatmap/seriesConfig/identifierCleaner.mjs +9 -0
  48. package/Heatmap/seriesConfig/identifierSerializer.d.mts +3 -0
  49. package/Heatmap/seriesConfig/identifierSerializer.d.ts +3 -0
  50. package/Heatmap/seriesConfig/identifierSerializer.js +11 -0
  51. package/Heatmap/seriesConfig/identifierSerializer.mjs +5 -0
  52. package/Heatmap/seriesConfig/index.js +4 -2
  53. package/Heatmap/seriesConfig/index.mjs +5 -3
  54. package/Heatmap/seriesConfig/keyboardFocusHandler.js +6 -19
  55. package/Heatmap/seriesConfig/keyboardFocusHandler.mjs +6 -19
  56. package/Heatmap/seriesConfig/seriesProcessor.js +8 -3
  57. package/Heatmap/seriesConfig/seriesProcessor.mjs +8 -3
  58. package/Heatmap/seriesConfig/tooltip.js +7 -6
  59. package/Heatmap/seriesConfig/tooltip.mjs +7 -6
  60. package/Heatmap/seriesConfig/tooltipPosition.js +3 -4
  61. package/Heatmap/seriesConfig/tooltipPosition.mjs +3 -4
  62. package/Heatmap/useHeatmapProps.js +2 -2
  63. package/Heatmap/useHeatmapProps.mjs +2 -2
  64. package/LineChartPro/LineChartPro.js +5 -2
  65. package/LineChartPro/LineChartPro.mjs +5 -2
  66. package/PieChartPro/PieChartPro.js +5 -2
  67. package/PieChartPro/PieChartPro.mjs +5 -2
  68. package/RadarChartPro/RadarChartPro.js +5 -2
  69. package/RadarChartPro/RadarChartPro.mjs +5 -2
  70. package/SankeyChart/SankeyChart.js +5 -2
  71. package/SankeyChart/SankeyChart.mjs +5 -2
  72. package/SankeyChart/SankeyLinkElement.js +4 -3
  73. package/SankeyChart/SankeyLinkElement.mjs +5 -4
  74. package/SankeyChart/SankeyNodeElement.js +4 -3
  75. package/SankeyChart/SankeyNodeElement.mjs +5 -4
  76. package/SankeyChart/sankeyHighlightHooks.d.mts +2 -2
  77. package/SankeyChart/sankeyHighlightHooks.d.ts +2 -2
  78. package/SankeyChart/sankeyHighlightHooks.js +2 -10
  79. package/SankeyChart/sankeyHighlightHooks.mjs +3 -11
  80. package/ScatterChartPro/ScatterChartPro.js +5 -2
  81. package/ScatterChartPro/ScatterChartPro.mjs +5 -2
  82. package/index.js +1 -1
  83. package/index.mjs +1 -1
  84. package/internals/ChartsWatermark.d.mts +2 -2
  85. package/internals/ChartsWatermark.d.ts +2 -2
  86. package/internals/ChartsWatermark.js +5 -8
  87. package/internals/ChartsWatermark.mjs +3 -6
  88. package/internals/plugins/allPlugins.d.mts +4 -4
  89. package/internals/plugins/allPlugins.d.ts +4 -4
  90. package/internals/plugins/useChartProExport/exportImage.js +1 -1
  91. package/internals/plugins/useChartProExport/exportImage.mjs +1 -1
  92. package/models/seriesType/heatmap.d.mts +36 -9
  93. package/models/seriesType/heatmap.d.ts +36 -9
  94. package/models/seriesType/heatmap.js +28 -1
  95. package/models/seriesType/heatmap.mjs +25 -1
  96. package/package.json +128 -128
  97. package/plugins/selectors/useChartHeatmapPosition.selectors.d.mts +2 -2
  98. package/plugins/selectors/useChartHeatmapPosition.selectors.d.ts +2 -2
  99. package/plugins/selectors/useChartHeatmapPosition.selectors.js +4 -4
  100. package/plugins/selectors/useChartHeatmapPosition.selectors.mjs +4 -4
  101. package/typeOverloads/modules.d.mts +2 -2
  102. package/typeOverloads/modules.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-charts-pro",
3
- "version": "9.0.0-alpha.2",
3
+ "version": "9.0.0-alpha.3",
4
4
  "author": "MUI Team",
5
5
  "description": "The Pro plan edition of the MUI X Charts components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -31,11 +31,11 @@
31
31
  "@mui/utils": "^7.3.7",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
- "@mui/x-charts": "9.0.0-alpha.2",
34
+ "@mui/x-charts": "9.0.0-alpha.3",
35
35
  "@mui/x-charts-vendor": "9.0.0-alpha.2",
36
36
  "@mui/x-internal-gestures": "0.4.1-alpha.0",
37
- "@mui/x-internals": "9.0.0-alpha.2",
38
- "@mui/x-license": "9.0.0-alpha.2"
37
+ "@mui/x-license": "9.0.0-alpha.3",
38
+ "@mui/x-internals": "9.0.0-alpha.2"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@emotion/react": "^11.9.0",
@@ -427,434 +427,434 @@
427
427
  }
428
428
  },
429
429
  "./ChartsToolbarPro": {
430
- "import": {
431
- "types": "./ChartsToolbarPro/index.d.mts",
432
- "default": "./ChartsToolbarPro/index.mjs"
433
- },
434
430
  "require": {
435
431
  "types": "./ChartsToolbarPro/index.d.ts",
436
432
  "default": "./ChartsToolbarPro/index.js"
437
433
  },
434
+ "import": {
435
+ "types": "./ChartsToolbarPro/index.d.mts",
436
+ "default": "./ChartsToolbarPro/index.mjs"
437
+ },
438
438
  "default": {
439
439
  "types": "./ChartsToolbarPro/index.d.mts",
440
440
  "default": "./ChartsToolbarPro/index.mjs"
441
441
  }
442
442
  },
443
443
  "./ChartsTooltip": {
444
- "import": {
445
- "types": "./ChartsTooltip/index.d.mts",
446
- "default": "./ChartsTooltip/index.mjs"
447
- },
448
444
  "require": {
449
445
  "types": "./ChartsTooltip/index.d.ts",
450
446
  "default": "./ChartsTooltip/index.js"
451
447
  },
448
+ "import": {
449
+ "types": "./ChartsTooltip/index.d.mts",
450
+ "default": "./ChartsTooltip/index.mjs"
451
+ },
452
452
  "default": {
453
453
  "types": "./ChartsTooltip/index.d.mts",
454
454
  "default": "./ChartsTooltip/index.mjs"
455
455
  }
456
456
  },
457
457
  "./ChartsWrapper": {
458
- "import": {
459
- "types": "./ChartsWrapper/index.d.mts",
460
- "default": "./ChartsWrapper/index.mjs"
461
- },
462
458
  "require": {
463
459
  "types": "./ChartsWrapper/index.d.ts",
464
460
  "default": "./ChartsWrapper/index.js"
465
461
  },
462
+ "import": {
463
+ "types": "./ChartsWrapper/index.d.mts",
464
+ "default": "./ChartsWrapper/index.mjs"
465
+ },
466
466
  "default": {
467
467
  "types": "./ChartsWrapper/index.d.mts",
468
468
  "default": "./ChartsWrapper/index.mjs"
469
469
  }
470
470
  },
471
471
  "./ChartsXAxis": {
472
- "import": {
473
- "types": "./ChartsXAxis/index.d.mts",
474
- "default": "./ChartsXAxis/index.mjs"
475
- },
476
472
  "require": {
477
473
  "types": "./ChartsXAxis/index.d.ts",
478
474
  "default": "./ChartsXAxis/index.js"
479
475
  },
476
+ "import": {
477
+ "types": "./ChartsXAxis/index.d.mts",
478
+ "default": "./ChartsXAxis/index.mjs"
479
+ },
480
480
  "default": {
481
481
  "types": "./ChartsXAxis/index.d.mts",
482
482
  "default": "./ChartsXAxis/index.mjs"
483
483
  }
484
484
  },
485
485
  "./ChartsYAxis": {
486
- "import": {
487
- "types": "./ChartsYAxis/index.d.mts",
488
- "default": "./ChartsYAxis/index.mjs"
489
- },
490
486
  "require": {
491
487
  "types": "./ChartsYAxis/index.d.ts",
492
488
  "default": "./ChartsYAxis/index.js"
493
489
  },
490
+ "import": {
491
+ "types": "./ChartsYAxis/index.d.mts",
492
+ "default": "./ChartsYAxis/index.mjs"
493
+ },
494
494
  "default": {
495
495
  "types": "./ChartsYAxis/index.d.mts",
496
496
  "default": "./ChartsYAxis/index.mjs"
497
497
  }
498
498
  },
499
499
  "./ChartsZoomSlider": {
500
- "import": {
501
- "types": "./ChartsZoomSlider/index.d.mts",
502
- "default": "./ChartsZoomSlider/index.mjs"
503
- },
504
500
  "require": {
505
501
  "types": "./ChartsZoomSlider/index.d.ts",
506
502
  "default": "./ChartsZoomSlider/index.js"
507
503
  },
504
+ "import": {
505
+ "types": "./ChartsZoomSlider/index.d.mts",
506
+ "default": "./ChartsZoomSlider/index.mjs"
507
+ },
508
508
  "default": {
509
509
  "types": "./ChartsZoomSlider/index.d.mts",
510
510
  "default": "./ChartsZoomSlider/index.mjs"
511
511
  }
512
512
  },
513
513
  "./FunnelChart": {
514
- "import": {
515
- "types": "./FunnelChart/index.d.mts",
516
- "default": "./FunnelChart/index.mjs"
517
- },
518
514
  "require": {
519
515
  "types": "./FunnelChart/index.d.ts",
520
516
  "default": "./FunnelChart/index.js"
521
517
  },
518
+ "import": {
519
+ "types": "./FunnelChart/index.d.mts",
520
+ "default": "./FunnelChart/index.mjs"
521
+ },
522
522
  "default": {
523
523
  "types": "./FunnelChart/index.d.mts",
524
524
  "default": "./FunnelChart/index.mjs"
525
525
  }
526
526
  },
527
527
  "./Gauge": {
528
- "import": {
529
- "types": "./Gauge/index.d.mts",
530
- "default": "./Gauge/index.mjs"
531
- },
532
528
  "require": {
533
529
  "types": "./Gauge/index.d.ts",
534
530
  "default": "./Gauge/index.js"
535
531
  },
532
+ "import": {
533
+ "types": "./Gauge/index.d.mts",
534
+ "default": "./Gauge/index.mjs"
535
+ },
536
536
  "default": {
537
537
  "types": "./Gauge/index.d.mts",
538
538
  "default": "./Gauge/index.mjs"
539
539
  }
540
540
  },
541
541
  "./Heatmap": {
542
- "import": {
543
- "types": "./Heatmap/index.d.mts",
544
- "default": "./Heatmap/index.mjs"
545
- },
546
542
  "require": {
547
543
  "types": "./Heatmap/index.d.ts",
548
544
  "default": "./Heatmap/index.js"
549
545
  },
546
+ "import": {
547
+ "types": "./Heatmap/index.d.mts",
548
+ "default": "./Heatmap/index.mjs"
549
+ },
550
550
  "default": {
551
551
  "types": "./Heatmap/index.d.mts",
552
552
  "default": "./Heatmap/index.mjs"
553
553
  }
554
554
  },
555
555
  "./LineChart": {
556
- "import": {
557
- "types": "./LineChart/index.d.mts",
558
- "default": "./LineChart/index.mjs"
559
- },
560
556
  "require": {
561
557
  "types": "./LineChart/index.d.ts",
562
558
  "default": "./LineChart/index.js"
563
559
  },
560
+ "import": {
561
+ "types": "./LineChart/index.d.mts",
562
+ "default": "./LineChart/index.mjs"
563
+ },
564
564
  "default": {
565
565
  "types": "./LineChart/index.d.mts",
566
566
  "default": "./LineChart/index.mjs"
567
567
  }
568
568
  },
569
569
  "./LineChartPro": {
570
- "import": {
571
- "types": "./LineChartPro/index.d.mts",
572
- "default": "./LineChartPro/index.mjs"
573
- },
574
570
  "require": {
575
571
  "types": "./LineChartPro/index.d.ts",
576
572
  "default": "./LineChartPro/index.js"
577
573
  },
574
+ "import": {
575
+ "types": "./LineChartPro/index.d.mts",
576
+ "default": "./LineChartPro/index.mjs"
577
+ },
578
578
  "default": {
579
579
  "types": "./LineChartPro/index.d.mts",
580
580
  "default": "./LineChartPro/index.mjs"
581
581
  }
582
582
  },
583
583
  "./PieChart": {
584
- "import": {
585
- "types": "./PieChart/index.d.mts",
586
- "default": "./PieChart/index.mjs"
587
- },
588
584
  "require": {
589
585
  "types": "./PieChart/index.d.ts",
590
586
  "default": "./PieChart/index.js"
591
587
  },
588
+ "import": {
589
+ "types": "./PieChart/index.d.mts",
590
+ "default": "./PieChart/index.mjs"
591
+ },
592
592
  "default": {
593
593
  "types": "./PieChart/index.d.mts",
594
594
  "default": "./PieChart/index.mjs"
595
595
  }
596
596
  },
597
597
  "./PieChartPro": {
598
- "import": {
599
- "types": "./PieChartPro/index.d.mts",
600
- "default": "./PieChartPro/index.mjs"
601
- },
602
598
  "require": {
603
599
  "types": "./PieChartPro/index.d.ts",
604
600
  "default": "./PieChartPro/index.js"
605
601
  },
602
+ "import": {
603
+ "types": "./PieChartPro/index.d.mts",
604
+ "default": "./PieChartPro/index.mjs"
605
+ },
606
606
  "default": {
607
607
  "types": "./PieChartPro/index.d.mts",
608
608
  "default": "./PieChartPro/index.mjs"
609
609
  }
610
610
  },
611
611
  "./RadarChart": {
612
- "import": {
613
- "types": "./RadarChart/index.d.mts",
614
- "default": "./RadarChart/index.mjs"
615
- },
616
612
  "require": {
617
613
  "types": "./RadarChart/index.d.ts",
618
614
  "default": "./RadarChart/index.js"
619
615
  },
616
+ "import": {
617
+ "types": "./RadarChart/index.d.mts",
618
+ "default": "./RadarChart/index.mjs"
619
+ },
620
620
  "default": {
621
621
  "types": "./RadarChart/index.d.mts",
622
622
  "default": "./RadarChart/index.mjs"
623
623
  }
624
624
  },
625
625
  "./RadarChartPro": {
626
- "import": {
627
- "types": "./RadarChartPro/index.d.mts",
628
- "default": "./RadarChartPro/index.mjs"
629
- },
630
626
  "require": {
631
627
  "types": "./RadarChartPro/index.d.ts",
632
628
  "default": "./RadarChartPro/index.js"
633
629
  },
630
+ "import": {
631
+ "types": "./RadarChartPro/index.d.mts",
632
+ "default": "./RadarChartPro/index.mjs"
633
+ },
634
634
  "default": {
635
635
  "types": "./RadarChartPro/index.d.mts",
636
636
  "default": "./RadarChartPro/index.mjs"
637
637
  }
638
638
  },
639
639
  "./SankeyChart": {
640
- "import": {
641
- "types": "./SankeyChart/index.d.mts",
642
- "default": "./SankeyChart/index.mjs"
643
- },
644
640
  "require": {
645
641
  "types": "./SankeyChart/index.d.ts",
646
642
  "default": "./SankeyChart/index.js"
647
643
  },
644
+ "import": {
645
+ "types": "./SankeyChart/index.d.mts",
646
+ "default": "./SankeyChart/index.mjs"
647
+ },
648
648
  "default": {
649
649
  "types": "./SankeyChart/index.d.mts",
650
650
  "default": "./SankeyChart/index.mjs"
651
651
  }
652
652
  },
653
653
  "./ScatterChart": {
654
- "import": {
655
- "types": "./ScatterChart/index.d.mts",
656
- "default": "./ScatterChart/index.mjs"
657
- },
658
654
  "require": {
659
655
  "types": "./ScatterChart/index.d.ts",
660
656
  "default": "./ScatterChart/index.js"
661
657
  },
658
+ "import": {
659
+ "types": "./ScatterChart/index.d.mts",
660
+ "default": "./ScatterChart/index.mjs"
661
+ },
662
662
  "default": {
663
663
  "types": "./ScatterChart/index.d.mts",
664
664
  "default": "./ScatterChart/index.mjs"
665
665
  }
666
666
  },
667
667
  "./ScatterChartPro": {
668
- "import": {
669
- "types": "./ScatterChartPro/index.d.mts",
670
- "default": "./ScatterChartPro/index.mjs"
671
- },
672
668
  "require": {
673
669
  "types": "./ScatterChartPro/index.d.ts",
674
670
  "default": "./ScatterChartPro/index.js"
675
671
  },
672
+ "import": {
673
+ "types": "./ScatterChartPro/index.d.mts",
674
+ "default": "./ScatterChartPro/index.mjs"
675
+ },
676
676
  "default": {
677
677
  "types": "./ScatterChartPro/index.d.mts",
678
678
  "default": "./ScatterChartPro/index.mjs"
679
679
  }
680
680
  },
681
681
  "./SparkLineChart": {
682
- "import": {
683
- "types": "./SparkLineChart/index.d.mts",
684
- "default": "./SparkLineChart/index.mjs"
685
- },
686
682
  "require": {
687
683
  "types": "./SparkLineChart/index.d.ts",
688
684
  "default": "./SparkLineChart/index.js"
689
685
  },
686
+ "import": {
687
+ "types": "./SparkLineChart/index.d.mts",
688
+ "default": "./SparkLineChart/index.mjs"
689
+ },
690
690
  "default": {
691
691
  "types": "./SparkLineChart/index.d.mts",
692
692
  "default": "./SparkLineChart/index.mjs"
693
693
  }
694
694
  },
695
695
  "./Toolbar": {
696
- "import": {
697
- "types": "./Toolbar/index.d.mts",
698
- "default": "./Toolbar/index.mjs"
699
- },
700
696
  "require": {
701
697
  "types": "./Toolbar/index.d.ts",
702
698
  "default": "./Toolbar/index.js"
703
699
  },
700
+ "import": {
701
+ "types": "./Toolbar/index.d.mts",
702
+ "default": "./Toolbar/index.mjs"
703
+ },
704
704
  "default": {
705
705
  "types": "./Toolbar/index.d.mts",
706
706
  "default": "./Toolbar/index.mjs"
707
707
  }
708
708
  },
709
709
  "./colorPalettes": {
710
- "import": {
711
- "types": "./colorPalettes/index.d.mts",
712
- "default": "./colorPalettes/index.mjs"
713
- },
714
710
  "require": {
715
711
  "types": "./colorPalettes/index.d.ts",
716
712
  "default": "./colorPalettes/index.js"
717
713
  },
714
+ "import": {
715
+ "types": "./colorPalettes/index.d.mts",
716
+ "default": "./colorPalettes/index.mjs"
717
+ },
718
718
  "default": {
719
719
  "types": "./colorPalettes/index.d.mts",
720
720
  "default": "./colorPalettes/index.mjs"
721
721
  }
722
722
  },
723
723
  "./constants": {
724
- "import": {
725
- "types": "./constants/index.d.mts",
726
- "default": "./constants/index.mjs"
727
- },
728
724
  "require": {
729
725
  "types": "./constants/index.d.ts",
730
726
  "default": "./constants/index.js"
731
727
  },
728
+ "import": {
729
+ "types": "./constants/index.d.mts",
730
+ "default": "./constants/index.mjs"
731
+ },
732
732
  "default": {
733
733
  "types": "./constants/index.d.mts",
734
734
  "default": "./constants/index.mjs"
735
735
  }
736
736
  },
737
737
  "./context": {
738
- "import": {
739
- "types": "./context/index.d.mts",
740
- "default": "./context/index.mjs"
741
- },
742
738
  "require": {
743
739
  "types": "./context/index.d.ts",
744
740
  "default": "./context/index.js"
745
741
  },
742
+ "import": {
743
+ "types": "./context/index.d.mts",
744
+ "default": "./context/index.mjs"
745
+ },
746
746
  "default": {
747
747
  "types": "./context/index.d.mts",
748
748
  "default": "./context/index.mjs"
749
749
  }
750
750
  },
751
751
  "./hooks": {
752
- "import": {
753
- "types": "./hooks/index.d.mts",
754
- "default": "./hooks/index.mjs"
755
- },
756
752
  "require": {
757
753
  "types": "./hooks/index.d.ts",
758
754
  "default": "./hooks/index.js"
759
755
  },
756
+ "import": {
757
+ "types": "./hooks/index.d.mts",
758
+ "default": "./hooks/index.mjs"
759
+ },
760
760
  "default": {
761
761
  "types": "./hooks/index.d.mts",
762
762
  "default": "./hooks/index.mjs"
763
763
  }
764
764
  },
765
765
  "./internals": {
766
- "import": {
767
- "types": "./internals/index.d.mts",
768
- "default": "./internals/index.mjs"
769
- },
770
766
  "require": {
771
767
  "types": "./internals/index.d.ts",
772
768
  "default": "./internals/index.js"
773
769
  },
770
+ "import": {
771
+ "types": "./internals/index.d.mts",
772
+ "default": "./internals/index.mjs"
773
+ },
774
774
  "default": {
775
775
  "types": "./internals/index.d.mts",
776
776
  "default": "./internals/index.mjs"
777
777
  }
778
778
  },
779
779
  "./locales": {
780
- "import": {
781
- "types": "./locales/index.d.mts",
782
- "default": "./locales/index.mjs"
783
- },
784
780
  "require": {
785
781
  "types": "./locales/index.d.ts",
786
782
  "default": "./locales/index.js"
787
783
  },
784
+ "import": {
785
+ "types": "./locales/index.d.mts",
786
+ "default": "./locales/index.mjs"
787
+ },
788
788
  "default": {
789
789
  "types": "./locales/index.d.mts",
790
790
  "default": "./locales/index.mjs"
791
791
  }
792
792
  },
793
793
  "./models": {
794
- "import": {
795
- "types": "./models/index.d.mts",
796
- "default": "./models/index.mjs"
797
- },
798
794
  "require": {
799
795
  "types": "./models/index.d.ts",
800
796
  "default": "./models/index.js"
801
797
  },
798
+ "import": {
799
+ "types": "./models/index.d.mts",
800
+ "default": "./models/index.mjs"
801
+ },
802
802
  "default": {
803
803
  "types": "./models/index.d.mts",
804
804
  "default": "./models/index.mjs"
805
805
  }
806
806
  },
807
807
  "./plugins": {
808
- "import": {
809
- "types": "./plugins/index.d.mts",
810
- "default": "./plugins/index.mjs"
811
- },
812
808
  "require": {
813
809
  "types": "./plugins/index.d.ts",
814
810
  "default": "./plugins/index.js"
815
811
  },
812
+ "import": {
813
+ "types": "./plugins/index.d.mts",
814
+ "default": "./plugins/index.mjs"
815
+ },
816
816
  "default": {
817
817
  "types": "./plugins/index.d.mts",
818
818
  "default": "./plugins/index.mjs"
819
819
  }
820
820
  },
821
821
  "./themeAugmentation": {
822
- "import": {
823
- "types": "./themeAugmentation/index.d.mts",
824
- "default": "./themeAugmentation/index.mjs"
825
- },
826
822
  "require": {
827
823
  "types": "./themeAugmentation/index.d.ts",
828
824
  "default": "./themeAugmentation/index.js"
829
825
  },
826
+ "import": {
827
+ "types": "./themeAugmentation/index.d.mts",
828
+ "default": "./themeAugmentation/index.mjs"
829
+ },
830
830
  "default": {
831
831
  "types": "./themeAugmentation/index.d.mts",
832
832
  "default": "./themeAugmentation/index.mjs"
833
833
  }
834
834
  },
835
835
  "./typeOverloads": {
836
- "import": {
837
- "types": "./typeOverloads/index.d.mts",
838
- "default": "./typeOverloads/index.mjs"
839
- },
840
836
  "require": {
841
837
  "types": "./typeOverloads/index.d.ts",
842
838
  "default": "./typeOverloads/index.js"
843
839
  },
840
+ "import": {
841
+ "types": "./typeOverloads/index.d.mts",
842
+ "default": "./typeOverloads/index.mjs"
843
+ },
844
844
  "default": {
845
845
  "types": "./typeOverloads/index.d.mts",
846
846
  "default": "./typeOverloads/index.mjs"
847
847
  }
848
848
  },
849
849
  "./utils": {
850
- "import": {
851
- "types": "./utils/index.d.mts",
852
- "default": "./utils/index.mjs"
853
- },
854
850
  "require": {
855
851
  "types": "./utils/index.d.ts",
856
852
  "default": "./utils/index.js"
857
853
  },
854
+ "import": {
855
+ "types": "./utils/index.d.mts",
856
+ "default": "./utils/index.mjs"
857
+ },
858
858
  "default": {
859
859
  "types": "./utils/index.d.mts",
860
860
  "default": "./utils/index.mjs"
@@ -1,4 +1,4 @@
1
- import { type HeatmapItemIdentifier } from "../../models/index.mjs";
1
+ import { type HeatmapItemIdentifierWithData } from "../../models/index.mjs";
2
2
  export declare const selectorHeatmapItemAtPosition: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<{}> & {
3
3
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
4
- }, svgPoint: Pick<DOMPoint, "x" | "y">) => HeatmapItemIdentifier | undefined;
4
+ }, svgPoint: Pick<DOMPoint, "x" | "y">) => HeatmapItemIdentifierWithData | undefined;
@@ -1,4 +1,4 @@
1
- import { type HeatmapItemIdentifier } from "../../models/index.js";
1
+ import { type HeatmapItemIdentifierWithData } from "../../models/index.js";
2
2
  export declare const selectorHeatmapItemAtPosition: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & Partial<{}> & {
3
3
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
4
- }, svgPoint: Pick<DOMPoint, "x" | "y">) => HeatmapItemIdentifier | undefined;
4
+ }, svgPoint: Pick<DOMPoint, "x" | "y">) => HeatmapItemIdentifierWithData | undefined;
@@ -32,14 +32,14 @@ const selectorHeatmapItemAtPosition = exports.selectorHeatmapItemAtPosition = (0
32
32
  }
33
33
  const xIndex = (0, _internals.getDataIndexForOrdinalScaleValue)(xScale, svgPoint.x);
34
34
  const yIndex = (0, _internals.getDataIndexForOrdinalScaleValue)(yScale, svgPoint.y);
35
- const dataIndex = aSeries.data.findIndex(d => d[0] === xIndex && d[1] === yIndex);
36
- if (dataIndex !== -1) {
35
+ const value = aSeries.heatmapData.getValue(xIndex, yIndex);
36
+ if (value !== null) {
37
37
  return {
38
38
  type: 'heatmap',
39
39
  seriesId,
40
- dataIndex,
41
40
  xIndex,
42
- yIndex
41
+ yIndex,
42
+ value
43
43
  };
44
44
  }
45
45
  }
@@ -26,14 +26,14 @@ export const selectorHeatmapItemAtPosition = createSelector(selectorChartXAxis,
26
26
  }
27
27
  const xIndex = getDataIndexForOrdinalScaleValue(xScale, svgPoint.x);
28
28
  const yIndex = getDataIndexForOrdinalScaleValue(yScale, svgPoint.y);
29
- const dataIndex = aSeries.data.findIndex(d => d[0] === xIndex && d[1] === yIndex);
30
- if (dataIndex !== -1) {
29
+ const value = aSeries.heatmapData.getValue(xIndex, yIndex);
30
+ if (value !== null) {
31
31
  return {
32
32
  type: 'heatmap',
33
33
  seriesId,
34
- dataIndex,
35
34
  xIndex,
36
- yIndex
35
+ yIndex,
36
+ value
37
37
  };
38
38
  }
39
39
  }
@@ -1,7 +1,7 @@
1
1
  import type { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
2
2
  import type { AxisId, CommonHighlightScope, SeriesId, ZoomOptions } from '@mui/x-charts/internals';
3
3
  import type { DefaultizedFunnelSeriesType, FunnelItemIdentifier, FunnelSeriesType, FunnelValueType } from "../FunnelChart/funnel.types.mjs";
4
- import type { HeatmapItemIdentifier, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.mjs";
4
+ import type { HeatmapItemIdentifier, HeatmapItemIdentifierWithData, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.mjs";
5
5
  import type { SankeyLayout, SankeySeriesType, DefaultizedSankeySeriesType, SankeyItemIdentifier, SankeyItemIdentifierWithData } from "../SankeyChart/sankey.types.mjs";
6
6
  import type { SankeyHighlightScope } from "../SankeyChart/sankey.highlight.types.mjs";
7
7
  declare module '@mui/x-charts/internals' {
@@ -12,7 +12,7 @@ declare module '@mui/x-charts/internals' {
12
12
  seriesLayout: {};
13
13
  seriesProp: HeatmapSeriesType;
14
14
  itemIdentifier: HeatmapItemIdentifier;
15
- itemIdentifierWithData: HeatmapItemIdentifier;
15
+ itemIdentifierWithData: HeatmapItemIdentifierWithData;
16
16
  valueType: HeatmapValueType;
17
17
  axisType: 'cartesian';
18
18
  highlightScope: CommonHighlightScope;