playbook-ui 13.28.0-alpha.play829selectablecardalignment2978 → 13.29.0-alpha.testingcollapsibleissue3052

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.
package/dist/menu.yml CHANGED
@@ -352,6 +352,10 @@ kits:
352
352
  platforms: *web
353
353
  description:
354
354
  status: "stable"
355
+ - name: "draggable"
356
+ platforms: *react_only
357
+ description:
358
+ status: "beta"
355
359
  - name: message_text_patterns
356
360
  description:
357
361
  components:
@@ -463,5 +467,4 @@ kits:
463
467
  status: "stable"
464
468
  - name: "user"
465
469
  platforms: *web
466
- description: This kit was created for having a systematic way of displaying users with avatar, titles, name and territory. This is a versatile kit with features than can be added to display more info.
467
- status: "stable"
470
+ description: This kit was created for having a systematic way of displaying users with avatar, titles, name and territory. This is a versatile kit with features than can be added to display more info.
@@ -1,3 +1,4 @@
1
+ import Highcharts from "highcharts";
1
2
  declare type CircleChartProps = {
2
3
  align?: "left" | "right" | "center";
3
4
  aria: {
@@ -7,6 +8,7 @@ declare type CircleChartProps = {
7
8
  children?: Node;
8
9
  className?: string;
9
10
  colors?: string[];
11
+ customOptions?: Partial<Highcharts.Options>;
10
12
  dark?: boolean;
11
13
  data?: {
12
14
  [key: string]: string;
@@ -36,5 +38,5 @@ declare type CircleChartProps = {
36
38
  borderColor?: string;
37
39
  borderWidth?: number;
38
40
  };
39
- declare const CircleChart: ({ align, aria, rounded, borderColor, borderWidth, chartData, children, className, colors, dark, data, dataLabelHtml, dataLabels, height, htmlOptions, id, innerSize, legend, maxPointSize, minPointSize, startAngle, style, title, tooltipHtml, useHtml, zMin, layout, verticalAlign, x, y, ...props }: CircleChartProps) => JSX.Element;
41
+ declare const CircleChart: ({ align, aria, rounded, borderColor, borderWidth, chartData, children, className, colors, customOptions, dark, data, dataLabelHtml, dataLabels, height, htmlOptions, id, innerSize, legend, maxPointSize, minPointSize, startAngle, style, title, tooltipHtml, useHtml, zMin, layout, verticalAlign, x, y, ...props }: CircleChartProps) => JSX.Element;
40
42
  export default CircleChart;
@@ -1,7 +1,13 @@
1
- import React from 'react';
1
+ import React, { ReactElement } from 'react';
2
2
  import { IconSizes } from "../pb_icon/_icon";
3
+ declare type CollapsibleMainProps = {
4
+ children: React.ReactNode;
5
+ };
6
+ declare type CollapsibleContentProps = {
7
+ children: React.ReactNode;
8
+ };
3
9
  declare type CollapsibleProps = {
4
- children?: React.ReactElement | [] | any;
10
+ children?: [ReactElement<CollapsibleMainProps>, ReactElement<CollapsibleContentProps>];
5
11
  aria?: {
6
12
  [key: string]: string;
7
13
  };
@@ -0,0 +1,49 @@
1
+ import React from "react";
2
+ declare type DraggableProps = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ className?: string;
7
+ children?: React.ReactNode;
8
+ data?: {
9
+ [key: string]: string;
10
+ };
11
+ htmlOptions?: {
12
+ [key: string]: string | number | boolean | (() => void);
13
+ };
14
+ id?: string;
15
+ };
16
+ declare const Draggable: {
17
+ (props: DraggableProps): JSX.Element;
18
+ Container: (props: {
19
+ aria?: {
20
+ [key: string]: string;
21
+ };
22
+ children?: React.ReactNode;
23
+ className?: string;
24
+ container?: any;
25
+ data?: {
26
+ [key: string]: string;
27
+ };
28
+ htmlOptions?: {
29
+ [key: string]: string | number | boolean | (() => void);
30
+ };
31
+ id?: string;
32
+ }) => JSX.Element;
33
+ Item: (props: {
34
+ aria?: {
35
+ [key: string]: string;
36
+ };
37
+ children?: React.ReactNode;
38
+ className?: string;
39
+ container?: any;
40
+ data?: {
41
+ [key: string]: string;
42
+ };
43
+ htmlOptions?: {
44
+ [key: string]: string | number | boolean | (() => void);
45
+ };
46
+ id?: string;
47
+ }) => JSX.Element;
48
+ };
49
+ export default Draggable;
@@ -0,0 +1,2 @@
1
+ export declare const DraggableContext: () => any;
2
+ export declare const DraggableProvider: ({ children, initialItems, onChange }: any) => JSX.Element;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ declare type DraggableContainerProps = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ children?: React.ReactNode;
7
+ className?: string;
8
+ container?: any;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ htmlOptions?: {
13
+ [key: string]: string | number | boolean | (() => void);
14
+ };
15
+ id?: string;
16
+ };
17
+ declare const DraggableContainer: (props: DraggableContainerProps) => JSX.Element;
18
+ export default DraggableContainer;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ declare type DraggableItemProps = {
3
+ aria?: {
4
+ [key: string]: string;
5
+ };
6
+ children?: React.ReactNode;
7
+ className?: string;
8
+ container?: any;
9
+ data?: {
10
+ [key: string]: string;
11
+ };
12
+ htmlOptions?: {
13
+ [key: string]: string | number | boolean | (() => void);
14
+ };
15
+ id?: string;
16
+ };
17
+ declare const DraggableItem: (props: DraggableItemProps) => JSX.Element;
18
+ export default DraggableItem;
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import Highcharts from "highcharts";
2
3
  declare type GaugeProps = {
3
4
  aria: {
4
5
  [key: string]: string;
@@ -8,6 +9,7 @@ declare type GaugeProps = {
8
9
  name: string;
9
10
  value: number[] | number;
10
11
  }[];
12
+ customOptions?: Partial<Highcharts.Options>;
11
13
  dark?: boolean;
12
14
  data?: {
13
15
  [key: string]: string;
@@ -31,5 +33,5 @@ declare type GaugeProps = {
31
33
  minorTickInterval?: number;
32
34
  circumference: number[];
33
35
  };
34
- declare const Gauge: ({ aria, chartData, dark, data, disableAnimation, fullCircle, height, htmlOptions, id, max, min, prefix, showLabels, style, suffix, title, tooltipHtml, colors, minorTickInterval, circumference, ...props }: GaugeProps) => React.ReactElement;
36
+ declare const Gauge: ({ aria, chartData, customOptions, dark, data, disableAnimation, fullCircle, height, htmlOptions, id, max, min, prefix, showLabels, style, suffix, title, tooltipHtml, colors, minorTickInterval, circumference, ...props }: GaugeProps) => React.ReactElement;
35
37
  export default Gauge;
@@ -1,3 +1,4 @@
1
+ import Highcharts from "highcharts";
1
2
  declare type LineGraphProps = {
2
3
  align?: "left" | "right" | "center";
3
4
  axisTitle?: string;
@@ -10,6 +11,7 @@ declare type LineGraphProps = {
10
11
  name: string;
11
12
  data: number[];
12
13
  }[];
14
+ customOptions?: Partial<Highcharts.Options>;
13
15
  gradient?: boolean;
14
16
  htmlOptions?: {
15
17
  [key: string]: string | number | boolean | (() => void);
@@ -34,5 +36,5 @@ declare type LineGraphProps = {
34
36
  [key: string]: string;
35
37
  };
36
38
  };
37
- declare const LineGraph: ({ aria, data, align, className, dark, gradient, type, htmlOptions, id, legend, toggleLegendClick, layout, verticalAlign, x, y, axisTitle, xAxisCategories, yAxisMin, yAxisMax, chartData, pointStart, subTitle, title, height, colors, ...props }: LineGraphProps) => JSX.Element;
39
+ declare const LineGraph: ({ aria, data, align, className, customOptions, dark, gradient, type, htmlOptions, id, legend, toggleLegendClick, layout, verticalAlign, x, y, axisTitle, xAxisCategories, yAxisMin, yAxisMax, chartData, pointStart, subTitle, title, height, colors, ...props }: LineGraphProps) => JSX.Element;
38
40
  export default LineGraph;
@@ -7,6 +7,7 @@ declare type ListProps = {
7
7
  className?: string;
8
8
  children: React.ReactNode[] | React.ReactNode;
9
9
  dark?: boolean;
10
+ draggable?: boolean;
10
11
  data?: Record<string, unknown>;
11
12
  htmlOptions?: {
12
13
  [key: string]: string | number | boolean | (() => void);
@@ -7,6 +7,7 @@ declare type ListItemProps = {
7
7
  children: React.ReactNode[] | React.ReactNode;
8
8
  className?: string;
9
9
  data?: Record<string, unknown>;
10
+ dragHandle?: boolean;
10
11
  htmlOptions?: {
11
12
  [key: string]: string | number | boolean | (() => void);
12
13
  };
@@ -90,6 +90,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
90
90
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
91
91
  } & {
92
92
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
93
+ } & {
94
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
93
95
  } & {
94
96
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
95
97
  } & {
@@ -205,6 +207,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
205
207
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
206
208
  } & {
207
209
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
210
+ } & {
211
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
208
212
  } & {
209
213
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
210
214
  } & {
@@ -318,6 +322,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
318
322
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
319
323
  } & {
320
324
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
325
+ } & {
326
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
321
327
  } & {
322
328
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
323
329
  } & {
@@ -431,6 +437,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
431
437
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
432
438
  } & {
433
439
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
440
+ } & {
441
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
434
442
  } & {
435
443
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
436
444
  } & {
@@ -102,6 +102,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
102
102
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
103
103
  } & {
104
104
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
105
+ } & {
106
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
105
107
  } & {
106
108
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
107
109
  } & {
@@ -223,6 +225,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
223
225
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
224
226
  } & {
225
227
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
228
+ } & {
229
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
226
230
  } & {
227
231
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
228
232
  } & {
@@ -342,6 +346,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
342
346
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
343
347
  } & {
344
348
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
349
+ } & {
350
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
345
351
  } & {
346
352
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
347
353
  } & {
@@ -461,6 +467,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
461
467
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
462
468
  } & {
463
469
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
470
+ } & {
471
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
464
472
  } & {
465
473
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
466
474
  } & {
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { GenericObject } from "../types";
2
3
  export declare type SelectableListItemProps = {
3
4
  aria?: {
4
5
  [key: string]: string;
@@ -6,8 +7,9 @@ export declare type SelectableListItemProps = {
6
7
  children: React.ReactNode[] | React.ReactNode;
7
8
  checked?: boolean;
8
9
  className?: string;
9
- data?: object;
10
+ data?: GenericObject;
10
11
  defaultChecked?: boolean;
12
+ dragHandle?: boolean;
11
13
  htmlOptions?: {
12
14
  [key: string]: string | number | boolean | (() => void);
13
15
  };
@@ -19,5 +21,5 @@ export declare type SelectableListItemProps = {
19
21
  variant?: string;
20
22
  onChange: (arg: React.ChangeEvent<HTMLInputElement> | null) => void;
21
23
  };
22
- declare const SelectableListItem: ({ aria, checked, children, className, data, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
24
+ declare const SelectableListItem: ({ aria, checked, children, className, data, dragHandle, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
23
25
  export default SelectableListItem;
@@ -8,6 +8,7 @@ declare type SelectableListProps = {
8
8
  children?: React.ReactElement[];
9
9
  className?: string;
10
10
  data?: GenericObject;
11
+ draggable?: boolean;
11
12
  htmlOptions?: {
12
13
  [key: string]: string | number | boolean | (() => void);
13
14
  };
@@ -16,6 +17,6 @@ declare type SelectableListProps = {
16
17
  };
17
18
  declare const SelectableList: {
18
19
  (props: SelectableListProps): JSX.Element;
19
- Item: ({ aria, checked, children, className, data, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
20
+ Item: ({ aria, checked, children, className, data, dragHandle, defaultChecked, htmlOptions, id, label, text, name, value, variant, onChange, ...props }: SelectableListItemProps) => JSX.Element;
20
21
  };
21
22
  export default SelectableList;
@@ -18,6 +18,7 @@ declare type TableProps = {
18
18
  [key: string]: string | number | boolean | (() => void);
19
19
  };
20
20
  id?: string;
21
+ outerPadding?: "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
21
22
  responsive?: "collapse" | "scroll" | "none";
22
23
  singleLine?: boolean;
23
24
  size?: "sm" | "md" | "lg";
@@ -96,6 +96,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
96
96
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
97
97
  } & {
98
98
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
99
+ } & {
100
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
99
101
  } & {
100
102
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
101
103
  } & {
@@ -217,6 +219,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
217
219
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
218
220
  } & {
219
221
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
222
+ } & {
223
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
220
224
  } & {
221
225
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
222
226
  } & {
@@ -336,6 +340,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
336
340
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
337
341
  } & {
338
342
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
343
+ } & {
344
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
339
345
  } & {
340
346
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
341
347
  } & {
@@ -455,6 +461,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
455
461
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
456
462
  } & {
457
463
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
464
+ } & {
465
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
458
466
  } & {
459
467
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
460
468
  } & {
@@ -96,6 +96,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
96
96
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
97
97
  } & {
98
98
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
99
+ } & {
100
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
99
101
  } & {
100
102
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
101
103
  } & {
@@ -216,6 +218,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
216
218
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
217
219
  } & {
218
220
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
221
+ } & {
222
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
219
223
  } & {
220
224
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
221
225
  } & {
@@ -334,6 +338,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
334
338
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
335
339
  } & {
336
340
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
341
+ } & {
342
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
337
343
  } & {
338
344
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
339
345
  } & {
@@ -452,6 +458,8 @@ declare const _default: React.ForwardRefExoticComponent<(Pick<{
452
458
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
453
459
  } & {
454
460
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
461
+ } & {
462
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
455
463
  } & {
456
464
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
457
465
  } & {
@@ -90,6 +90,8 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
90
90
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
91
91
  } & {
92
92
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
93
+ } & {
94
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
93
95
  } & {
94
96
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
95
97
  } & {
@@ -204,6 +206,8 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
204
206
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
205
207
  } & {
206
208
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
209
+ } & {
210
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
207
211
  } & {
208
212
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
209
213
  } & {
@@ -316,6 +320,8 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
316
320
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
317
321
  } & {
318
322
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
323
+ } & {
324
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
319
325
  } & {
320
326
  zIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
321
327
  } & {
@@ -428,6 +434,8 @@ declare const Tooltip: React.ForwardRefExoticComponent<(Pick<{
428
434
  textAlign?: "center" | "start" | "end" | "left" | "right" | "justify" | "justifyAll" | "matchParent";
429
435
  } & {
430
436
  truncate?: "none" | 1 | 2 | 3 | 4 | 5;
437
+ } & {
438
+ verticalAlign?: "sub" | "baseline" | "top" | "middle" | "bottom" | "super" | "text-top" | "text-bottom";
431
439
  } & {
432
440
  [key: string]: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
433
441
  } & {
@@ -1,3 +1,4 @@
1
+ import Highcharts from "highcharts";
1
2
  declare type TreemapChartProps = {
2
3
  chartData: {
3
4
  name: string;
@@ -8,6 +9,7 @@ declare type TreemapChartProps = {
8
9
  }[];
9
10
  className?: string;
10
11
  colors: string[];
12
+ customOptions?: Partial<Highcharts.Options>;
11
13
  dark?: boolean;
12
14
  drillable: boolean;
13
15
  grouped: boolean;
@@ -26,5 +28,5 @@ declare type TreemapChartProps = {
26
28
  [key: string]: string;
27
29
  };
28
30
  };
29
- declare const TreemapChart: ({ aria, data, chartData, colors, dark, drillable, grouped, height, htmlOptions, id, title, tooltipHtml, type, ...props }: TreemapChartProps) => JSX.Element;
31
+ declare const TreemapChart: ({ aria, data, chartData, colors, customOptions, dark, drillable, grouped, height, htmlOptions, id, title, tooltipHtml, type, ...props }: TreemapChartProps) => JSX.Element;
30
32
  export default TreemapChart;