@docuninja/builder2.0 0.0.81 → 0.0.83

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.
@@ -53,9 +53,6 @@ export type NavigateButtonProps = {
53
53
  onClick: () => void;
54
54
  disabled: boolean;
55
55
  };
56
- export type SuccessProps = {
57
- closeTab: () => void;
58
- };
59
56
  export type ConsentScreenProps = {
60
57
  onCheckboxChange: (checked: boolean) => void;
61
58
  };
@@ -1,7 +1,7 @@
1
1
  import { Axios } from 'axios';
2
2
  import { Document } from '../types/api';
3
3
  import { Builder } from '../ui';
4
- import { ConsentContinueButtonProps, ConsentDownloadButtonProps, ConsentScreenProps, DateInputProps, MinimizeButtonProps, NavigateButtonProps, SignCardProps, SignatureSelectorButtonProps, SignatureSelectorDialogProps, SignatureSelectorInputProps, StartSigningButtonProps, SubmitButtonProps, SuccessProps } from './component-types';
4
+ import { ConsentContinueButtonProps, ConsentDownloadButtonProps, ConsentScreenProps, DateInputProps, MinimizeButtonProps, NavigateButtonProps, SignCardProps, SignatureSelectorButtonProps, SignatureSelectorDialogProps, SignatureSelectorInputProps, StartSigningButtonProps, SubmitButtonProps } from './component-types';
5
5
  export type Sign = {
6
6
  document: string;
7
7
  invitation: string;
@@ -12,7 +12,7 @@ export type Sign = {
12
12
  minimize: React.ComponentType<MinimizeButtonProps>;
13
13
  submit: React.ComponentType<SubmitButtonProps>;
14
14
  dateInput: React.ComponentType<DateInputProps>;
15
- success: React.ComponentType<SuccessProps>;
15
+ success: React.ComponentType;
16
16
  card: {
17
17
  card: React.ComponentType<SignCardProps>;
18
18
  };
@@ -1,3 +1,3 @@
1
1
  import { Document } from '../types/api';
2
- export declare function Success(): import("@emotion/react/jsx-runtime").JSX.Element | null;
2
+ export declare function Success(): import("@emotion/react/jsx-runtime").JSX.Element;
3
3
  export declare function isDownloadAvailable(document: Document | null): boolean;
package/dist/builder.d.ts CHANGED
@@ -743,7 +743,7 @@ export declare type Sign = {
743
743
  minimize: React.ComponentType<MinimizeButtonProps>;
744
744
  submit: React.ComponentType<SubmitButtonProps>;
745
745
  dateInput: React.ComponentType<DateInputProps>;
746
- success: React.ComponentType<SuccessProps>;
746
+ success: React.ComponentType;
747
747
  card: {
748
748
  card: React.ComponentType<SignCardProps>;
749
749
  };
@@ -842,10 +842,6 @@ export declare type SubmitButtonProps = {
842
842
  onClick: () => void;
843
843
  };
844
844
 
845
- export declare type SuccessProps = {
846
- closeTab: () => void;
847
- };
848
-
849
845
  export declare interface Template {
850
846
  id: string;
851
847
  name: string;