playbook-ui 13.28.0-alpha.play829selectablecardalignment2978 → 13.29.0
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 +5 -2
- package/dist/pb_circle_chart/_circle_chart.d.ts +3 -1
- package/dist/pb_collapsible/_collapsible.d.ts +9 -3
- package/dist/pb_dialog/_dialog.d.ts +1 -1
- package/dist/pb_draggable/_draggable.d.ts +49 -0
- package/dist/pb_draggable/context/index.d.ts +2 -0
- package/dist/pb_draggable/subcomponents/DraggableContainer.d.ts +18 -0
- package/dist/pb_draggable/subcomponents/DraggableItem.d.ts +18 -0
- package/dist/pb_dropdown/utilities/subComponentHelper.d.ts +1 -1
- package/dist/pb_gauge/_gauge.d.ts +3 -1
- package/dist/pb_line_graph/_line_graph.d.ts +3 -1
- package/dist/pb_list/_list.d.ts +1 -0
- package/dist/pb_list/_list_item.d.ts +1 -0
- package/dist/pb_radio/_radio.d.ts +112 -104
- package/dist/pb_select/_select.d.ts +112 -104
- package/dist/pb_selectable_list/_item.d.ts +4 -2
- package/dist/pb_selectable_list/_selectable_list.d.ts +2 -1
- package/dist/pb_table/_table.d.ts +1 -0
- package/dist/pb_text_input/_text_input.d.ts +116 -108
- package/dist/pb_textarea/_textarea.d.ts +112 -104
- package/dist/pb_timeline/_timeline.d.ts +1 -1
- package/dist/pb_tooltip/_tooltip.d.ts +112 -104
- package/dist/pb_treemap_chart/_treemap_chart.d.ts +3 -1
- package/dist/playbook-doc.js +11 -11
- package/dist/playbook-rails.js +7 -7
- package/dist/playbook.css +1 -1
- package/dist/playbook.js +10 -10
- package/dist/tokens/vertical_align.scss +18 -0
- package/dist/utilities/globalProps.d.ts +4 -1
- package/package.json +2 -2
- package/dist/app/components/playbook/pb_docs/advanced_table_mock_data.json +0 -278
- package/dist/app/components/playbook/pb_docs/kit_api.html.erb +0 -321
- package/dist/app/components/playbook/pb_docs/kit_api.rb +0 -150
- package/dist/app/components/playbook/pb_docs/kit_example.html.erb +0 -80
- package/dist/app/components/playbook/pb_docs/kit_example.rb +0 -78
- package/dist/pb_doc_helper.rb +0 -102
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?:
|
|
10
|
+
children?: [ReactElement<CollapsibleMainProps>, ReactElement<CollapsibleContentProps>];
|
|
5
11
|
aria?: {
|
|
6
12
|
[key: string]: string;
|
|
7
13
|
};
|
|
@@ -33,7 +39,7 @@ declare const Collapsible: {
|
|
|
33
39
|
Icon: ({ collapsed, icon, iconSize, iconColor, onIconClick, }: {
|
|
34
40
|
collapsed: boolean | (() => void);
|
|
35
41
|
icon?: string | string[];
|
|
36
|
-
iconColor?: "link" | "error" | "
|
|
42
|
+
iconColor?: "link" | "error" | "default" | "light" | "lighter" | "success";
|
|
37
43
|
iconSize?: IconSizes;
|
|
38
44
|
onIconClick?: () => void;
|
|
39
45
|
}) => JSX.Element;
|
|
@@ -55,7 +55,7 @@ declare const Dialog: {
|
|
|
55
55
|
} & import("../utilities/globalProps").GlobalProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
56
56
|
Body: (props: {
|
|
57
57
|
children: React.ReactNode | React.ReactNode[];
|
|
58
|
-
padding?: "
|
|
58
|
+
padding?: "xs" | "xxs" | "sm" | "md" | "lg" | "xl";
|
|
59
59
|
className?: string;
|
|
60
60
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
61
61
|
Footer: (props: {
|
|
@@ -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,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;
|
|
@@ -13,5 +13,5 @@ export declare const separateChildComponents: (children: React.ReactChild[] | Re
|
|
|
13
13
|
container: React.ReactChild;
|
|
14
14
|
otherChildren: React.ReactChild[];
|
|
15
15
|
};
|
|
16
|
-
export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, dark }: PrepareComponentsProps) => (string | number |
|
|
16
|
+
export declare const prepareSubcomponents: ({ children, hasTriggerSubcomponent, hasContainerSubcomponent, trigger, container, otherChildren, dark }: PrepareComponentsProps) => (string | number | React.ReactChild[] | JSX.Element)[];
|
|
17
17
|
export {};
|
|
@@ -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;
|
package/dist/pb_list/_list.d.ts
CHANGED