@gooddata/sdk-ui-charts 11.46.0 → 11.47.0-alpha.1

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 (63) hide show
  1. package/NOTICE +6 -6
  2. package/esm/charts/mekko/CoreMekko.d.ts +3 -0
  3. package/esm/charts/mekko/CoreMekko.d.ts.map +1 -0
  4. package/esm/charts/mekko/CoreMekko.js +7 -0
  5. package/esm/charts/mekko/Mekko.d.ts +51 -0
  6. package/esm/charts/mekko/Mekko.d.ts.map +1 -0
  7. package/esm/charts/mekko/Mekko.js +55 -0
  8. package/esm/highcharts/ChartTransformation.d.ts.map +1 -1
  9. package/esm/highcharts/ChartTransformation.js +13 -4
  10. package/esm/highcharts/adapter/Chart.d.ts +1 -0
  11. package/esm/highcharts/adapter/Chart.d.ts.map +1 -1
  12. package/esm/highcharts/adapter/Chart.js +1 -0
  13. package/esm/highcharts/adapter/chartPlugins.d.ts.map +1 -1
  14. package/esm/highcharts/adapter/chartPlugins.js +4 -1
  15. package/esm/highcharts/adapter/legendBuilder.d.ts.map +1 -1
  16. package/esm/highcharts/adapter/legendBuilder.js +1 -0
  17. package/esm/highcharts/adapter/plugins/pointShapeSymbols.d.ts +11 -0
  18. package/esm/highcharts/adapter/plugins/pointShapeSymbols.d.ts.map +1 -0
  19. package/esm/highcharts/adapter/plugins/pointShapeSymbols.js +20 -0
  20. package/esm/highcharts/chartTypes/_chartCreators/customConfiguration.d.ts.map +1 -1
  21. package/esm/highcharts/chartTypes/_chartCreators/customConfiguration.js +1 -0
  22. package/esm/highcharts/chartTypes/_chartCreators/customTooltip/identifierMapping.d.ts.map +1 -1
  23. package/esm/highcharts/chartTypes/_chartCreators/customTooltip/identifierMapping.js +4 -0
  24. package/esm/highcharts/chartTypes/_chartCreators/drilldownEventing.d.ts.map +1 -1
  25. package/esm/highcharts/chartTypes/_chartCreators/drilldownEventing.js +8 -1
  26. package/esm/highcharts/chartTypes/_chartCreators/getOptionalStackingConfiguration.d.ts +1 -1
  27. package/esm/highcharts/chartTypes/_chartCreators/getOptionalStackingConfiguration.d.ts.map +1 -1
  28. package/esm/highcharts/chartTypes/_chartCreators/getOptionalStackingConfiguration.js +8 -4
  29. package/esm/highcharts/chartTypes/_chartCreators/highChartsCreators.d.ts.map +1 -1
  30. package/esm/highcharts/chartTypes/_chartCreators/highChartsCreators.js +2 -0
  31. package/esm/highcharts/chartTypes/_chartOptions/chartCapabilities.d.ts +1 -1
  32. package/esm/highcharts/chartTypes/_chartOptions/chartCapabilities.d.ts.map +1 -1
  33. package/esm/highcharts/chartTypes/_chartOptions/chartCapabilities.js +1 -0
  34. package/esm/highcharts/chartTypes/_chartOptions/chartDistinctPointShapes.d.ts.map +1 -1
  35. package/esm/highcharts/chartTypes/_chartOptions/chartDistinctPointShapes.js +9 -0
  36. package/esm/highcharts/chartTypes/_chartOptions/chartLimits.d.ts +1 -2
  37. package/esm/highcharts/chartTypes/_chartOptions/chartLimits.d.ts.map +1 -1
  38. package/esm/highcharts/chartTypes/_chartOptions/chartLimits.js +4 -9
  39. package/esm/highcharts/chartTypes/_chartOptions/chartOptionsBuilder.d.ts.map +1 -1
  40. package/esm/highcharts/chartTypes/_chartOptions/chartOptionsBuilder.js +22 -4
  41. package/esm/highcharts/chartTypes/_chartOptions/chartSeries.d.ts.map +1 -1
  42. package/esm/highcharts/chartTypes/_chartOptions/chartSeries.js +5 -1
  43. package/esm/highcharts/chartTypes/_util/common.d.ts +12 -1
  44. package/esm/highcharts/chartTypes/_util/common.d.ts.map +1 -1
  45. package/esm/highcharts/chartTypes/_util/common.js +22 -0
  46. package/esm/highcharts/chartTypes/mekko/mekkoChartOptions.d.ts +18 -0
  47. package/esm/highcharts/chartTypes/mekko/mekkoChartOptions.d.ts.map +1 -0
  48. package/esm/highcharts/chartTypes/mekko/mekkoChartOptions.js +32 -0
  49. package/esm/highcharts/chartTypes/mekko/mekkoConfiguration.d.ts +4 -0
  50. package/esm/highcharts/chartTypes/mekko/mekkoConfiguration.d.ts.map +1 -0
  51. package/esm/highcharts/chartTypes/mekko/mekkoConfiguration.js +52 -0
  52. package/esm/highcharts/chartTypes/mekko/mekkoSeries.d.ts +7 -0
  53. package/esm/highcharts/chartTypes/mekko/mekkoSeries.d.ts.map +1 -0
  54. package/esm/highcharts/chartTypes/mekko/mekkoSeries.js +102 -0
  55. package/esm/highcharts/typings/unsafe.d.ts +2 -0
  56. package/esm/highcharts/typings/unsafe.d.ts.map +1 -1
  57. package/esm/index.d.ts +1 -0
  58. package/esm/index.d.ts.map +1 -1
  59. package/esm/index.js +1 -0
  60. package/esm/interfaces/chartConfig.d.ts +6 -4
  61. package/esm/interfaces/chartConfig.d.ts.map +1 -1
  62. package/esm/sdk-ui-charts.d.ts +57 -4
  63. package/package.json +13 -13
