randmarcomps 1.99.0 → 1.101.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.
@@ -1,3 +1,4 @@
1
+ import { Account } from 'randmar-api-client';
1
2
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
2
3
  import { ButtonProps as ButtonProps_2 } from './button';
3
4
  import { ClassProp } from 'class-variance-authority/types';
@@ -242,13 +243,13 @@ declare interface LayoutProps {
242
243
  chatRef?: React.Ref<ChatLayoutHandle>;
243
244
  }
244
245
 
245
- export declare function ManufacturerCard({ manufacturer, goToManufacturerLink, actionItems, isLoading, }: ManufacturerCardProps): JSX.Element;
246
+ export declare function ManufacturerCard({ manufacturer, link, actionItems, loading, }: ManufacturerCardProps): JSX.Element;
246
247
 
247
- declare interface ManufacturerCardProps {
248
- manufacturer: Manufacturer;
249
- goToManufacturerLink: string;
248
+ export declare interface ManufacturerCardProps {
249
+ manufacturer?: Manufacturer;
250
+ link?: string;
250
251
  actionItems?: ActionItem[];
251
- isLoading?: boolean;
252
+ loading?: boolean;
252
253
  }
253
254
 
254
255
  declare type MaskType = "phone" | "postal-code-ca" | "zip-code-us";
@@ -272,15 +273,10 @@ export declare interface NavRoute {
272
273
  showInNav?: boolean;
273
274
  }
274
275
 
275
- export declare function PartnerCard({ id, name, about, voiceName, voiceStyle, sceneName, action, loading, }: PartnerCardProps): JSX.Element;
276
+ export declare function PartnerCard({ account, action, loading, }: PartnerCardProps): JSX.Element;
276
277
 
277
278
  declare interface PartnerCardProps {
278
- id: string;
279
- name: string;
280
- about: string;
281
- voiceName?: string;
282
- voiceStyle?: string;
283
- sceneName?: string;
279
+ account?: Account;
284
280
  action?: ReactNode;
285
281
  loading?: boolean;
286
282
  }
@@ -327,13 +323,13 @@ declare interface ProductInventoryGridProps {
327
323
  showBinLocation?: boolean;
328
324
  }
329
325
 
330
- export declare function ResellerCard({ reseller, goToResellerLink, actionItems, isLoading, }: ResellerCardProps): JSX.Element;
326
+ export declare function ResellerCard({ reseller, link, actionItems, loading, }: ResellerCardProps): JSX.Element;
331
327
 
332
- declare interface ResellerCardProps {
333
- reseller: Reseller;
334
- goToResellerLink: string;
328
+ export declare interface ResellerCardProps {
329
+ reseller?: Reseller;
330
+ link?: string;
335
331
  actionItems?: ActionItem_2[];
336
- isLoading?: boolean;
332
+ loading?: boolean;
337
333
  }
338
334
 
339
335
  export declare const ScrollArea: React_2.ForwardRefExoticComponent<ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>>;