randmarcomps 1.168.0 → 1.170.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 +15 -0
- package/dist/randmarcomps.js +14 -7
- 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';
|
|
@@ -133,6 +134,8 @@ export declare interface ChatLayoutProps {
|
|
|
133
134
|
inputRef?: React.RefObject<HTMLTextAreaElement | null>;
|
|
134
135
|
}
|
|
135
136
|
|
|
137
|
+
export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
138
|
+
|
|
136
139
|
export declare interface ConfirmationDialogProps {
|
|
137
140
|
title: string;
|
|
138
141
|
content: React_2.ReactNode;
|
|
@@ -422,10 +425,22 @@ export declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAre
|
|
|
422
425
|
|
|
423
426
|
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
424
427
|
|
|
428
|
+
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
429
|
+
|
|
430
|
+
export declare const SelectGroup: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
431
|
+
|
|
432
|
+
export declare const SelectItem: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
433
|
+
|
|
434
|
+
export declare const SelectLabel: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
435
|
+
|
|
425
436
|
export declare const SelectScrollDownButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
426
437
|
|
|
427
438
|
export declare const SelectScrollUpButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
428
439
|
|
|
440
|
+
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
441
|
+
|
|
442
|
+
export declare const SelectValue: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
443
|
+
|
|
429
444
|
export declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
430
445
|
|
|
431
446
|
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,
|
|
@@ -61628,7 +61628,7 @@ function ManufacturerGetStartedButton({
|
|
|
61628
61628
|
) }),
|
|
61629
61629
|
L && /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-destructive", children: L })
|
|
61630
61630
|
] }),
|
|
61631
|
-
/* @__PURE__ */ jsx(DialogFooter, { children: /* @__PURE__ */ jsx(Button, { type: "submit", disabled: t,
|
|
61631
|
+
/* @__PURE__ */ jsx(DialogFooter, { children: /* @__PURE__ */ jsx(Button, { type: "submit", disabled: t, children: t ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
61632
61632
|
/* @__PURE__ */ jsx(LoaderCircle, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
61633
61633
|
"Processing..."
|
|
61634
61634
|
] }) : "Submit" }) })
|
|
@@ -61654,6 +61654,7 @@ export {
|
|
|
61654
61654
|
CardHeader,
|
|
61655
61655
|
CardTitle,
|
|
61656
61656
|
ChatLayout,
|
|
61657
|
+
Checkbox,
|
|
61657
61658
|
CountryFlag,
|
|
61658
61659
|
Dialog,
|
|
61659
61660
|
DialogClose,
|
|
@@ -61704,8 +61705,14 @@ export {
|
|
|
61704
61705
|
ScrollArea,
|
|
61705
61706
|
ScrollBar,
|
|
61706
61707
|
Select,
|
|
61708
|
+
SelectContent,
|
|
61709
|
+
SelectGroup,
|
|
61710
|
+
SelectItem,
|
|
61711
|
+
SelectLabel,
|
|
61707
61712
|
SelectScrollDownButton,
|
|
61708
61713
|
SelectScrollUpButton,
|
|
61714
|
+
SelectTrigger,
|
|
61715
|
+
SelectValue,
|
|
61709
61716
|
Separator$1 as Separator,
|
|
61710
61717
|
Sheet,
|
|
61711
61718
|
SheetClose,
|