randmarcomps 1.607.0 → 1.610.0
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/randmarcomps.d.ts +28 -0
- package/dist/randmarcomps.js +882 -791
- package/dist/randmarcomps.umd.cjs +40 -40
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { GoogleChartOptions } from 'react-google-charts';
|
|
|
17
17
|
import { Inventory } from 'randmar-api-client';
|
|
18
18
|
import { JSX } from 'react/jsx-runtime';
|
|
19
19
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
20
|
+
import { LucideIcon } from 'lucide-react';
|
|
20
21
|
import { Manufacturer } from 'randmar-api-client';
|
|
21
22
|
import { MouseEventHandler } from 'react';
|
|
22
23
|
import { NamedExoticComponent } from 'react';
|
|
@@ -1160,6 +1161,33 @@ export declare interface SimpleNode {
|
|
|
1160
1161
|
|
|
1161
1162
|
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
1162
1163
|
|
|
1164
|
+
export declare function SummaryOverviewCard({ icon: Icon, contentType, identifier, description, fields, actions, highlightedHeader, className, ...props }: SummaryOverviewCardProps): JSX.Element;
|
|
1165
|
+
|
|
1166
|
+
export declare interface SummaryOverviewCardField {
|
|
1167
|
+
label: string;
|
|
1168
|
+
value: React_2.ReactNode;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
export declare type SummaryOverviewCardFields = [
|
|
1172
|
+
SummaryOverviewCardField,
|
|
1173
|
+
SummaryOverviewCardField,
|
|
1174
|
+
SummaryOverviewCardField,
|
|
1175
|
+
SummaryOverviewCardField,
|
|
1176
|
+
SummaryOverviewCardField,
|
|
1177
|
+
SummaryOverviewCardField,
|
|
1178
|
+
...SummaryOverviewCardField[]
|
|
1179
|
+
];
|
|
1180
|
+
|
|
1181
|
+
export declare interface SummaryOverviewCardProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
1182
|
+
icon: LucideIcon;
|
|
1183
|
+
contentType: string;
|
|
1184
|
+
identifier: React_2.ReactNode;
|
|
1185
|
+
description: string;
|
|
1186
|
+
fields: SummaryOverviewCardFields;
|
|
1187
|
+
actions?: React_2.ReactNode;
|
|
1188
|
+
highlightedHeader?: boolean;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1163
1191
|
export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1164
1192
|
|
|
1165
1193
|
export declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & React_2.RefAttributes<HTMLTableElement>>;
|