@@ -1671,7 +1671,8 @@ export declare interface IDistinctPointShapes {
1671
1671
  *
1672
1672
  * @remarks
1673
1673
  * When enabled, different series in line, area, and combo charts will use different point shapes
1674
- * (circle, square, diamond, triangle, triangle-down) to help distinguish between series.
1674
+ * to help distinguish between series. See {@link PointShapeSymbolType} for the full set of
1675
+ * supported shapes.
1675
1676
  */
1676
1677
  enabled?: boolean;
1677
1678
  /**
@@ -1682,8 +1683,9 @@ export declare interface IDistinctPointShapes {
1682
1683
  *
1683
1684
  * For measures that are not explicitly mapped in this configuration, the system will
1684
1685
  * automatically assign point shapes based on their series index using the predefined
1685
- * order: "circle", "square", "triangle", "triangle-down", "diamond". The shapes cycle
1686
- * through this sequence if there are more series than available shapes.
1686
+ * order: "circle", "square", "triangle", "triangle-down", "diamond", followed by the remaining
1687
+ * supported shapes. The shapes cycle through this sequence if there are more series than
1688
+ * available shapes.
1687
1689
  *
1688
1690
  */
1689
1691
  pointShapeMapping?: Record<string, PointShapeSymbolType>;
@@ -2078,6 +2080,46 @@ export declare interface ILineChartProps extends IBucketChartProps, ILineChartBu
2078
2080
  outliersConfig?: IOutliersConfig;
2079
2081
  }
2080
2082
 
2083
+ /**
2084
+ * @beta
2085
+ */
2086
+ export declare interface IMekkoBucketProps {
2087
+ /**
2088
+ * Specify the measure that sets each column's width (proportional to its value).
2089
+ */
2090
+ widthMeasure?: MeasureOrPlaceholder;
2091
+ /**
2092
+ * Specify the measure that sets each column's height, read off the Y axis.
2093
+ */
2094
+ heightMeasure?: MeasureOrPlaceholder;
2095
+ /**
2096
+ * Specify the attribute used to create the columns (one column per attribute element).
2097
+ */
2098
+ viewBy?: AttributeOrPlaceholder;
2099
+ /**
2100
+ * Specify the attribute used to stack the columns into segments.
2101
+ */
2102
+ stackBy?: AttributeOrPlaceholder;
2103
+ /**
2104
+ * Specify filters to apply on the data to chart.
2105
+ */
2106
+ filters?: NullableFiltersOrPlaceholders;
2107
+ /**
2108
+ * Specify how to sort the data to chart.
2109
+ */
2110
+ sortBy?: SortsOrPlaceholders;
2111
+ /**
2112
+ * Resolution context for composed placeholders.
2113
+ */
2114
+ placeholdersResolutionContext?: any;
2115
+ }
2116
+
2117
+ /**
2118
+ * @beta
2119
+ */
2120
+ export declare interface IMekkoProps extends IBucketChartProps, IMekkoBucketProps {
2121
+ }
2122
+
2081
2123
  /**
2082
2124
  * Chart orientation config
2083
2125
  *
@@ -2716,6 +2758,17 @@ export declare interface IXirrProps extends IBucketChartProps, IXirrBucketProps
2716
2758
  */
