@gyramais/gyra-design 0.2.32 → 0.2.33

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,15 @@ type SyncChipProps = {
11
11
  errorTooltip?: string;
12
12
  /** Optional override for the tooltip when verified is false. */
13
13
  notVerifiedTooltip?: string;
14
+ /** When in error state and provided, renders a compact retry action to
15
+ the LEFT of the chip. Keeps the retry paired with its sync-status,
16
+ consistently across every usage. */
17
+ onRetry?: () => void;
18
+ /** Label for the retry action. */
19
+ retryLabel?: string;
20
+ /** Disables the retry action (e.g. while a retry is already in flight). */
21
+ retryDisabled?: boolean;
14
22
  };
15
- declare const SyncChip: ({ id, className, loading, date, error, verified, errorTooltip, notVerifiedTooltip, }: SyncChipProps) => React.JSX.Element;
23
+ declare const SyncChip: ({ id, className, loading, date, error, verified, errorTooltip, notVerifiedTooltip, onRetry, retryLabel, retryDisabled, }: SyncChipProps) => React.JSX.Element;
16
24
  export { SyncChip };
17
25
  export type { SyncChipProps };