cx 22.6.1 → 22.6.2
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/manifest.js +500 -500
- package/package.json +1 -1
- package/src/charts/PieChart.d.ts +4 -4
- package/src/widgets/Button.d.ts +2 -0
- package/src/widgets/nav/MenuItem.d.ts +1 -1
package/package.json
CHANGED
package/src/charts/PieChart.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ interface PieChartProps extends BoundedObjectProps {
|
|
|
13
13
|
clockwise?: Cx.BooleanProp;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export class PieChart extends Cx.Widget<PieChartProps> {
|
|
16
|
+
export class PieChart extends Cx.Widget<PieChartProps> {}
|
|
17
17
|
|
|
18
18
|
interface PieSliceProps extends Cx.StyledContainerProps {
|
|
19
19
|
/** Used to indicate whether an item is active or not. Inactive items are shown only in the legend. */
|
|
@@ -43,7 +43,7 @@ interface PieSliceProps extends Cx.StyledContainerProps {
|
|
|
43
43
|
/** Value in pixels to be used to explode the pie. */
|
|
44
44
|
offset?: Cx.NumberProp;
|
|
45
45
|
|
|
46
|
-
value?: Cx.
|
|
46
|
+
value?: Cx.NumberProp;
|
|
47
47
|
disabled?: Cx.BooleanProp;
|
|
48
48
|
innerPointRadius?: Cx.NumberProp;
|
|
49
49
|
outerPointRadius?: Cx.NumberProp;
|
|
@@ -68,7 +68,7 @@ interface PieSliceProps extends Cx.StyledContainerProps {
|
|
|
68
68
|
tooltip?: Cx.StringProp | Cx.StructuredProp;
|
|
69
69
|
|
|
70
70
|
/** Selection configuration. */
|
|
71
|
-
selection?: { type: typeof PropertySelection | typeof KeySelection;[prop: string]: any };
|
|
71
|
+
selection?: { type: typeof PropertySelection | typeof KeySelection; [prop: string]: any };
|
|
72
72
|
|
|
73
73
|
/** A value used to identify the group of components participating in hover effect synchronization. */
|
|
74
74
|
hoverChannel?: string;
|
|
@@ -77,4 +77,4 @@ interface PieSliceProps extends Cx.StyledContainerProps {
|
|
|
77
77
|
hoverId?: Cx.StringProp;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export class PieSlice extends Cx.Widget<PieSliceProps> {
|
|
80
|
+
export class PieSlice extends Cx.Widget<PieSliceProps> {}
|
package/src/widgets/Button.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ export interface ButtonProps extends Cx.HtmlElementProps {
|
|
|
41
41
|
*/
|
|
42
42
|
onClick?: string | ((e: React.SyntheticEvent<any>, instance: Instance) => void);
|
|
43
43
|
|
|
44
|
+
onMouseDown?: string | ((e: React.SyntheticEvent<any>, instance: Instance) => void);
|
|
45
|
+
|
|
44
46
|
/** Button type. */
|
|
45
47
|
type?: "submit" | "button";
|
|
46
48
|
|