@spaced-out/ui-design-system 0.1.94-beta.3 → 0.1.94-beta.4

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,13 @@
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.94-beta.4](https://github.com/spaced-out/ui-design-system/compare/v0.1.94-beta.3...v0.1.94-beta.4) (2024-05-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **chart:** fixed the type for axis ([#205](https://github.com/spaced-out/ui-design-system/issues/205)) ([740994a](https://github.com/spaced-out/ui-design-system/commit/740994a42e6376c6a3781c807814b2ea4acf49dc))
11
+
5
12
  ### [0.1.94-beta.3](https://github.com/spaced-out/ui-design-system/compare/v0.1.94-beta.2...v0.1.94-beta.3) (2024-05-15)
6
13
 
7
14
 
@@ -29,7 +29,7 @@ export type ChartOptions = {
29
29
  allowTableSorting?: boolean,
30
30
  buttons?: {
31
31
  contextButton?: {
32
- enabled: boolean,
32
+ enabled?: boolean,
33
33
  },
34
34
  },
35
35
  enabled?: boolean,
@@ -54,15 +54,15 @@ export type ChartOptions = {
54
54
  subtitle?: {
55
55
  useHTML: boolean,
56
56
  text?: string,
57
- verticalAlign: 'middle',
58
- align: string,
59
- style: CSSObject,
57
+ verticalAlign?: 'middle',
58
+ align?: string,
59
+ style?: CSSObject,
60
60
  x?: number,
61
61
  ...
62
62
  },
63
63
  pane?: {
64
- center: [string, string],
65
- size: string,
64
+ center?: [string, string],
65
+ size?: string,
66
66
  ...
67
67
  },
68
68
  legend?: Legend,
@@ -83,7 +83,7 @@ export type AxisOptions = {
83
83
  title?: {
84
84
  text?: string,
85
85
  margin?: number,
86
- style: ?CSSObject,
86
+ style?: CSSObject,
87
87
  ...
88
88
  },
89
89
  type?: string,
@@ -157,20 +157,20 @@ export type Drilldown = {
157
157
 
158
158
  export type PlotOptionsType = {
159
159
  ['pie' | 'line']: {
160
- innerSize: string,
161
- allowPointSelect: boolean,
162
- cursor: 'pointer',
163
- dataLabels: {
160
+ innerSize?: string,
161
+ allowPointSelect?: boolean,
162
+ cursor?: 'pointer',
163
+ dataLabels?: {
164
164
  enabled?: boolean,
165
165
  distance?: number,
166
166
  connectorColor?: string,
167
167
  },
168
- showInLegend: boolean,
169
- center: [string, string],
170
- size: string,
168
+ showInLegend?: boolean,
169
+ center?: [string, string],
170
+ size?: string,
171
171
  minSize?: number | string,
172
- borderWidth: number,
173
- borderRadius: number,
172
+ borderWidth?: number,
173
+ borderRadius?: number,
174
174
  ...
175
175
  },
176
176
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.1.94-beta.3",
3
+ "version": "0.1.94-beta.4",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {