@taxbit/react-sdk 0.3.2 → 0.4.0
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 +61 -2
- package/dist/basic.css +6 -4
- package/dist/inline.css +6 -4
- package/dist/minimal.css +0 -4
- package/dist/src/components/Address/Address.d.ts +2 -3
- package/dist/src/components/Form/Form.d.ts +2 -1
- package/dist/src/components/ProgressStatus/ProgressStatus.d.ts +5 -0
- package/dist/src/components/ProgressStatus/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/contexts/FormUI/getLocal.d.ts +21 -0
- package/dist/src/contexts/FormUI/useFormUI.d.ts +20 -22
- package/dist/src/contexts/FormUI/useFormUIContext.d.ts +43 -47
- package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -3
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +8 -5
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +12 -8
- package/dist/src/entry/index.d.ts +1 -0
- package/dist/src/i18n/index.d.ts +1 -1
- package/dist/src/i18n/types/LocalizationKey.d.ts +1 -2
- package/dist/src/i18n/types/PropertyFile.d.ts +1 -4
- package/dist/src/i18n/utils/getText.d.ts +2 -3
- package/dist/src/types/InputStep.d.ts +5 -0
- package/dist/src/types/Progress.d.ts +9 -0
- package/dist/src/types/TaxDocumentation.d.ts +4 -0
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/ui/DateOfBirthInput/DateOfBirthInput.d.ts +2 -2
- package/dist/src/ui/Password/Password.d.ts +2 -1
- package/dist/src/ui/TextInput/TextInput.d.ts +2 -2
- package/dist/src/utils/getFieldsState.d.ts +1 -0
- package/dist/src/utils/getHintKeyMap.d.ts +4 -0
- package/dist/src/utils/getPromptKeyMap.d.ts +4 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/mergeDeep.d.ts +1 -0
- package/dist/src/validations/getInvalidFields.d.ts +2 -2
- package/dist/src/validations/getRequiredFields.d.ts +1 -1
- package/dist/src/validations/getVisibleFields.d.ts +2 -2
- package/dist/src/validations/index.d.ts +1 -2
- package/dist/src/validations/invalidFieldRules.d.ts +1 -1
- package/dist/src/widgets/TaxBitForm/TaxBitForm.d.ts +3 -2
- package/dist/src/wizard/AddressInput/AddressInput.d.ts +1 -1
- package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +2 -2
- package/dist/src/wizard/RowInput/AddressRow/AddressRow.d.ts +7 -0
- package/dist/src/wizard/RowInput/AddressRow/index.d.ts +1 -0
- package/dist/src/wizard/RowInput/VisibleRow/VisibleRow.d.ts +1 -2
- package/dist/src/wizard/RowInput/index.d.ts +1 -0
- package/dist/src/wizard/TaxBitFormUI/Confirmation/Confirmation.d.ts +2 -0
- package/dist/src/wizard/TaxBitFormUI/Confirmation/index.d.ts +1 -0
- package/dist/src/wizard/TaxBitFormUI/Summary/Summary.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +1 -1
- package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +3 -2
- package/dist/src/wizard/TaxBitFormUI/steps.d.ts +1 -0
- package/dist/taxbit-react-sdk.js +2218 -2137
- package/dist/taxbit-react-sdk.umd.cjs +10 -10
- package/package.json +1 -1
- package/dist/src/components/Notification/Notification.d.ts +0 -5
- package/dist/src/components/Notification/index.d.ts +0 -1
- package/dist/src/validations/getNotifiedFields.d.ts +0 -10
- package/dist/src/validations/requiredFieldRules.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Notification";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NotificationKey } from '../i18n/types';
|
|
2
|
-
import { TaxDocumentation, TaxDocumentationKey } from '../types';
|
|
3
|
-
export type NotificationRule = (fields: TaxDocumentation) => NotificationKey | undefined;
|
|
4
|
-
export type Notifications = {
|
|
5
|
-
[key in TaxDocumentationKey]?: NotificationKey;
|
|
6
|
-
};
|
|
7
|
-
export type NotificationRules = {
|
|
8
|
-
[key in TaxDocumentationKey]?: NotificationRule;
|
|
9
|
-
};
|
|
10
|
-
export declare const getNotifiedFields: (fields: TaxDocumentation, shownFields: Set<TaxDocumentationKey>) => Notifications;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TaxDocumentation, TaxDocumentationKey } from 'types/TaxDocumentation';
|
|
2
|
-
import { TaxForm } from '../types';
|
|
3
|
-
export type FormUIRequired = ((fields: TaxDocumentation, taxForms?: TaxForm[]) => boolean | undefined) | (() => boolean | undefined);
|
|
4
|
-
export type FormUIRequiredFields = {
|
|
5
|
-
[key in TaxDocumentationKey]?: FormUIRequired;
|
|
6
|
-
};
|
|
7
|
-
export declare const requiredFieldRules: FormUIRequiredFields;
|