cx 24.8.1 → 24.8.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/widgets.js CHANGED
@@ -4326,7 +4326,8 @@ function tooltipParentWillUnmount(parentInstance) {
4326
4326
  }
4327
4327
  function tooltipParentDidUpdate(element, parentInstance, tooltip) {
4328
4328
  var instance = getTooltipInstance(element, parentInstance, tooltip);
4329
- if (instance.tooltipComponent) instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
4329
+ if (instance && instance.tooltipComponent)
4330
+ instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
4330
4331
  }
4331
4332
  function enableTooltips() {
4332
4333
  wireTooltipOps({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "24.8.1",
3
+ "version": "24.8.2",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "main": "index.js",
6
6
  "jsnext:main": "src/index.js",
@@ -95,6 +95,9 @@ export interface AxisProps extends BoundedObjectProps {
95
95
  value: any,
96
96
  { tickIndex, serieIndex }: { tickIndex: number; serieIndex: number },
97
97
  ) => { text: string; style?: any; className?: string }[]);
98
+
99
+ /** Distance between the even labels and the axis. */
100
+ alternateLabelOffset?: number | string;
98
101
  }
99
102
 
100
103
  export class Axis extends BoundedObject {}
@@ -279,7 +279,8 @@ function tooltipParentWillUnmount(parentInstance) {
279
279
 
280
280
  function tooltipParentDidUpdate(element, parentInstance, tooltip) {
281
281
  let instance = getTooltipInstance(element, parentInstance, tooltip);
282
- if (instance.tooltipComponent) instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
282
+ if (instance && instance.tooltipComponent)
283
+ instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
283
284
  }
284
285
 
285
286
  export function enableTooltips() {