randmarcomps 1.190.0 → 1.192.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 -13
- package/dist/randmarcomps.js +23197 -20157
- package/dist/randmarcomps.umd.cjs +191 -135
- package/package.json +4 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -21,10 +21,11 @@ import { OTPInput } from 'input-otp';
|
|
|
21
21
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
22
22
|
import { Product } from 'randmar-api-client';
|
|
23
23
|
import { Qualification } from 'randmar-api-client';
|
|
24
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
24
25
|
import * as React_2 from 'react';
|
|
25
26
|
import { ReactNode } from 'react';
|
|
26
27
|
import { RefAttributes } from 'react';
|
|
27
|
-
import { Reseller } from 'randmar-api-client';
|
|
28
|
+
import { Reseller as Reseller_2 } from 'randmar-api-client';
|
|
28
29
|
import { SalesData } from 'randmar-api-client';
|
|
29
30
|
import { SalesStatistic } from 'randmar-api-client';
|
|
30
31
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
@@ -103,7 +104,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
export declare const badgeVariants: (props?: ({
|
|
106
|
-
variant?: "default" | "destructive" | "
|
|
107
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | "secondary" | "outline" | "ghost" | "randmarRed" | "randmarBlue" | "randmarPurple" | "randmarGreen" | "randmarBlack" | "randmarYellow" | null | undefined;
|
|
107
108
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
108
109
|
} & ClassProp) | undefined) => string;
|
|
109
110
|
|
|
@@ -115,7 +116,7 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
|
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
export declare const buttonVariants: (props?: ({
|
|
118
|
-
variant?: "link" | "default" | "none" | "destructive" | "
|
|
119
|
+
variant?: "link" | "default" | "none" | "destructive" | "secondary" | "outline" | "defaultOutline" | "ghost" | "blue" | "red" | "purple" | null | undefined;
|
|
119
120
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
120
121
|
} & ClassProp) | undefined) => string;
|
|
121
122
|
|
|
@@ -161,7 +162,7 @@ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
161
162
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
162
163
|
} & {
|
|
163
164
|
asChild?: boolean;
|
|
164
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement
|
|
165
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
165
166
|
label?: string;
|
|
166
167
|
shouldFilter?: boolean;
|
|
167
168
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -181,7 +182,7 @@ export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
181
182
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
182
183
|
} & {
|
|
183
184
|
asChild?: boolean;
|
|
184
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement
|
|
185
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
185
186
|
|
|
186
187
|
export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
187
188
|
children?: React_2.ReactNode;
|
|
@@ -189,7 +190,7 @@ export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
189
190
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
190
191
|
} & {
|
|
191
192
|
asChild?: boolean;
|
|
192
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement
|
|
193
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
193
194
|
heading?: React_2.ReactNode;
|
|
194
195
|
value?: string;
|
|
195
196
|
forceMount?: boolean;
|
|
@@ -210,7 +211,7 @@ export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
210
211
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
211
212
|
} & {
|
|
212
213
|
asChild?: boolean;
|
|
213
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement
|
|
214
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
214
215
|
disabled?: boolean;
|
|
215
216
|
onSelect?: (value: string) => void;
|
|
216
217
|
value?: string;
|
|
@@ -224,7 +225,7 @@ export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
224
225
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
225
226
|
} & {
|
|
226
227
|
asChild?: boolean;
|
|
227
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement
|
|
228
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
228
229
|
label?: string;
|
|
229
230
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
230
231
|
|
|
@@ -232,7 +233,7 @@ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pi
|
|
|
232
233
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
233
234
|
} & {
|
|
234
235
|
asChild?: boolean;
|
|
235
|
-
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement
|
|
236
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
236
237
|
alwaysRender?: boolean;
|
|
237
238
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
238
239
|
|
|
@@ -370,6 +371,14 @@ declare interface IntroduceYourselfFormValues {
|
|
|
370
371
|
otherMarket: string;
|
|
371
372
|
}
|
|
372
373
|
|
|
374
|
+
declare interface IProps {
|
|
375
|
+
appID: string;
|
|
376
|
+
readonly: boolean;
|
|
377
|
+
payInvoicePath?: string;
|
|
378
|
+
userEmail: string;
|
|
379
|
+
isSuperAdmin: boolean;
|
|
380
|
+
}
|
|
381
|
+
|
|
373
382
|
export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
|
|
374
383
|
|
|
375
384
|
export declare const Layout: ForwardRefExoticComponent<LayoutProps & RefAttributes<HTMLInputElement>>;
|
|
@@ -513,10 +522,16 @@ declare interface QualificationFormValues {
|
|
|
513
522
|
qualificationId: string;
|
|
514
523
|
}
|
|
515
524
|
|
|
525
|
+
export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
526
|
+
|
|
527
|
+
export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
528
|
+
|
|
529
|
+
export declare function Reseller({ appID, readonly, payInvoicePath, userEmail, isSuperAdmin }: IProps): JSX.Element;
|
|
530
|
+
|
|
516
531
|
export declare function ResellerBillingOverviewCard({ reseller, actions, loading }: ResellerBillingOverviewCardProps): JSX.Element;
|
|
517
532
|
|
|
518
533
|
declare interface ResellerBillingOverviewCardProps {
|
|
519
|
-
reseller?:
|
|
534
|
+
reseller?: Reseller_2;
|
|
520
535
|
actions?: default_2.ReactNode;
|
|
521
536
|
loading?: boolean;
|
|
522
537
|
}
|
|
@@ -524,7 +539,7 @@ declare interface ResellerBillingOverviewCardProps {
|
|
|
524
539
|
export declare function ResellerCard({ reseller, link, actions, loading, }: ResellerCardProps): JSX.Element;
|
|
525
540
|
|
|
526
541
|
export declare interface ResellerCardProps {
|
|
527
|
-
reseller?:
|
|
542
|
+
reseller?: Reseller_2;
|
|
528
543
|
link?: string;
|
|
529
544
|
actions?: React.ReactNode;
|
|
530
545
|
loading?: boolean;
|
|
@@ -603,7 +618,7 @@ export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
603
618
|
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
604
619
|
|
|
605
620
|
declare const sheetVariants: (props?: ({
|
|
606
|
-
side?: "
|
|
621
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
607
622
|
} & ClassProp) | undefined) => string;
|
|
608
623
|
|
|
609
624
|
export declare const Sidebar: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -723,7 +738,7 @@ export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPri
|
|
|
723
738
|
export declare const Textarea: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
724
739
|
|
|
725
740
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
726
|
-
variant?: "default" | "destructive" | "
|
|
741
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | "secondary" | "outline" | null | undefined;
|
|
727
742
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
|
|
728
743
|
|
|
729
744
|
export declare function toast({ ...props }: Toast_2): {
|