@taxbit/react-sdk 0.4.4 → 0.5.1
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.
- package/README.md +21 -44
- package/dist/basic.css +27 -12
- package/dist/inline.css +27 -12
- package/dist/minimal.css +8 -1
- package/dist/src/contexts/FormUI/useFormUI.d.ts +2 -1
- package/dist/src/contexts/FormUI/useFormUIContext.d.ts +4 -2
- package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +1 -1
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +6 -4
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +6 -4
- package/dist/src/hooks/useTaxBit/useTaxBit.d.ts +1 -1
- package/dist/src/i18n/types/LocalizationKey.d.ts +2 -2
- package/dist/src/test/utils/helpers.d.ts +3 -0
- package/dist/src/ui/Actions/Actions.d.ts +3 -1
- package/dist/src/ui/InputValue/InputValue.d.ts +7 -0
- package/dist/src/ui/InputValue/index.d.ts +1 -0
- package/dist/src/ui/MaskedContent/MaskedContent.d.ts +3 -2
- package/dist/src/ui/RadioButtons/RadioButtons.d.ts +1 -1
- package/dist/src/ui/Select/Select.d.ts +4 -14
- package/dist/src/ui/TextInput/TextInput.d.ts +2 -2
- package/dist/src/ui/TextInput/__tests__/TextInput.test.d.ts +0 -0
- package/dist/src/ui/index.d.ts +12 -10
- package/dist/src/utils/isBlank.d.ts +1 -1
- package/dist/src/utils/sort/byOptionalLabel.d.ts +5 -0
- package/dist/src/utils/sort/index.d.ts +1 -0
- package/dist/src/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +1 -1
- package/dist/src/widgets/TaxBitForm/TaxBitForm.d.ts +11 -4
- package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +2 -2
- package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +1 -1
- package/dist/src/wizard/RowInput/TextInputRow/TextInputRow.d.ts +3 -5
- package/dist/src/wizard/TaxBitFormUI/AppError/AppError.d.ts +4 -0
- package/dist/src/wizard/TaxBitFormUI/AppError/index.d.ts +1 -0
- package/dist/src/wizard/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +2 -2
- package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +3 -7
- package/dist/src/wizard/TaxBitFormUI/index.d.ts +2 -2
- package/dist/taxbit-react-sdk.js +1958 -1696
- package/dist/taxbit-react-sdk.umd.cjs +10 -10
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AppError.tsx';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TaxBitFormUIProps } from './TaxBitFormUI';
|
|
3
|
-
export type
|
|
4
|
-
export declare const TaxBitDAC7FormUI: ({ data, onSubmit, onProgress, language, complete, }:
|
|
3
|
+
export type TaxBitDAC7FormUIProps = Omit<TaxBitFormUIProps, 'taxForms'>;
|
|
4
|
+
export declare const TaxBitDAC7FormUI: ({ data, onSubmit, onProgress, language, complete, }: TaxBitDAC7FormUIProps) => React.JSX.Element;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { Locale, Progress, TaxForm } from '../../types';
|
|
3
2
|
import { ClientTaxDocumentation, ExternalValidations } from '../../types/client';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
onSubmit: (data: ClientTaxDocumentation) => void;
|
|
3
|
+
import { TaxBitFormProps } from '../../widgets';
|
|
4
|
+
export type TaxBitFormUIProps = Pick<TaxBitFormProps, 'data' | 'language' | 'taxForms' | 'onProgress'> & {
|
|
5
|
+
onSubmit: (data: ClientTaxDocumentation) => Promise<void> | void;
|
|
7
6
|
externalValidations?: ExternalValidations;
|
|
8
|
-
language?: Locale;
|
|
9
|
-
taxForms?: TaxForm[];
|
|
10
7
|
complete?: boolean;
|
|
11
|
-
onProgress?: (progress: Progress) => void;
|
|
12
8
|
};
|
|
13
9
|
export declare const TaxBitFormUI: ({ data, onSubmit, language, taxForms, complete, onProgress, externalValidations, }: TaxBitFormUIProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './TaxBitDAC7FormUI';
|
|
2
|
+
export * from './TaxBitFormUI';
|