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.
- package/dist/chunks/{dashboard-plus-W9G7-3cX.js → dashboard-plus-W0DTzSfj.js} +2 -2
- package/dist/chunks/{dashboard-plus-XY2CVch2.js → dashboard-plus-m4GmoGW6.js} +2 -2
- package/dist/chunks/index-3AYZwwvx.js +448 -0
- package/dist/chunks/{index-iXSJ_L4M.js → index-z9fsiD8I.js} +13304 -13166
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/dashboard.d.ts +6 -1
- package/dist/types/main.d.ts +24 -7
- package/dist/types/surfboard.d.ts +6 -1
- package/dist/types/types.d.ts +6 -1
- package/package.json +1 -1
- package/dist/chunks/index-Aj7GYy-J.js +0 -448
package/dist/types/types.d.ts
CHANGED
|
@@ -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
|
};
|