@sirsluginston/sharedui 2.0.26 → 2.0.28
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/index.d.ts +32 -0
- package/dist/sharedui.js +496 -379
- package/dist/sharedui.umd.cjs +23 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -199,6 +199,14 @@ declare interface FooterProps {
|
|
|
199
199
|
poweredBy?: string;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
export declare const GridLayout: ({ children, columns, gap }: GridLayoutProps) => JSX_2.Element;
|
|
203
|
+
|
|
204
|
+
declare interface GridLayoutProps {
|
|
205
|
+
children: default_2.ReactNode;
|
|
206
|
+
columns?: number;
|
|
207
|
+
gap?: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
202
210
|
export declare const Header: default_2.FC<HeaderProps>;
|
|
203
211
|
|
|
204
212
|
declare interface HeaderProps {
|
|
@@ -289,6 +297,20 @@ export declare interface NavItem {
|
|
|
289
297
|
children?: NavItem[];
|
|
290
298
|
}
|
|
291
299
|
|
|
300
|
+
export declare const PageContainer: ({ children, darkMode }: PageContainerProps) => JSX_2.Element;
|
|
301
|
+
|
|
302
|
+
declare interface PageContainerProps {
|
|
303
|
+
children: default_2.ReactNode;
|
|
304
|
+
darkMode?: boolean;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export declare const ProgressBar: ({ value, label }: ProgressBarProps) => JSX_2.Element;
|
|
308
|
+
|
|
309
|
+
declare interface ProgressBarProps {
|
|
310
|
+
value: number;
|
|
311
|
+
label?: string;
|
|
312
|
+
}
|
|
313
|
+
|
|
292
314
|
export declare interface RecentEvent {
|
|
293
315
|
event_id: string;
|
|
294
316
|
event_title: string;
|
|
@@ -367,6 +389,16 @@ declare interface SpinnerProps {
|
|
|
367
389
|
color?: string;
|
|
368
390
|
}
|
|
369
391
|
|
|
392
|
+
export declare const StatCard: ({ label, value, icon, className, style }: StatCardProps) => JSX_2.Element;
|
|
393
|
+
|
|
394
|
+
declare interface StatCardProps {
|
|
395
|
+
label: string;
|
|
396
|
+
value: string | number;
|
|
397
|
+
icon?: default_2.ReactNode;
|
|
398
|
+
className?: string;
|
|
399
|
+
style?: default_2.CSSProperties;
|
|
400
|
+
}
|
|
401
|
+
|
|
370
402
|
export declare const StatePage: default_2.FC<StatePageProps>;
|
|
371
403
|
|
|
372
404
|
export declare interface StatePageData {
|