randmarcomps 1.606.0 → 1.609.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 +46 -0
- package/dist/randmarcomps.js +3062 -2968
- package/dist/randmarcomps.umd.cjs +56 -56
- package/package.json +34 -4
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';
|
|
@@ -834,6 +835,22 @@ export declare function RandmarApiConfigProvider({ swaggerJsonUrl, children, }:
|
|
|
834
835
|
children: ReactNode;
|
|
835
836
|
}): JSX.Element;
|
|
836
837
|
|
|
838
|
+
export declare function RefreshCluster({ lastRefreshAt, onRefresh, onProgressiveRefresh, onAssistantClick, isRefreshing, refreshLabel, assistantLabel, className, disabled, }: RefreshClusterProps): JSX.Element;
|
|
839
|
+
|
|
840
|
+
export declare interface RefreshClusterProps {
|
|
841
|
+
lastRefreshAt?: RefreshDateValue;
|
|
842
|
+
onRefresh?: () => Promise<void> | void;
|
|
843
|
+
onProgressiveRefresh?: (withSpecification: boolean) => Promise<void> | void;
|
|
844
|
+
onAssistantClick: () => void;
|
|
845
|
+
isRefreshing?: boolean;
|
|
846
|
+
refreshLabel?: string;
|
|
847
|
+
assistantLabel?: string;
|
|
848
|
+
className?: string;
|
|
849
|
+
disabled?: boolean;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
declare type RefreshDateValue = Date | string | number | null | undefined;
|
|
853
|
+
|
|
837
854
|
export declare function ResellerBillingOverviewCard({ reseller, actions, loading }: ResellerBillingOverviewCardProps): JSX.Element;
|
|
838
855
|
|
|
839
856
|
declare interface ResellerBillingOverviewCardProps {
|
|
@@ -1125,6 +1142,8 @@ export declare const SidebarMenuSubItem: React_2.ForwardRefExoticComponent<Omit<
|
|
|
1125
1142
|
|
|
1126
1143
|
export declare const SidebarProvider: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
1127
1144
|
defaultOpen?: boolean;
|
|
1145
|
+
defaultOpenMobile?: boolean;
|
|
1146
|
+
isMobileOverride?: boolean;
|
|
1128
1147
|
open?: boolean;
|
|
1129
1148
|
onOpenChange?: (open: boolean) => void;
|
|
1130
1149
|
}, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -1142,6 +1161,33 @@ export declare interface SimpleNode {
|
|
|
1142
1161
|
|
|
1143
1162
|
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
1144
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
|
+
|
|
1145
1191
|
export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1146
1192
|
|
|
1147
1193
|
export declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & React_2.RefAttributes<HTMLTableElement>>;
|