2717
2759
  export declare function LineChart(props: ILineChartProps): JSX.Element;
2718
2760
 
2761
+ /**
2762
+ * Mekko (Marimekko) chart shows data as stacked columns whose widths are proportional to a measure.
2763
+ *
2764
+ * @remarks
2765
+ * Each column's width is driven by the width measure, its height by the height measure, columns are
2766
+ * created from the view-by attribute, and segments come from the stack-by attribute.
2767
+ *
2768
+ * @beta
2769
+ */
2770
+ export declare function Mekko(props: IMekkoProps): JSX.Element;
2771
+
2719
2772
  /**
2720
2773
  * @internal
2721
2774
  */
@@ -2748,7 +2801,7 @@ export declare function PieChart(props: IPieChartProps): JSX.Element;
2748
2801
  *
2749
2802
  * @beta
2750
2803
  */
2751
- export declare type PointShapeSymbolType = "circle" | "square" | "diamond" | "triangle" | "triangle-down";
2804
+ export declare type PointShapeSymbolType = "circle" | "square" | "diamond" | "triangle" | "triangle-up" | "triangle-down" | "triangle-left" | "triangle-right" | "arrow" | "plus" | "cross" | "star" | "hexagon" | "octagon" | "pentagon";
2752
2805
 
2753
2806
  /**
2754
2807
  * Available legend positions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-charts",
3
- "version": "11.46.0",
3
+ "version": "11.47.0-alpha.1",
4
4
  "description": "GoodData.UI SDK - Charts",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -69,13 +69,13 @@
69
69
  "ts-invariant": "0.10.3",
70
70
  "tslib": "2.8.1",
71
71
  "uuid": "11.1.1",
72
- "@gooddata/sdk-backend-spi": "11.46.0",
73
- "@gooddata/sdk-model": "11.46.0",
74
- "@gooddata/sdk-ui-theme-provider": "11.46.0",
75
- "@gooddata/sdk-ui-kit": "11.46.0",
76
- "@gooddata/sdk-ui": "11.46.0",
77
- "@gooddata/sdk-ui-vis-commons": "11.46.0",
78
- "@gooddata/util": "11.46.0"
72
+ "@gooddata/sdk-backend-spi": "11.47.0-alpha.1",
73
+ "@gooddata/sdk-model": "11.47.0-alpha.1",
74
+ "@gooddata/sdk-ui": "11.47.0-alpha.1",
75
+ "@gooddata/sdk-ui-kit": "11.47.0-alpha.1",
76
+ "@gooddata/sdk-ui-theme-provider": "11.47.0-alpha.1",
77
+ "@gooddata/sdk-ui-vis-commons": "11.47.0-alpha.1",
78
+ "@gooddata/util": "11.47.0-alpha.1"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@microsoft/api-documenter": "^7.17.0",
@@ -120,11 +120,11 @@
120
120
  "typescript": "5.9.3",
121
121
  "vitest": "4.1.8",
122
122
  "vitest-dom": "0.1.1",
123
- "@gooddata/eslint-config": "11.46.0",
124
- "@gooddata/oxlint-config": "11.46.0",
125
- "@gooddata/sdk-backend-mockingbird": "11.46.0",
126
- "@gooddata/reference-workspace": "11.46.0",
127
- "@gooddata/stylelint-config": "11.46.0"
123
+ "@gooddata/eslint-config": "11.47.0-alpha.1",
124
+ "@gooddata/reference-workspace": "11.47.0-alpha.1",
125
+ "@gooddata/sdk-backend-mockingbird": "11.47.0-alpha.1",
126
+ "@gooddata/oxlint-config": "11.47.0-alpha.1",
127
+ "@gooddata/stylelint-config": "11.47.0-alpha.1"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "react": "^18.0.0 || ^19.0.0",