@taxbit/react-sdk 1.0.0-beta.0 → 1.0.0-beta.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
CHANGED
|
@@ -66,7 +66,6 @@ exampleData: ClientTaxDocumentation = {
|
|
|
66
66
|
bearerToken="bearer token goes here"
|
|
67
67
|
questionnaire="DPS"
|
|
68
68
|
language="en-us" // 'en-us' is the default
|
|
69
|
-
staging // if not production
|
|
70
69
|
/>
|
|
71
70
|
```
|
|
72
71
|
|
|
@@ -78,7 +77,6 @@ For W-9 W-8BEN and W-8BEN-E forms, this component can be used...
|
|
|
78
77
|
bearerToken="bearer token goes here"
|
|
79
78
|
questionnaire="W-FORM"
|
|
80
79
|
language="en" // 'en' is the default
|
|
81
|
-
staging // if not production
|
|
82
80
|
/>
|
|
83
81
|
```
|
|
84
82
|
|
|
@@ -136,15 +134,9 @@ an example is below.
|
|
|
136
134
|
}
|
|
137
135
|
```
|
|
138
136
|
|
|
139
|
-
### Staging
|
|
140
|
-
|
|
141
|
-
This can be set to `true` or `false`. Passing `staging` in the component is the same as passing `staging={true}`.
|
|
142
|
-
|
|
143
|
-
If `true`, the staging environment will be used. If `false`, the production environment will be used. The default is `false`.
|
|
144
|
-
|
|
145
137
|
### CSS and Style Customization
|
|
146
138
|
|
|
147
|
-
The Taxbit React SDK renders a form for collecting user data. The form is structured with fairly semantic HTML and CSS classes and can be easily customized to closely match your
|
|
139
|
+
The Taxbit React SDK renders a form for collecting user data. The form is structured with fairly semantic HTML and CSS classes and can be easily customized to closely match your client's style.
|
|
148
140
|
Classnames are namespaced with "taxbit-" to reduce the chance of conflict.
|
|
149
141
|
|
|
150
142
|
### Callbacks
|
|
@@ -228,7 +220,11 @@ type Progress = {
|
|
|
228
220
|
|
|
229
221
|
## Changelog
|
|
230
222
|
|
|
231
|
-
### Version 1.0.0-beta
|
|
223
|
+
### Version 1.0.0-beta.1
|
|
224
|
+
|
|
225
|
+
1. Showing "\*" when required for Addresses on Summary
|
|
226
|
+
|
|
227
|
+
### Version 1.0.0-beta.0
|
|
232
228
|
|
|
233
229
|
1. W-9, W-8BEN, and W-8BEN-E forms are now supported in the UI. The `TaxbitQuestionnaire` component can be used to collect data for these forms.
|
|
234
230
|
2. Translations for country names are now coming from the Intl API.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ClientTaxDocumentation } from '@taxbit/utilities';
|
|
3
3
|
import type { InputStep, Locale, Progress, Questionnaire, TaxDocumentation } from 'types';
|
|
4
|
-
import type { StepId } from 'types/StepId';
|
|
5
4
|
import { ExternalValidations } from 'types/client';
|
|
5
|
+
import type { StepId } from 'types/StepId';
|
|
6
6
|
type InterviewConfig = {
|
|
7
7
|
minimumAge: number;
|
|
8
8
|
};
|