randmarcomps 1.102.0 → 1.104.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.
@@ -11,7 +11,6 @@ import { InputProps as InputProps_2 } from './input';
11
11
  import { Inventory } from 'randmar-api-client';
12
12
  import { JSX } from 'react/jsx-runtime';
13
13
  import * as LabelPrimitive from '@radix-ui/react-label';
14
- import { LucideIcon } from 'lucide-react';
15
14
  import { Manufacturer } from 'randmar-api-client';
16
15
  import { MouseEventHandler } from 'react';
17
16
  import { OTPInput } from 'input-otp';
@@ -28,20 +27,6 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
28
27
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
29
28
  import { VariantProps } from 'class-variance-authority';
30
29
 
31
- declare interface ActionItem {
32
- icon: LucideIcon;
33
- label: string;
34
- link?: string;
35
- onClick?: () => void;
36
- }
37
-
38
- declare interface ActionItem_2 {
39
- icon: LucideIcon;
40
- label: string;
41
- link?: string;
42
- onClick?: () => void;
43
- }
44
-
45
30
  export declare function AreaChart({ data, units, unitsPosition, width, height, className }: AreaChartProps): JSX.Element;
46
31
 
47
32
  export declare interface AreaChartProps {
@@ -243,12 +228,12 @@ declare interface LayoutProps {
243
228
  chatRef?: React.Ref<ChatLayoutHandle>;
244
229
  }
245
230
 
246
- export declare function ManufacturerCard({ manufacturer, link, actionItems, loading, }: ManufacturerCardProps): JSX.Element;
231
+ export declare function ManufacturerCard({ manufacturer, link, actions, loading, }: ManufacturerCardProps): JSX.Element;
247
232
 
248
233
  export declare interface ManufacturerCardProps {
249
234
  manufacturer?: Manufacturer;
250
235
  link?: string;
251
- actionItems?: ActionItem[];
236
+ actions?: React.ReactNode;
252
237
  loading?: boolean;
253
238
  }
254
239
 
@@ -323,12 +308,12 @@ declare interface ProductInventoryGridProps {
323
308
  showBinLocation?: boolean;
324
309
  }
325
310
 
326
- export declare function ResellerCard({ reseller, link, actionItems, loading, }: ResellerCardProps): JSX.Element;
311
+ export declare function ResellerCard({ reseller, link, actions, loading, }: ResellerCardProps): JSX.Element;
327
312
 
328
313
  export declare interface ResellerCardProps {
329
314
  reseller?: Reseller;
330
315
  link?: string;
331
- actionItems?: ActionItem_2[];
316
+ actions?: React.ReactNode;
332
317
  loading?: boolean;
333
318
  }
334
319