randmarcomps 1.646.0 → 1.650.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.
@@ -15,7 +15,7 @@ import { ForwardRefExoticComponent } from 'react';
15
15
  import { GeneralDocumentOld } from 'randmar-api-client';
16
16
  import { GoogleChartOptions } from 'react-google-charts';
17
17
  import { Inventory } from 'randmar-api-client';
18
- import { JSX } from 'react/jsx-runtime';
18
+ import { JSX } from 'react';
19
19
  import * as LabelPrimitive from '@radix-ui/react-label';
20
20
  import { LucideIcon } from 'lucide-react';
21
21
  import { Manufacturer } from 'randmar-api-client';
@@ -103,12 +103,12 @@ export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<
103
103
  export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
104
104
 
105
105
  export declare const AlertDialogFooter: {
106
- ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
106
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
107
107
  displayName: string;
108
108
  };
109
109
 
110
110
  export declare const AlertDialogHeader: {
111
- ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
111
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
112
112
  displayName: string;
113
113
  };
114
114
 
@@ -118,7 +118,7 @@ export declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<Alert
118
118
 
119
119
  export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
120
120
 
121
- export declare function ApiImage({ path, origin, ...props }: ApiImageProps): JSX.Element;
121
+ export declare function ApiImage({ path, origin, ...props }: ApiImageProps): React_2.JSX.Element;
122
122
 
123
123
  export declare type ApiImageProps = Omit<React_2.ImgHTMLAttributes<HTMLImageElement>, "src" | "alt"> & {
124
124
  path: string;
@@ -209,7 +209,7 @@ export declare const buttonVariants: (props?: ({
209
209
 
210
210
  export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker> & {
211
211
  buttonVariant?: React_2.ComponentProps<typeof Button>["variant"];
212
- }): JSX.Element;
212
+ }): React_2.JSX.Element;
213
213
 
214
214
  export declare const Card: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
215
215
 
@@ -246,7 +246,7 @@ export declare const ChatProvider: default_2.FC<{
246
246
 
247
247
  export declare const Checkbox: React_2.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
248
248
 
249
- export declare function CheckboxCardList({ items, selectedIds, onSelectedIdsChange, disabled, loading, selectionMode, layout, gridColumns, emptyState, loadingState, getItemAriaLabel, renderItem, className, ...props }: CheckboxCardListProps): JSX.Element;
249
+ export declare function CheckboxCardList({ items, selectedIds, onSelectedIdsChange, disabled, loading, selectionMode, layout, gridColumns, emptyState, loadingState, getItemAriaLabel, renderItem, className, ...props }: CheckboxCardListProps): React_2.JSX.Element;
250
250
 
251
251
  export declare interface CheckboxCardListItem {
252
252
  id: string;
@@ -296,7 +296,7 @@ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
296
296
  vimBindings?: boolean;
297
297
  } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
298
298
 
299
- export declare const CommandDialog: ({ children, ...props }: DialogProps) => JSX.Element;
299
+ export declare const CommandDialog: ({ children, ...props }: DialogProps) => React_2.JSX.Element;
300
300
 
301
301
  export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
302
302
  children?: React_2.ReactNode;
@@ -360,7 +360,7 @@ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pi
360
360
  } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
361
361
 
362
362
  export declare const CommandShortcut: {
363
- ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
363
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): React_2.JSX.Element;
364
364
  displayName: string;
365
365
  };
366
366
 
@@ -396,7 +396,7 @@ export declare interface DataPoint {
396
396
  [key: string]: string | number | null;
397
397
  }
398
398
 
399
- export declare function DataRefreshAssistantCluster({ onAssistantClick, assistantPromptOptions, onAssistantUnavailable, ...refreshClusterProps }: DataRefreshAssistantClusterProps): JSX.Element;
399
+ export declare function DataRefreshAssistantCluster({ onAssistantClick, assistantPromptOptions, onAssistantUnavailable, ...refreshClusterProps }: DataRefreshAssistantClusterProps): React_2.JSX.Element;
400
400
 
