randmarcomps 1.183.0 → 1.186.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.
@@ -5,6 +5,7 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
5
5
  import { ClassProp } from 'class-variance-authority/types';
6
6
  import { default as default_2 } from 'react';
7
7
  import * as DialogPrimitive from '@radix-ui/react-dialog';
8
+ import { DialogProps } from '@radix-ui/react-dialog';
8
9
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
9
10
  import { FC } from 'react';
10
11
  import { ForwardRefExoticComponent } from 'react';
@@ -17,6 +18,7 @@ import { Manufacturer } from 'randmar-api-client';
17
18
  import { MouseEventHandler } from 'react';
18
19
  import { OrderDetail } from 'randmar-api-client';
19
20
  import { OTPInput } from 'input-otp';
21
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
20
22
  import { Product } from 'randmar-api-client';
21
23
  import { Qualification } from 'randmar-api-client';
22
24
  import * as React_2 from 'react';
@@ -153,6 +155,92 @@ export declare const ChatProvider: default_2.FC<{
153
155
 
154
156
  export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
155
157
 
158
+ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
159
+ children?: React_2.ReactNode;
160
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
161
+ ref?: React_2.Ref<HTMLDivElement>;
162
+ } & {
163
+ asChild?: boolean;
164
+ }, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
165
+ label?: string;
166
+ shouldFilter?: boolean;
167
+ filter?: (value: string, search: string, keywords?: string[]) => number;
168
+ defaultValue?: string;
169
+ value?: string;
170
+ onValueChange?: (value: string) => void;
171
+ loop?: boolean;
172
+ disablePointerSelection?: boolean;
173
+ vimBindings?: boolean;
174
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
175
+
176
+ export declare const CommandDialog: ({ children, ...props }: DialogProps) => JSX.Element;
177
+
178
+ export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
179
+ children?: React_2.ReactNode;
180
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
181
+ ref?: React_2.Ref<HTMLDivElement>;
182
+ } & {
183
+ asChild?: boolean;
184
+ }, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
185
+
186
+ export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
187
+ children?: React_2.ReactNode;
188
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
189
+ ref?: React_2.Ref<HTMLDivElement>;
190
+ } & {
191
+ asChild?: boolean;
192
+ }, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
193
+ heading?: React_2.ReactNode;
194
+ value?: string;
195
+ forceMount?: boolean;
196
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
197
+
198
+ export declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof React_2.InputHTMLAttributes<HTMLInputElement> | "key"> & {
199
+ ref?: React_2.Ref<HTMLInputElement>;
200
+ } & {
201
+ asChild?: boolean;
202
+ }, keyof React_2.InputHTMLAttributes<HTMLInputElement> | "key" | "asChild">, "type" | "value" | "onChange"> & {
203
+ value?: string;
204
+ onValueChange?: (search: string) => void;
205
+ } & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
206
+
207
+ export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
208
+ children?: React_2.ReactNode;
209
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
210
+ ref?: React_2.Ref<HTMLDivElement>;
211
+ } & {
212
+ asChild?: boolean;
213
+ }, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "disabled" | "value" | "onSelect"> & {
214
+ disabled?: boolean;
215
+ onSelect?: (value: string) => void;
216
+ value?: string;
217
+ keywords?: string[];
218
+ forceMount?: boolean;
219
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
220
+
221
+ export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
222
+ children?: React_2.ReactNode;
223
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
224
+ ref?: React_2.Ref<HTMLDivElement>;
225
+ } & {
226
+ asChild?: boolean;
227
+ }, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
228
+ label?: string;
229
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
230
+
231
+ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
232
+ ref?: React_2.Ref<HTMLDivElement>;
233
+ } & {
234
+ asChild?: boolean;
235
+ }, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
236
+ alwaysRender?: boolean;
237
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
238
+
239
+ export declare const CommandShortcut: {
240
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
241
+ displayName: string;
242
+ };
243
+
156
244
  export declare interface ConfirmationDialogProps {
157
245
  title: string;
158
246
  content: React_2.ReactNode;
@@ -332,6 +420,15 @@ declare interface ManufacturerReorderingCardProps {
332
420
 
333
421
  declare type MaskType = "phone" | "postal-code-ca" | "zip-code-us";
334
422
 
423
+ export declare function MultiSelect({ options, selected, onChange, placeholder }: MultiSelectProps): JSX.Element;
424
+
425
+ declare interface MultiSelectProps {
426
+ options: string[];
427
+ selected: string[];
428
+ onChange: (selected: string[]) => void;
429
+ placeholder?: string;
430
+ }
431
+
335
432
  export declare const Navbar: default_2.ForwardRefExoticComponent<NavbarProps & default_2.RefAttributes<ChatLayoutHandle | null>>;
336
433
 
337
434
  export declare interface NavbarProps {
@@ -360,6 +457,14 @@ declare interface PartnerCardProps {
360
457
  withVoice?: boolean;
361
458
  }
362
459
 
460
+ export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
461
+
462
+ export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
463
+
464
+ export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
465
+
466
+ export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
467
+
363
468
  export declare function Preloader({ text, color, className }: PreloaderProps): JSX.Element;
364
469
 
365
470
  export declare interface PreloaderProps {