react-semaphor 0.0.34 → 0.0.36

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.
@@ -109,6 +109,8 @@ declare type DashboardStore = {
109
109
  actions: Actions;
110
110
  };
111
111
 
112
+ export declare const DashboardWC: CustomElementConstructor;
113
+
112
114
  export declare type ErrorProps = {
113
115
  message?: string;
114
116
  };
@@ -162,20 +164,30 @@ export declare type LoadingProps = {
162
164
  message?: string;
163
165
  };
164
166
 
167
+ /**
168
+ * Style propeerites for the dashboard
169
+ */
165
170
  export declare type StyleProps = {
171
+ /** css class for `dashboard-panel` */
166
172
  dashboardPanel?: string;
173
+ /** css class for `dashboard-tabs-container` */
167
174
  dashboardTabsContainer?: string;
175
+ /** css class for `dashboard-card` */
176
+ /** css class for `dashboard-card-container` */
177
+ dashboardCardContainer?: string;
168
178
  dashboardCard?: string;
169
- dashboardHeader?: string;
170
- dashboardTitle?: string;
171
- dashboardDescription?: string;
179
+ /** grid-layout config */
172
180
  gridLayout?: {
181
+ /** css class for `react-grid-layout` */
173
182
  className?: string;
174
183
  margin?: [number, number];
175
184
  };
185
+ /** chart config */
176
186
  chart?: {
187
+ /** chart font config */
177
188
  font?: Partial<FontSpec>;
178
189
  dataset?: any;
190
+ /** chart options */
179
191
  options?: any;
180
192
  };
181
193
  };
@@ -239,6 +251,9 @@ export declare type TSheet = {
239
251
  cards?: TCard[];
240
252
  };
241
253
 
254
+ /**
255
+ * Style for the dashboard
256
+ */
242
257
  export declare type TStyle = {
243
258
  default: StyleProps;
244
259
  dark?: StyleProps;
@@ -264,10 +279,8 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
264
279
  themeStyle?: {
265
280
  dashboardPanel?: string | undefined;
266
281
  dashboardTabsContainer?: string | undefined;
282
+ dashboardCardContainer?: string | undefined;
267
283
  dashboardCard?: string | undefined;
268
- dashboardHeader?: string | undefined;
269
- dashboardTitle?: string | undefined;
270
- dashboardDescription?: string | undefined;
271
284
  gridLayout?: {
272
285
  className?: string | undefined;
273
286
  margin?: [number, number] | undefined;
@@ -333,10 +346,8 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
333
346
  default: {
334
347
  dashboardPanel?: string | undefined;
335
348
  dashboardTabsContainer?: string | undefined;
349
+ dashboardCardContainer?: string | undefined;
336
350
  dashboardCard?: string | undefined;
337
- dashboardHeader?: string | undefined;
338
- dashboardTitle?: string | undefined;
339
- dashboardDescription?: string | undefined;
340
351
  gridLayout?: {
341
352
  className?: string | undefined;
342
353
  margin?: [number, number] | undefined;
@@ -356,10 +367,8 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
356
367
  dark?: {
357
368
  dashboardPanel?: string | undefined;
358
369
  dashboardTabsContainer?: string | undefined;
370
+ dashboardCardContainer?: string | undefined;
359
371
  dashboardCard?: string | undefined;
360
- dashboardHeader?: string | undefined;
361
- dashboardTitle?: string | undefined;
362
- dashboardDescription?: string | undefined;
363
372
  gridLayout?: {
364
373
  className?: string | undefined;
365
374
  margin?: [number, number] | undefined;