@grapadigital/shared-app-modules 0.0.215 → 0.0.217

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.
@@ -93,7 +93,7 @@ declare interface Approval {
93
93
  approvedAt: string;
94
94
  }
95
95
 
96
- export declare function AsyncBoundary({ suspenseFallback: SuspenseFallback, errorFallback: ErrorFallback, children, }: AsyncBoundaryProps): JSX.Element;
96
+ export declare function AsyncBoundary({ suspenseFallback: SuspenseFallback, errorFallback, children, }: AsyncBoundaryProps): JSX.Element;
97
97
 
98
98
  declare interface AsyncBoundaryProps extends React.PropsWithChildren {
99
99
  suspenseFallback?: React.ComponentType;
@@ -274,6 +274,15 @@ declare interface DeliveryScope {
274
274
  twitter?: number | null;
275
275
  }
276
276
 
277
+ declare interface ErrorBoundaryProps extends React.PropsWithChildren {
278
+ errorFallback?: React.ComponentType<{
279
+ error?: Error | unknown;
280
+ onRetry?: () => void;
281
+ }>;
282
+ }
283
+
284
+ export declare function ErrorBundary({ errorFallback: ErrorFallback, children, }: ErrorBoundaryProps): JSX.Element;
285
+
277
286
  export declare function ErrorCard({ icon: Icon, title, description, onRetry, tip, className, ...props }: ErrorCardProps): JSX.Element;
278
287
 
279
288
  declare interface ErrorCardProps extends React.ComponentProps<typeof Card> {
@@ -992,6 +1001,13 @@ declare interface SpeedDialButtonProps {
992
1001
  declare interface SupplierInterface extends UserInterface {
993
1002
  }
994
1003
 
1004
+ export declare const SuppliersSelectInput: default_2.ForwardRefExoticComponent<Omit<SuppliersSelectInputProps, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
1005
+
1006
+ declare interface SuppliersSelectInputProps extends Omit<default_2.ComponentProps<typeof CommandInput>, "onValueChange"> {
1007
+ queryKey?: string[];
1008
+ onValueChange: (supplier: SupplierInterface) => void;
1009
+ }
1010
+
995
1011
  declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
996
1012
 
997
1013
  export declare function TableSkeleton({ columns, rows, hasActions, actionsCount, }: TableSkeletonProps): JSX.Element;