react-semaphor 0.0.261 → 0.0.263

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.
@@ -84,7 +84,7 @@ export declare type DateOptions = {
84
84
  options: Intl.DateTimeFormatOptions;
85
85
  };
86
86
 
87
- export declare type DisplayDataType = 'string' | 'date' | 'number';
87
+ export declare type DisplayDataType = 'string' | 'date' | 'number' | 'none';
88
88
 
89
89
  export declare type ErrorProps = {
90
90
  message?: string;
@@ -151,6 +151,8 @@ export declare type LoadingProps = {
151
151
  message?: string;
152
152
  };
153
153
 
154
+ declare type NoneOptions = {};
155
+
154
156
  export declare type NumberAxisFormat = {
155
157
  decimalPlaces?: number;
156
158
  suffix?: string;
@@ -171,6 +173,7 @@ declare type OptionsMap = {
171
173
  number: NumberOptions;
172
174
  string: StringOptions;
173
175
  date: DateOptions;
176
+ none: NoneOptions;
174
177
  };
175
178
 
176
179
  declare type Params = {
@@ -313,6 +316,8 @@ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut'
313
316
 
314
317
  export declare type TColumnSetting<T extends DisplayDataType> = {
315
318
  columnIdx: number;
319
+ textAlign?: 'left' | 'center' | 'right';
320
+ width?: number;
316
321
  type: T;
317
322
  options: OptionsMap[T];
318
323
  };
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.261",
8
+ "version": "0.0.263",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",