@undp/data-viz 1.4.2 → 1.4.4

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 (47) hide show
  1. package/dist/BarGraph.cjs +1 -1
  2. package/dist/BarGraph.cjs.map +1 -1
  3. package/dist/BarGraph.d.ts +2 -0
  4. package/dist/BarGraph.js +1180 -1170
  5. package/dist/BarGraph.js.map +1 -1
  6. package/dist/DumbbellChart.cjs +1 -1
  7. package/dist/DumbbellChart.cjs.map +1 -1
  8. package/dist/DumbbellChart.d.ts +2 -0
  9. package/dist/DumbbellChart.js +354 -345
  10. package/dist/DumbbellChart.js.map +1 -1
  11. package/dist/GraphEl-C0FNZlDn.cjs +2 -0
  12. package/dist/GraphEl-C0FNZlDn.cjs.map +1 -0
  13. package/dist/{GraphEl-BdIyscdt.js → GraphEl-DfPT8ffl.js} +3 -1
  14. package/dist/GraphEl-DfPT8ffl.js.map +1 -0
  15. package/dist/GriddedGraphs.cjs +1 -1
  16. package/dist/GriddedGraphs.d.ts +4 -7
  17. package/dist/GriddedGraphs.js +1 -1
  18. package/dist/GriddedGraphsFromConfig.d.ts +4 -7
  19. package/dist/MultiGraphDashboard.d.ts +4 -7
  20. package/dist/MultiGraphDashboardFromConfig.d.ts +4 -7
  21. package/dist/PerformanceIntensiveMultiGraphDashboard.d.ts +4 -7
  22. package/dist/PerformanceIntensiveMultiGraphDashboardFromConfig.d.ts +4 -7
  23. package/dist/PerformanceIntensiveScrollStory.d.ts +4 -7
  24. package/dist/ScrollStory.d.ts +4 -7
  25. package/dist/SingleGraphDashboard.cjs +1 -1
  26. package/dist/SingleGraphDashboard.d.ts +4 -7
  27. package/dist/SingleGraphDashboard.js +1 -1
  28. package/dist/SingleGraphDashboardFromConfig.d.ts +4 -7
  29. package/dist/SingleGraphDashboardGeoHubMaps.d.ts +4 -7
  30. package/dist/SingleGraphDashboardGeoHubMapsFromConfig.d.ts +4 -7
  31. package/dist/SingleGraphDashboardThreeDGraphs.cjs +1 -1
  32. package/dist/SingleGraphDashboardThreeDGraphs.cjs.map +1 -1
  33. package/dist/SingleGraphDashboardThreeDGraphs.d.ts +4 -7
  34. package/dist/SingleGraphDashboardThreeDGraphs.js +28 -25
  35. package/dist/SingleGraphDashboardThreeDGraphs.js.map +1 -1
  36. package/dist/SingleGraphDashboardThreeDGraphsFromConfig.d.ts +4 -7
  37. package/dist/ThreeDGlobe.cjs +1 -1
  38. package/dist/ThreeDGlobe.cjs.map +1 -1
  39. package/dist/ThreeDGlobe.d.ts +11 -2
  40. package/dist/ThreeDGlobe.js +316 -282
  41. package/dist/ThreeDGlobe.js.map +1 -1
  42. package/dist/Types.d.ts +4 -7
  43. package/dist/index.d.ts +19 -9
  44. package/package.json +1 -1
  45. package/dist/GraphEl-B5gAX1IQ.cjs +0 -2
  46. package/dist/GraphEl-B5gAX1IQ.cjs.map +0 -1
  47. package/dist/GraphEl-BdIyscdt.js.map +0 -1
@@ -399,6 +399,8 @@ declare interface StackedBarChartProps {
399
399
  naLabel?: string;
400
400
  /** Parameter to sort the data. If a number is provided, it refers to the index of the size array to determine which value to sort by. If set to total, it sorts by the sum of all the values. */
401
401
  sortParameter?: number | 'total';
402
+ /** Sorting order for data. This is overwritten by labelOrder prop. */
403
+ sortData?: 'asc' | 'desc';
402
404
  /** Toggles if data points which have all the values as undefined or null are filtered out. */
403
405
  filterNA?: boolean;
404
406
  /** Toggles if the graph animates in when loaded. */