randmarcomps 1.203.0 → 1.205.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 +16 -17
- package/dist/randmarcomps.js +21246 -21351
- package/dist/randmarcomps.umd.cjs +103 -103
- package/package.json +2 -2
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
25
25
|
import * as React_2 from 'react';
|
|
26
26
|
import { ReactNode } from 'react';
|
|
27
27
|
import { RefAttributes } from 'react';
|
|
28
|
-
import { Reseller
|
|
28
|
+
import { Reseller } from 'randmar-api-client';
|
|
29
29
|
import { SalesData } from 'randmar-api-client';
|
|
30
30
|
import { SalesStatistic } from 'randmar-api-client';
|
|
31
31
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
@@ -105,7 +105,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
export declare const badgeVariants: (props?: ({
|
|
108
|
-
variant?: "default" | "destructive" | "
|
|
108
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "randmarRed" | "randmarBlue" | "randmarPurple" | "randmarGreen" | "randmarBlack" | "randmarYellow" | null | undefined;
|
|
109
109
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
110
110
|
} & ClassProp) | undefined) => string;
|
|
111
111
|
|
|
@@ -117,7 +117,7 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
export declare const buttonVariants: (props?: ({
|
|
120
|
-
variant?: "link" | "default" | "none" | "destructive" | "
|
|
120
|
+
variant?: "link" | "default" | "none" | "destructive" | "outline" | "defaultOutline" | "secondary" | "ghost" | "blue" | "red" | "purple" | null | undefined;
|
|
121
121
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
122
122
|
} & ClassProp) | undefined) => string;
|
|
123
123
|
|
|
@@ -163,7 +163,7 @@ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
163
163
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
164
164
|
} & {
|
|
165
165
|
asChild?: boolean;
|
|
166
|
-
}, "key" |
|
|
166
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
167
167
|
label?: string;
|
|
168
168
|
shouldFilter?: boolean;
|
|
169
169
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -183,7 +183,7 @@ export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
183
183
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
184
184
|
} & {
|
|
185
185
|
asChild?: boolean;
|
|
186
|
-
}, "key" |
|
|
186
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
187
187
|
|
|
188
188
|
export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
189
189
|
children?: React_2.ReactNode;
|
|
@@ -191,7 +191,7 @@ export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
191
191
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
192
192
|
} & {
|
|
193
193
|
asChild?: boolean;
|
|
194
|
-
}, "key" |
|
|
194
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
195
195
|
heading?: React_2.ReactNode;
|
|
196
196
|
value?: string;
|
|
197
197
|
forceMount?: boolean;
|
|
@@ -212,7 +212,7 @@ export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
212
212
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
213
213
|
} & {
|
|
214
214
|
asChild?: boolean;
|
|
215
|
-
}, "key" |
|
|
215
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "disabled" | "value" | "onSelect"> & {
|
|
216
216
|
disabled?: boolean;
|
|
217
217
|
onSelect?: (value: string) => void;
|
|
218
218
|
value?: string;
|
|
@@ -226,7 +226,7 @@ export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
226
226
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
227
227
|
} & {
|
|
228
228
|
asChild?: boolean;
|
|
229
|
-
}, "key" |
|
|
229
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
230
230
|
label?: string;
|
|
231
231
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
232
232
|
|
|
@@ -234,7 +234,7 @@ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pi
|
|
|
234
234
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
235
235
|
} & {
|
|
236
236
|
asChild?: boolean;
|
|
237
|
-
}, "key" |
|
|
237
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
238
238
|
alwaysRender?: boolean;
|
|
239
239
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
240
240
|
|
|
@@ -367,10 +367,9 @@ export declare interface InputProps extends Omit<React_2.ComponentProps<"input">
|
|
|
367
367
|
declare interface IProps {
|
|
368
368
|
appID: string;
|
|
369
369
|
readonly: boolean;
|
|
370
|
-
payInvoicePath?: string;
|
|
371
370
|
userEmail: string;
|
|
372
371
|
isSuperAdmin: boolean;
|
|
373
|
-
reseller?:
|
|
372
|
+
reseller?: Reseller;
|
|
374
373
|
withoutReports?: boolean;
|
|
375
374
|
}
|
|
376
375
|
|
|
@@ -516,12 +515,10 @@ export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGro
|
|
|
516
515
|
|
|
517
516
|
export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
518
517
|
|
|
519
|
-
export declare function Reseller({ appID, reseller, readonly, payInvoicePath, userEmail, isSuperAdmin, withoutReports }: IProps): JSX.Element;
|
|
520
|
-
|
|
521
518
|
export declare function ResellerBillingOverviewCard({ reseller, actions, loading }: ResellerBillingOverviewCardProps): JSX.Element;
|
|
522
519
|
|
|
523
520
|
declare interface ResellerBillingOverviewCardProps {
|
|
524
|
-
reseller?:
|
|
521
|
+
reseller?: Reseller;
|
|
525
522
|
actions?: default_2.ReactNode;
|
|
526
523
|
loading?: boolean;
|
|
527
524
|
}
|
|
@@ -529,12 +526,14 @@ declare interface ResellerBillingOverviewCardProps {
|
|
|
529
526
|
export declare function ResellerCard({ reseller, link, actions, loading, }: ResellerCardProps): JSX.Element;
|
|
530
527
|
|
|
531
528
|
export declare interface ResellerCardProps {
|
|
532
|
-
reseller?:
|
|
529
|
+
reseller?: Reseller;
|
|
533
530
|
link?: string;
|
|
534
531
|
actions?: React.ReactNode;
|
|
535
532
|
loading?: boolean;
|
|
536
533
|
}
|
|
537
534
|
|
|
535
|
+
export declare function ResellerOverview({ appID, reseller, readonly, userEmail, isSuperAdmin, withoutReports }: IProps): JSX.Element;
|
|
536
|
+
|
|
538
537
|
export declare function ResellerQualificationsCard({ qualifications, loading }: ResellerQualificationsCardProps): JSX.Element;
|
|
539
538
|
|
|
540
539
|
declare interface ResellerQualificationsCardProps {
|
|
@@ -608,7 +607,7 @@ export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
608
607
|
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
609
608
|
|
|
610
609
|
declare const sheetVariants: (props?: ({
|
|
611
|
-
side?: "
|
|
610
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
612
611
|
} & ClassProp) | undefined) => string;
|
|
613
612
|
|
|
614
613
|
export declare const Sidebar: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -728,7 +727,7 @@ export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPri
|
|
|
728
727
|
export declare const Textarea: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
729
728
|
|
|
730
729
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
731
|
-
variant?: "default" | "destructive" | "
|
|
730
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
|
|
732
731
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
|
|
733
732
|
|
|
734
733
|
export declare function toast({ ...props }: Toast_2): {
|