401
401
  export declare interface DataRefreshAssistantClusterProps extends Omit<RefreshClusterProps, "onAssistantClick"> {
402
402
  onAssistantClick?: () => void;
@@ -404,7 +404,7 @@ export declare interface DataRefreshAssistantClusterProps extends Omit<RefreshCl
404
404
  onAssistantUnavailable?: () => void;
405
405
  }
406
406
 
407
- export declare function DataTable<TData, TValue>({ columns, data, uniqueValues, tableClass, loading, initialSort, }: DataTableProps<TData, TValue>): JSX.Element;
407
+ export declare function DataTable<TData, TValue>({ columns, data, uniqueValues, tableClass, loading, initialSort, }: DataTableProps<TData, TValue>): default_2.JSX.Element;
408
408
 
409
409
  declare interface DataTableProps<TData, TValue> {
410
410
  columns: ColumnDef<TData, TValue>[];
@@ -418,7 +418,7 @@ declare interface DataTableProps<TData, TValue> {
418
418
  /**
419
419
  * A reusable date picker component with a masked input and a calendar popover.
420
420
  */
421
- export declare function DatePicker({ date, onDateChange, label, id, className, }: DatePickerProps): JSX.Element;
421
+ export declare function DatePicker({ date, onDateChange, label, id, className, }: DatePickerProps): React_2.JSX.Element;
422
422
 
423
423
  declare interface DatePickerProps {
424
424
  /** The currently selected date. */
@@ -434,7 +434,7 @@ declare interface DatePickerProps {
434
434
  }
435
435
 
436
436
  export declare const Dialog: {
437
- ({ modal, ...props }: DialogPrimitive.DialogProps): JSX.Element;
437
+ ({ modal, ...props }: DialogPrimitive.DialogProps): React_2.JSX.Element;
438
438
  displayName: string | undefined;
439
439
  };
440
440
 
@@ -449,12 +449,12 @@ export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<Dialo
449
449
  export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
450
450
 
451
451
  export declare const DialogFooter: {
452
- ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
452
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
453
453
  displayName: string;
454
454
  };
455
455
 
456
456
  export declare const DialogHeader: {
457
- ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
457
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
458
458
  displayName: string;
459
459
  };
460
460
 
@@ -491,7 +491,7 @@ export declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<Om
491
491
  export declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
492
492
 
493
493
  export declare const DropdownMenuShortcut: {
494
- ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
494
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): React_2.JSX.Element;
495
495
  displayName: string;
496
496
  };
497
497
 
@@ -585,15 +585,15 @@ export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "
585
585
 
586
586
  export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
587
587
  containerClassName?: string;
588
- }): JSX.Element;
588
+ }): React_2.JSX.Element;
589
589
 
