@spaced-out/ui-design-system 0.1.89 → 0.1.91

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.91](https://github.com/spaced-out/ui-design-system/compare/v0.1.90...v0.1.91) (2024-04-24)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * wraps hichchartsmore in a condition ([7213481](https://github.com/spaced-out/ui-design-system/commit/7213481d480f856813d2327fe4fbddd4cf8c4413))
11
+
12
+ ### [0.1.90](https://github.com/spaced-out/ui-design-system/compare/v0.1.89...v0.1.90) (2024-04-24)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * corrected highcharts-more function call ([de8ef00](https://github.com/spaced-out/ui-design-system/commit/de8ef008ba74dbb2ff187c0c6137602095fa8014))
18
+
5
19
  ### [0.1.89](https://github.com/spaced-out/ui-design-system/compare/v0.1.88...v0.1.89) (2024-04-24)
6
20
 
7
21
 
@@ -22,7 +22,9 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
22
22
 
23
23
  //$FlowFixMe[untyped-import]
24
24
 
25
- (0, _highchartsMore.default)(_highcharts.default);
25
+ if (!!_highchartsMore.default && !!_highcharts.default && typeof _highchartsMore.default === 'function' && typeof _highcharts.default === 'object') {
26
+ (0, _highchartsMore.default)(_highcharts.default);
27
+ }
26
28
  const SpiderChart = _ref => {
27
29
  let {
28
30
  classNames,
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  //$FlowFixMe[untyped-import]
5
5
  import Highcharts from 'highcharts';
6
6
  //$FlowFixMe[untyped-import]
7
- import HighChartsMore from 'highcharts/highcharts-more';
7
+ import highChartsMore from 'highcharts/highcharts-more';
8
8
  //$FlowFixMe[untyped-import]
9
9
  import HighchartsReact from 'highcharts-react-official';
10
10
 
@@ -20,7 +20,14 @@ import {ChartWrapper} from '../ChartWrapper';
20
20
  import css from './SpiderChart.module.css';
21
21
 
22
22
 
23
- HighChartsMore(Highcharts);
23
+ if (
24
+ !!highChartsMore &&
25
+ !!Highcharts &&
26
+ typeof highChartsMore === 'function' &&
27
+ typeof Highcharts === 'object'
28
+ ) {
29
+ highChartsMore(Highcharts);
30
+ }
24
31
 
25
32
  type ClassNames = $ReadOnly<{
26
33
  ...ChartWrapperClassNames,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.1.89",
3
+ "version": "0.1.91",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {