randmarcomps 1.169.0 → 1.171.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 +23 -0
- package/dist/randmarcomps.js +57 -6
- package/dist/randmarcomps.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Account } from 'randmar-api-client';
|
|
2
2
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
3
|
import { ButtonProps as ButtonProps_2 } from './button';
|
|
4
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
4
5
|
import { ClassProp } from 'class-variance-authority/types';
|
|
5
6
|
import { default as default_2 } from 'react';
|
|
6
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
@@ -49,6 +50,14 @@ export declare interface AiGeneratedContentProps {
|
|
|
49
50
|
smartAndSlow?: boolean;
|
|
50
51
|
}
|
|
51
52
|
|
|
53
|
+
export declare const Alert: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
54
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
55
|
+
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
|
|
57
|
+
export declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
58
|
+
|
|
59
|
+
export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
60
|
+
|
|
52
61
|
declare interface ApiKeyContextType {
|
|
53
62
|
apiKey: string | null;
|
|
54
63
|
}
|
|
@@ -133,6 +142,8 @@ export declare interface ChatLayoutProps {
|
|
|
133
142
|
inputRef?: React.RefObject<HTMLTextAreaElement | null>;
|
|
134
143
|
}
|
|
135
144
|
|
|
145
|
+
export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
146
|
+
|
|
136
147
|
export declare interface ConfirmationDialogProps {
|
|
137
148
|
title: string;
|
|
138
149
|
content: React_2.ReactNode;
|
|
@@ -422,10 +433,22 @@ export declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAre
|
|
|
422
433
|
|
|
423
434
|
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
424
435
|
|
|
436
|
+
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
437
|
+
|
|
438
|
+
export declare const SelectGroup: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
439
|
+
|
|
440
|
+
export declare const SelectItem: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
441
|
+
|
|
442
|
+
export declare const SelectLabel: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
443
|
+
|
|
425
444
|
export declare const SelectScrollDownButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
426
445
|
|
|
427
446
|
export declare const SelectScrollUpButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
428
447
|
|
|
448
|
+
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
449
|
+
|
|
450
|
+
export declare const SelectValue: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
451
|
+
|
|
429
452
|
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
430
453
|
|
|
431
454
|
export declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
|
package/dist/randmarcomps.js
CHANGED
|
@@ -7363,7 +7363,7 @@ function isPointerInGraceArea(e, t) {
|
|
|
7363
7363
|
function whenMouse(e) {
|
|
7364
7364
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
7365
7365
|
}
|
|
7366
|
-
var Root3$1 = Menu, Anchor2 = MenuAnchor, Portal$2 = MenuPortal, Content2$3 = MenuContent, Group = MenuGroup, Label$4 = MenuLabel, Item2$1 = MenuItem, CheckboxItem = MenuCheckboxItem, RadioGroup = MenuRadioGroup, RadioItem = MenuRadioItem, ItemIndicator$1 = MenuItemIndicator, Separator$3 = MenuSeparator, Arrow2 = MenuArrow, Sub = MenuSub, SubTrigger = MenuSubTrigger, SubContent = MenuSubContent, DROPDOWN_MENU_NAME = "DropdownMenu", [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(
|
|
7366
|
+
var Root3$1 = Menu, Anchor2 = MenuAnchor, Portal$2 = MenuPortal, Content2$3 = MenuContent, Group$1 = MenuGroup, Label$4 = MenuLabel, Item2$1 = MenuItem, CheckboxItem = MenuCheckboxItem, RadioGroup = MenuRadioGroup, RadioItem = MenuRadioItem, ItemIndicator$1 = MenuItemIndicator, Separator$3 = MenuSeparator, Arrow2 = MenuArrow, Sub = MenuSub, SubTrigger = MenuSubTrigger, SubContent = MenuSubContent, DROPDOWN_MENU_NAME = "DropdownMenu", [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(
|
|
7367
7367
|
DROPDOWN_MENU_NAME,
|
|
7368
7368
|
[createMenuScope]
|
|
7369
7369
|
), useMenuScope = createMenuScope(), [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME), DropdownMenu$1 = (e) => {
|
|
@@ -7464,7 +7464,7 @@ DropdownMenuContent$1.displayName = CONTENT_NAME$3;
|
|
|
7464
7464
|
var GROUP_NAME$1 = "DropdownMenuGroup", DropdownMenuGroup$1 = React.forwardRef(
|
|
7465
7465
|
(e, t) => {
|
|
7466
7466
|
const { __scopeDropdownMenu: n, ...o } = e, l = useMenuScope(n);
|
|
7467
|
-
return /* @__PURE__ */ jsx(Group, { ...l, ...o, ref: t });
|
|
7467
|
+
return /* @__PURE__ */ jsx(Group$1, { ...l, ...o, ref: t });
|
|
7468
7468
|
}
|
|
7469
7469
|
);
|
|
7470
7470
|
DropdownMenuGroup$1.displayName = GROUP_NAME$1;
|
|
@@ -60339,13 +60339,13 @@ var [SelectViewportProvider, useSelectViewportContext] = createSelectContext(CON
|
|
|
60339
60339
|
}
|
|
60340
60340
|
);
|
|
60341
60341
|
SelectViewport.displayName = VIEWPORT_NAME;
|
|
60342
|
-
var GROUP_NAME = "SelectGroup", [SelectGroupContextProvider, useSelectGroupContext] = createSelectContext(GROUP_NAME), SelectGroup = React.forwardRef(
|
|
60342
|
+
var GROUP_NAME = "SelectGroup", [SelectGroupContextProvider, useSelectGroupContext] = createSelectContext(GROUP_NAME), SelectGroup$1 = React.forwardRef(
|
|
60343
60343
|
(e, t) => {
|
|
60344
60344
|
const { __scopeSelect: n, ...o } = e, l = useId();
|
|
60345
60345
|
return /* @__PURE__ */ jsx(SelectGroupContextProvider, { scope: n, id: l, children: /* @__PURE__ */ jsx(Primitive.div, { role: "group", "aria-labelledby": l, ...o, ref: t }) });
|
|
60346
60346
|
}
|
|
60347
60347
|
);
|
|
60348
|
-
SelectGroup.displayName = GROUP_NAME;
|
|
60348
|
+
SelectGroup$1.displayName = GROUP_NAME;
|
|
60349
60349
|
var LABEL_NAME = "SelectLabel", SelectLabel$1 = React.forwardRef(
|
|
60350
60350
|
(e, t) => {
|
|
60351
60351
|
const { __scopeSelect: n, ...o } = e, l = useSelectGroupContext(LABEL_NAME, n);
|
|
@@ -60609,8 +60609,8 @@ function findNextItem(e, t, n) {
|
|
|
60609
60609
|
function wrapArray(e, t) {
|
|
60610
60610
|
return e.map((n, o) => e[(t + o) % e.length]);
|
|
60611
60611
|
}
|
|
60612
|
-
var Root2 = Select$1, Trigger = SelectTrigger$1, Value = SelectValue$1, Icon = SelectIcon, Portal = SelectPortal, Content2 = SelectContent$1, Viewport = SelectViewport, Label = SelectLabel$1, Item = SelectItem$1, ItemText = SelectItemText, ItemIndicator = SelectItemIndicator, ScrollUpButton = SelectScrollUpButton$1, ScrollDownButton = SelectScrollDownButton$1, Separator = SelectSeparator$1;
|
|
60613
|
-
const Select = Root2, SelectValue = Value, SelectTrigger = React.forwardRef(({ className: e, children: t, ...n }, o) => /* @__PURE__ */ jsxs(
|
|
60612
|
+
var Root2 = Select$1, Trigger = SelectTrigger$1, Value = SelectValue$1, Icon = SelectIcon, Portal = SelectPortal, Content2 = SelectContent$1, Viewport = SelectViewport, Group = SelectGroup$1, Label = SelectLabel$1, Item = SelectItem$1, ItemText = SelectItemText, ItemIndicator = SelectItemIndicator, ScrollUpButton = SelectScrollUpButton$1, ScrollDownButton = SelectScrollDownButton$1, Separator = SelectSeparator$1;
|
|
60613
|
+
const Select = Root2, SelectGroup = Group, SelectValue = Value, SelectTrigger = React.forwardRef(({ className: e, children: t, ...n }, o) => /* @__PURE__ */ jsxs(
|
|
60614
60614
|
Trigger,
|
|
60615
60615
|
{
|
|
60616
60616
|
ref: o,
|
|
@@ -61636,9 +61636,53 @@ function ManufacturerGetStartedButton({
|
|
|
61636
61636
|
] }) })
|
|
61637
61637
|
] });
|
|
61638
61638
|
}
|
|
61639
|
+
const alertVariants = cva(
|
|
61640
|
+
"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
|
|
61641
|
+
{
|
|
61642
|
+
variants: {
|
|
61643
|
+
variant: {
|
|
61644
|
+
default: "bg-background text-foreground",
|
|
61645
|
+
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
|
|
61646
|
+
}
|
|
61647
|
+
},
|
|
61648
|
+
defaultVariants: {
|
|
61649
|
+
variant: "default"
|
|
61650
|
+
}
|
|
61651
|
+
}
|
|
61652
|
+
), Alert = React.forwardRef(({ className: e, variant: t, ...n }, o) => /* @__PURE__ */ jsx(
|
|
61653
|
+
"div",
|
|
61654
|
+
{
|
|
61655
|
+
ref: o,
|
|
61656
|
+
role: "alert",
|
|
61657
|
+
className: cn(alertVariants({ variant: t }), e),
|
|
61658
|
+
...n
|
|
61659
|
+
}
|
|
61660
|
+
));
|
|
61661
|
+
Alert.displayName = "Alert";
|
|
61662
|
+
const AlertTitle = React.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ jsx(
|
|
61663
|
+
"h5",
|
|
61664
|
+
{
|
|
61665
|
+
ref: n,
|
|
61666
|
+
className: cn("mb-1 font-medium leading-none tracking-tight", e),
|
|
61667
|
+
...t
|
|
61668
|
+
}
|
|
61669
|
+
));
|
|
61670
|
+
AlertTitle.displayName = "AlertTitle";
|
|
61671
|
+
const AlertDescription = React.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ jsx(
|
|
61672
|
+
"div",
|
|
61673
|
+
{
|
|
61674
|
+
ref: n,
|
|
61675
|
+
className: cn("text-sm [&_p]:leading-relaxed", e),
|
|
61676
|
+
...t
|
|
61677
|
+
}
|
|
61678
|
+
));
|
|
61679
|
+
AlertDescription.displayName = "AlertDescription";
|
|
61639
61680
|
export {
|
|
61640
61681
|
ActiveOrdersCard,
|
|
61641
61682
|
AiGeneratedContent,
|
|
61683
|
+
Alert,
|
|
61684
|
+
AlertDescription,
|
|
61685
|
+
AlertTitle,
|
|
61642
61686
|
ApiKeyProvider,
|
|
61643
61687
|
AreaChart,
|
|
61644
61688
|
Avatar,
|
|
@@ -61654,6 +61698,7 @@ export {
|
|
|
61654
61698
|
CardHeader,
|
|
61655
61699
|
CardTitle,
|
|
61656
61700
|
ChatLayout,
|
|
61701
|
+
Checkbox,
|
|
61657
61702
|
CountryFlag,
|
|
61658
61703
|
Dialog,
|
|
61659
61704
|
DialogClose,
|
|
@@ -61704,8 +61749,14 @@ export {
|
|
|
61704
61749
|
ScrollArea,
|
|
61705
61750
|
ScrollBar,
|
|
61706
61751
|
Select,
|
|
61752
|
+
SelectContent,
|
|
61753
|
+
SelectGroup,
|
|
61754
|
+
SelectItem,
|
|
61755
|
+
SelectLabel,
|
|
61707
61756
|
SelectScrollDownButton,
|
|
61708
61757
|
SelectScrollUpButton,
|
|
61758
|
+
SelectTrigger,
|
|
61759
|
+
SelectValue,
|
|
61709
61760
|
Separator$1 as Separator,
|
|
61710
61761
|
Sheet,
|
|
61711
61762
|
SheetClose,
|