590
- export declare function InputOTPGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
590
+ export declare function InputOTPGroup({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
591
591
 
592
- export declare function InputOTPSeparator({ ...props }: React_2.ComponentProps<"div">): JSX.Element;
592
+ export declare function InputOTPSeparator({ ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
593
593
 
594
594
  export declare function InputOTPSlot({ index, className, ...props }: React_2.ComponentProps<"div"> & {
595
595
  index: number;
596
- }): JSX.Element;
596
+ }): React_2.JSX.Element;
597
597
 
598
598
  export declare interface InputProps extends Omit<React_2.ComponentProps<"input">, "onChange"> {
599
599
  mask?: MaskType;
@@ -624,7 +624,7 @@ declare interface IProps_2 {
624
624
  loadFullAfterSummary?: boolean;
625
625
  }
626
626
 
627
- export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
627
+ export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): React_2.JSX.Element;
628
628
 
629
629
  export declare const Layout: ForwardRefExoticComponent<LayoutProps & RefAttributes<HTMLInputElement>>;
630
630
 
@@ -643,7 +643,7 @@ declare interface LayoutProps {
643
643
  chatRoutePath: string;
644
644
  }
645
645
 
646
- export declare function ManufacturerCard({ manufacturer, link, linkNewTab, actions, mainAction, loading, appID, }: ManufacturerCardProps): JSX.Element;
646
+ export declare function ManufacturerCard({ manufacturer, link, linkNewTab, actions, mainAction, loading, appID, }: ManufacturerCardProps): default_2.JSX.Element;
647
647
 
648
648
  export declare interface ManufacturerCardProps {
649
649
  manufacturer?: Manufacturer;
@@ -672,7 +672,7 @@ declare interface ManufacturerOverviewPageProps {
672
672
  manufacturer?: Manufacturer;
673
673
  }
674
674
 
675
- export declare function ManufacturerReorderingCard({ manufacturer, onSave, loading, saving, readonly, }: ManufacturerReorderingCardProps): JSX.Element;
675
+ export declare function ManufacturerReorderingCard({ manufacturer, onSave, loading, saving, readonly, }: ManufacturerReorderingCardProps): default_2.JSX.Element;
676
676
 
677
677
  declare interface ManufacturerReorderingCardProps {
678
678
  manufacturer: Manufacturer;
@@ -684,7 +684,7 @@ declare interface ManufacturerReorderingCardProps {
684
684
 
685
685
  declare type MaskType = "phone" | "postal-code-ca" | "zip-code-us";
686
686
 
687
- export declare function MultiSelect({ options, selected, onChange, placeholder, disabled }: MultiSelectProps): JSX.Element;
687
+ export declare function MultiSelect({ options, selected, onChange, placeholder, disabled }: MultiSelectProps): React_2.JSX.Element;
688
688
 
689
689
  declare interface MultiSelectProps {
690
690
  options: string[];
@@ -767,7 +767,7 @@ declare interface PartnerCardProps {
767
767
  withVoice?: boolean;
768
768
  }
769
769
 
770
- export declare function PartnerPageShell({ header, children, className, contentClassName, contentProps, ...props }: PartnerPageShellProps): JSX.Element;
770
+ export declare function PartnerPageShell({ header, children, className, contentClassName, contentProps, ...props }: PartnerPageShellProps): React_2.JSX.Element;
771
771
 
772
772
  export declare interface PartnerPageShellProps extends Omit<React_2.ComponentProps<"section">, "children"> {
773
773
  header: React_2.ReactNode;
@@ -813,7 +813,7 @@ export declare interface PreloaderProps {
813
813
  className?: string;
814
814
  }
815
815
 
816
- export declare function ProductCard({ applicationId, product, viewProductLink, defaultOpportunityNumber, onAddToCart, addingToCart, shopifyHostname, customAction, showUsdLabelOnCost, }: ProductCardProps): JSX.Element;
816
+ export declare function ProductCard({ applicationId, product, viewProductLink, defaultOpportunityNumber, onAddToCart, addingToCart, shopifyHostname, customAction, showUsdLabelOnCost, }: ProductCardProps): default_2.JSX.Element;
817
817
 
818
818
  export declare interface ProductCardProps {
819
819
  applicationId?: string;
@@ -835,7 +835,7 @@ export declare interface ProductCardProps {
835
835
  * can be clicked to open a video player in a dialog.
836
836
  * It efficiently lazy-loads all assets and displays skeleton loaders.
837
837
  */
838
- export declare function ProductImage({ randmarSKU, sceneName, size, alt, secondaryContent }: ProductImageProps): JSX.Element;
838
+ export declare function ProductImage({ randmarSKU, sceneName, size, alt, secondaryContent }: ProductImageProps): React_2.JSX.Element;
839
839
 
840
840
  /**
841
841
  * Props for the ProductImage component.
@@ -878,7 +878,7 @@ export declare function RandmarApiConfigProvider({ swaggerJsonUrl, children, }:
878
878
  children: ReactNode;
879
879
  }): JSX.Element;
880
880
 
881
- export declare function RefreshCluster({ lastRefreshAt, onRefresh, onProgressiveRefresh, onAssistantClick, isRefreshing, refreshLabel, assistantLabel, className, disabled, }: RefreshClusterProps): JSX.Element;
881
+ export declare function RefreshCluster({ lastRefreshAt, onRefresh, onProgressiveRefresh, onAssistantClick, isRefreshing, refreshLabel, assistantLabel, className, disabled, }: RefreshClusterProps): React_2.JSX.Element;
882
882
 
883
883
  export declare interface RefreshClusterProps {
884
884
  lastRefreshAt?: RefreshDateValue;
@@ -894,7 +894,7 @@ export declare interface RefreshClusterProps {
894
894
 
895
895
  declare type RefreshDateValue = Date | string | number | null | undefined;
896
896
 
897
- export declare function ResellerBillingOverviewCard({ reseller, actions, loading }: ResellerBillingOverviewCardProps): JSX.Element;
897
+ export declare function ResellerBillingOverviewCard({ reseller, actions, loading }: ResellerBillingOverviewCardProps): default_2.JSX.Element;
898
898
 
899
899
  declare interface ResellerBillingOverviewCardProps {
900
900
  reseller?: Reseller;
@@ -941,7 +941,7 @@ declare interface ReturnsTableProps {
941
941
  loading?: boolean;
942
942
  }
943
943
 
944
- export declare function RichTextEditor({ id, name, value, onChange, placeholder, className, ...props }: RichTextEditorProps): JSX.Element | null;
944
+ export declare function RichTextEditor({ id, name, value, onChange, placeholder, className, ...props }: RichTextEditorProps): default_2.JSX.Element | null;
945
945
 
946
946
  export declare interface RichTextEditorProps extends Omit<default_2.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
947
947
  value: string;
@@ -949,11 +949,11 @@ export declare interface RichTextEditorProps extends Omit<default_2.InputHTMLAtt
949
949
  placeholder?: string;
950
950
  }
951
951
 
952
- export declare function RmBodyZone({ className, children, ...props }: RmBodyZoneProps): JSX.Element;
952
+ export declare function RmBodyZone({ className, children, ...props }: RmBodyZoneProps): React_2.JSX.Element;
953
953
 
954
954
  export declare type RmBodyZoneProps = React_2.ComponentProps<"section">;
955
955
 
956
- export declare function RmPageHeader({ title, subtitle, breadcrumbs, rightTopActions, rightBottomActions, secondaryRow, sticky, stickyClassName, className, cardClassName, contentClassName, }: RmPageHeaderProps): JSX.Element;
956
+ export declare function RmPageHeader({ title, subtitle, breadcrumbs, rightTopActions, rightBottomActions, secondaryRow, sticky, stickyClassName, className, cardClassName, contentClassName, }: RmPageHeaderProps): React_2.JSX.Element;
957
957
 
958
958
  export declare interface RmPageHeaderBreadcrumbItem {
959
959
  label: React_2.ReactNode;
@@ -1014,7 +1014,7 @@ export declare interface ScrollAreaProps extends React_2.ComponentPropsWithoutRe
1014
1014
 
1015
1015
  export declare const ScrollBar: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1016
1016
 
1017
- export declare function SearchNoResultsCard({ query, subtitle, tips, onReloadSearch, onAssistantClick, reloadLabel, assistantLabel, icon, className, }: SearchNoResultsCardProps): JSX.Element;
1017
+ export declare function SearchNoResultsCard({ query, subtitle, tips, onReloadSearch, onAssistantClick, reloadLabel, assistantLabel, icon, className, }: SearchNoResultsCardProps): React_2.JSX.Element;
1018
1018
 
1019
1019
  export declare interface SearchNoResultsCardProps {
1020
1020
  query: string;
@@ -1039,7 +1039,7 @@ export declare const SearchPage: React_2.FC<SearchPageProps>;
1039
1039
  * It display a responsive grid layout and leaves the rendering of individual items
1040
1040
  * to the consuming application via the `renderItem` prop.
1041
1041
  */
1042
- export declare const SearchPageGrid: <T>({ results, groupBy, renderItem, }: SearchPageGridProps<T>) => JSX.Element;
1042
+ export declare const SearchPageGrid: <T>({ results, groupBy, renderItem, }: SearchPageGridProps<T>) => default_2.JSX.Element;
1043
1043
 
1044
1044
  declare interface SearchPageGridProps<T> {
1045
1045
  /**
@@ -1080,7 +1080,7 @@ export declare interface SearchPageResultGroup<T> {
1080
1080
  gridCols?: ResponsiveCols;
1081
1081
  }
1082
1082
 
1083
- export declare function SearchResultsHeader({ query, title, subtitle, actions, children, className, contentClassName, }: SearchResultsHeaderProps): JSX.Element;
1083
+ export declare function SearchResultsHeader({ query, title, subtitle, actions, children, className, contentClassName, }: SearchResultsHeaderProps): React_2.JSX.Element;
1084
1084
 
1085
1085
  export declare interface SearchResultsHeaderProps {
1086
1086
  query?: string;
@@ -1157,12 +1157,12 @@ declare interface SheetContentProps extends React_2.ComponentPropsWithoutRef<typ
1157
1157
  export declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
1158
1158
 
1159
1159
  export declare const SheetFooter: {
1160
- ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1160
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
1161
1161
  displayName: string;
1162
1162
  };
1163
1163
 
1164
1164
  export declare const SheetHeader: {
1165
- ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1165
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): React_2.JSX.Element;
1166
1166
  displayName: string;
1167
1167
  };
1168
1168
 
@@ -1271,7 +1271,7 @@ export declare interface SimpleNode {
1271
1271
 
1272
1272
  export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
1273
1273
 
1274
- export declare function SummaryOverviewCard({ icon: Icon, contentType, identifier, description, fields, actions, highlightedHeader, className, ...props }: SummaryOverviewCardProps): JSX.Element;
1274
+ export declare function SummaryOverviewCard({ icon: Icon, contentType, identifier, description, fields, actions, highlightedHeader, className, ...props }: SummaryOverviewCardProps): React_2.JSX.Element;
1275
1275
 
1276
1276
  export declare interface SummaryOverviewCardField {
1277
1277
  label: string;
@@ -1312,7 +1312,7 @@ export declare interface SystemLogEntry {
1312
1312
  payload: string;
1313
1313
  }
1314
1314
 
1315
- export declare function SystemLogFeed<TEntry extends SystemLogEntry>({ entries, emptyStateText, className, formatDayLabel, formatTimeLabel, }: SystemLogFeedProps<TEntry>): JSX.Element;
1315
+ export declare function SystemLogFeed<TEntry extends SystemLogEntry>({ entries, emptyStateText, className, formatDayLabel, formatTimeLabel, }: SystemLogFeedProps<TEntry>): React_2.JSX.Element;
1316
1316
 
1317
1317
  export declare interface SystemLogFeedProps<TEntry extends SystemLogEntry = SystemLogEntry> {
1318
1318
  entries: readonly TEntry[];
@@ -1404,7 +1404,7 @@ export declare interface TopbarProps {
1404
1404
  searchPlaceholder?: string;
1405
1405
  }
1406
1406
 
1407
- export declare const TopPercentTreemap: ({ data, topPercent, title, loading, ...props }: TopPercentTreemapProps) => JSX.Element;
1407
+ export declare const TopPercentTreemap: ({ data, topPercent, title, loading, ...props }: TopPercentTreemapProps) => React_2.JSX.Element;
1408
1408
 
1409
1409
  declare interface TopPercentTreemapProps {
1410
1410
  data: SimpleNode[];