react-semaphor 0.0.115 → 0.0.117
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/react-semaphor.d.ts +10 -0
- package/dist/react-semaphor.js +6563 -6432
- package/dist/react-semaphor.umd.cjs +79 -79
- package/package.json +2 -1
package/dist/react-semaphor.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
12
12
|
import { Layout } from 'react-grid-layout';
|
|
13
13
|
import { Layouts } from 'react-grid-layout';
|
|
14
14
|
import { Point } from 'chart.js';
|
|
15
|
+
import { default as React_2 } from 'react';
|
|
15
16
|
import { default as ReactGridLayout_2 } from 'react-grid-layout';
|
|
16
17
|
import { StoreApi } from 'zustand';
|
|
17
18
|
import { UseBoundStore } from 'zustand';
|
|
@@ -178,6 +179,15 @@ export declare type CustomCard = CardWithContent | CardWithFooter;
|
|
|
178
179
|
|
|
179
180
|
export declare function Dashboard(props: DashboardProps): JSX_2.Element;
|
|
180
181
|
|
|
182
|
+
export declare function DashboardCard({ card, footer, className, ...props }: DashboardCardProps): JSX_2.Element | null;
|
|
183
|
+
|
|
184
|
+
declare type DashboardCardProps = {
|
|
185
|
+
card: TCard;
|
|
186
|
+
footer?: React_2.ReactNode;
|
|
187
|
+
showControls?: boolean;
|
|
188
|
+
fetchCardData?: boolean;
|
|
189
|
+
} & React_2.HTMLAttributes<HTMLDivElement>;
|
|
190
|
+
|
|
181
191
|
export declare function DashboardPlus({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element;
|
|
182
192
|
|
|
183
193
|
declare type DashboardPlusProps = {
|