@srimandir/pitru-paksh-common 2.0.4 → 2.0.5

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.
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ export interface LoadingScreenProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ /** Sanskrit mantra shown below the Om icon. */
4
+ mantra: React.ReactNode;
5
+ /** Status message shown below the progress bar, e.g. what's being computed right now. */
6
+ message: React.ReactNode;
7
+ /** 0-100. */
8
+ progress: number;
9
+ /** Delay (ms) before the bar starts animating from 0 to `progress` on mount. Defaults to 0. */
10
+ progressDelay?: number;
11
+ onBackClick?: () => void;
12
+ }
13
+ export declare const LoadingScreen: React.FC<LoadingScreenProps>;
@@ -0,0 +1,2 @@
1
+ export { LoadingScreen } from './LoadingScreen';
2
+ export type { LoadingScreenProps } from './LoadingScreen';
package/dist/index.d.ts CHANGED
@@ -52,4 +52,6 @@ export { OutcomeButton, PlusIcon, CheckIcon } from './components/OutcomeButton';
52
52
  export type { OutcomeButtonProps, OutcomeButtonVariant, IconProps } from './components/OutcomeButton';
53
53
  export { OutcomeSummary } from './components/OutcomeSummary';
54
54
  export type { OutcomeSummaryProps, OutcomeTrustItem, OutcomeTrustIconVariant } from './components/OutcomeSummary';
55
+ export { LoadingScreen } from './components/LoadingScreen';
56
+ export type { LoadingScreenProps } from './components/LoadingScreen';
55
57
  export { cn } from '../../common/dist/common.js';