@graphysdk/react-renderer 1.8.1-beta.1787050450192 → 1.8.1-beta.1787058270465

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.
@@ -283,6 +283,15 @@ declare const dictionaries: {
283
283
  readonly graphTypeSection: {
284
284
  readonly title: "Graph type";
285
285
  };
286
+ readonly mappingSection: {
287
+ readonly title: "Data";
288
+ readonly x: "X-axis";
289
+ readonly y: "Value";
290
+ readonly color: "Colour";
291
+ readonly size: "Size";
292
+ readonly label: "Label";
293
+ readonly none: "None";
294
+ };
286
295
  readonly polarSection: {
287
296
  readonly title: "Polar";
288
297
  readonly innerRadius: "Inner radius";
@@ -425,20 +434,6 @@ declare const dictionaries: {
425
434
  readonly linesOnly: "Lines only";
426
435
  };
427
436
  };
428
- readonly columnMapping: {
429
- readonly title: "Data";
430
- readonly xAxis: "X-axis";
431
- readonly yAxis: "Y-axis";
432
- readonly leftYAxis: "Y-axis (left)";
433
- readonly rightYAxis: "Y-axis (right)";
434
- readonly slices: "Values (slices)";
435
- readonly labels: "Labels";
436
- readonly size: "Size";
437
- readonly shape: "Shape";
438
- readonly reset: "Reset to auto";
439
- readonly addSeries: "Add series";
440
- readonly removeSeries: "Remove series";
441
- };
442
437
  readonly axesPanel: {
443
438
  readonly toolbarButton: "Axes";
444
439
  readonly mainAxisSection: {
@@ -1166,6 +1161,15 @@ declare const dictionaries: {
1166
1161
  readonly graphTypeSection: {
1167
1162
  readonly title: "نوع الرسم البياني";
1168
1163
  };
1164
+ readonly mappingSection: {
1165
+ readonly title: "البيانات";
1166
+ readonly x: "المحور السيني";
1167
+ readonly y: "القيمة";
1168
+ readonly color: "اللون";
1169
+ readonly size: "الحجم";
1170
+ readonly label: "التسمية";
1171
+ readonly none: "بلا";
1172
+ };
1169
1173
  readonly polarSection: {
1170
1174
  readonly title: "قطبي";
1171
1175
  readonly innerRadius: "نصف القطر الداخلي";
@@ -1308,20 +1312,6 @@ declare const dictionaries: {
1308
1312
  readonly linesOnly: "خطوط فقط";
1309
1313
  };
1310
1314
  };
1311
- readonly columnMapping: {
1312
- readonly title: "البيانات";
1313
- readonly xAxis: "المحور السيني";
1314
- readonly yAxis: "المحور الصادي";
1315
- readonly leftYAxis: "المحور الصادي (يسار)";
1316
- readonly rightYAxis: "المحور الصادي (يمين)";
1317
- readonly slices: "القيم (الشرائح)";
1318
- readonly labels: "التسميات";
1319
- readonly size: "الحجم";
1320
- readonly shape: "الشكل";
1321
- readonly reset: "إعادة التعيين إلى تلقائي";
1322
- readonly addSeries: "إضافة سلسلة";
1323
- readonly removeSeries: "إزالة السلسلة";
1324
- };
1325
1315
  readonly axesPanel: {
1326
1316
  readonly toolbarButton: "المحاور";
1327
1317
  readonly mainAxisSection: {
@@ -2048,6 +2038,15 @@ declare const dictionaries: {
2048
2038
  readonly graphTypeSection: {
2049
2039
  readonly title: "Tipo de gráfico";
2050
2040
  };
2041
+ readonly mappingSection: {
2042
+ readonly title: "Dados";
2043
+ readonly x: "Eixo X";
2044
+ readonly y: "Valor";
2045
+ readonly color: "Cor";
2046
+ readonly size: "Tamanho";
2047
+ readonly label: "Etiqueta";
2048
+ readonly none: "Nenhum";
2049
+ };
2051
2050
  readonly polarSection: {
2052
2051
  readonly title: "Polar";
2053
2052
  readonly innerRadius: "Raio interno";
@@ -2190,20 +2189,6 @@ declare const dictionaries: {
2190
2189
  readonly linesOnly: "Apenas linhas";
2191
2190
  };
2192
2191
  };
2193
- readonly columnMapping: {
2194
- readonly title: "Dados";
2195
- readonly xAxis: "Eixo X";
2196
- readonly yAxis: "Eixo Y";
2197
- readonly leftYAxis: "Eixo Y (esquerda)";
2198
- readonly rightYAxis: "Eixo Y (direita)";
2199
- readonly slices: "Valores (fatias)";
2200
- readonly labels: "Etiquetas";
2201
- readonly size: "Tamanho";
2202
- readonly shape: "Forma";
2203
- readonly reset: "Repor para automático";
2204
- readonly addSeries: "Adicionar série";
2205
- readonly removeSeries: "Remover série";
2206
- };
2207
2192
  readonly axesPanel: {
2208
2193
  readonly toolbarButton: "Eixos";
2209
2194
  readonly mainAxisSection: {
@@ -2987,6 +2972,15 @@ declare const EN_GB: {
2987
2972
  readonly graphTypeSection: {
2988
2973
  readonly title: "Graph type";
2989
2974
  };
2975
+ readonly mappingSection: {
2976
+ readonly title: "Data";
2977
+ readonly x: "X-axis";
2978
+ readonly y: "Value";
2979
+ readonly color: "Colour";
2980
+ readonly size: "Size";
2981
+ readonly label: "Label";
2982
+ readonly none: "None";
2983
+ };
2990
2984
  readonly polarSection: {
2991
2985
  readonly title: "Polar";
2992
2986
  readonly innerRadius: "Inner radius";
@@ -3129,20 +3123,6 @@ declare const EN_GB: {
3129
3123
  readonly linesOnly: "Lines only";
3130
3124
  };
3131
3125
  };
3132
- readonly columnMapping: {
3133
- readonly title: "Data";
3134
- readonly xAxis: "X-axis";
3135
- readonly yAxis: "Y-axis";
3136
- readonly leftYAxis: "Y-axis (left)";
3137
- readonly rightYAxis: "Y-axis (right)";
3138
- readonly slices: "Values (slices)";
3139
- readonly labels: "Labels";
3140
- readonly size: "Size";
3141
- readonly shape: "Shape";
3142
- readonly reset: "Reset to auto";
3143
- readonly addSeries: "Add series";
3144
- readonly removeSeries: "Remove series";
3145
- };
3146
3126
  readonly axesPanel: {
3147
3127
  readonly toolbarButton: "Axes";
3148
3128
  readonly mainAxisSection: {
@@ -4093,6 +4073,9 @@ declare type LooseString<T> = T extends string ? string : T;
4093
4073
 
4094
4074
  declare type LooseValue<T> = T extends (...args: infer A) => infer R ? (...args: A) => R : LooseString<T>;
4095
4075
 
4076
+ /** Which column of the data feeds each of the chart's aesthetics. */
4077
+ export declare const MappingSection: ({ title, layout }: OverridableSectionProps) => JSX.Element | null;
4078
+
4096
4079
  /**
4097
4080
  * A number typed, scrubbed or stepped into a field.
4098
4081
  *
@@ -4262,7 +4245,8 @@ export declare const Select: ({ options, value, onChange, placeholder, isDisable
4262
4245
  * The value is nullable so a section can render "nothing chosen yet"; `onChange` only ever fires
4263
4246
  * with a real option, since clearing a required setting is not a gesture the panel offers.
4264
4247
  */
4265
- export declare interface SelectControlProps extends DiscreteControlProps<string | null> {
4248
+ export declare interface SelectControlProps extends Omit<DiscreteControlProps<string | null>, 'onChange'> {
4249
+ onChange: (value: string) => void;
4266
4250
  options: readonly ControlOption[];
4267
4251
  placeholder?: string;
4268
4252
  hasError?: boolean;