@taxbit/react-sdk 2.1.0-beta.1 → 2.2.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.
Files changed (69) hide show
  1. package/README.md +24 -7
  2. package/dist/src/contexts/QuestionnaireStep/getLocal.d.ts +1 -1
  3. package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStep.d.ts +1 -1
  4. package/dist/src/contexts/QuestionnaireStep/useQuestionnaireStepContext.d.ts +2 -2
  5. package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +2 -2
  6. package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +4 -4
  7. package/dist/src/i18n/json/bg.json.d.ts +14 -8
  8. package/dist/src/i18n/json/cs.json.d.ts +14 -6
  9. package/dist/src/i18n/json/da.json.d.ts +14 -6
  10. package/dist/src/i18n/json/de-AT.json.d.ts +6 -2
  11. package/dist/src/i18n/json/de.json.d.ts +13 -7
  12. package/dist/src/i18n/json/el-CY.json.d.ts +5 -1
  13. package/dist/src/i18n/json/el.json.d.ts +14 -8
  14. package/dist/src/i18n/json/en-GB.json.d.ts +5 -7
  15. package/dist/src/i18n/json/en-NZ.json.d.ts +8 -1
  16. package/dist/src/i18n/json/en.json.d.ts +12 -5
  17. package/dist/src/i18n/json/es-MX.json.d.ts +8 -1
  18. package/dist/src/i18n/json/es.json.d.ts +13 -6
  19. package/dist/src/i18n/json/et.json.d.ts +14 -8
  20. package/dist/src/i18n/json/fi.json.d.ts +14 -4
  21. package/dist/src/i18n/json/fr-CA.json.d.ts +6 -1
  22. package/dist/src/i18n/json/fr-LU.json.d.ts +5 -5
  23. package/dist/src/i18n/json/fr.json.d.ts +12 -1
  24. package/dist/src/i18n/json/ga.json.d.ts +14 -8
  25. package/dist/src/i18n/json/hr.json.d.ts +14 -4
  26. package/dist/src/i18n/json/hu.json.d.ts +14 -8
  27. package/dist/src/i18n/json/it.json.d.ts +13 -3
  28. package/dist/src/i18n/json/lt.json.d.ts +14 -8
  29. package/dist/src/i18n/json/lv.json.d.ts +14 -8
  30. package/dist/src/i18n/json/mt.json.d.ts +14 -8
  31. package/dist/src/i18n/json/nl.json.d.ts +14 -4
  32. package/dist/src/i18n/json/no.json.d.ts +14 -4
  33. package/dist/src/i18n/json/pl.json.d.ts +13 -3
  34. package/dist/src/i18n/json/pt.json.d.ts +14 -8
  35. package/dist/src/i18n/json/ro.json.d.ts +14 -4
  36. package/dist/src/i18n/json/sk.json.d.ts +13 -5
  37. package/dist/src/i18n/json/sl.json.d.ts +14 -8
  38. package/dist/src/i18n/json/sv.json.d.ts +13 -3
  39. package/dist/src/i18n/types/LocalizationKey.d.ts +4 -4
  40. package/dist/src/i18n/types/PropertyFile.d.ts +4 -4
  41. package/dist/src/test/utils/helpers.d.ts +1 -1
  42. package/dist/src/types/InputStep.d.ts +1 -1
  43. package/dist/src/types/StepId.d.ts +1 -1
  44. package/dist/src/types/TaxDocumentation.d.ts +4 -2
  45. package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +12 -4
  46. package/dist/src/types/server/TaxDocumentationStatus.d.ts +12 -4
  47. package/dist/src/ui/PhoneNumberInput/PhoneNumberInput.d.ts +7 -0
  48. package/dist/src/ui/PhoneNumberInput/index.d.ts +1 -0
  49. package/dist/src/ui/index.d.ts +1 -0
  50. package/dist/src/utils/{formatUsTin.d.ts → formatTin.d.ts} +3 -1
  51. package/dist/src/utils/getFieldsState.d.ts +3 -0
  52. package/dist/src/utils/index.d.ts +1 -1
  53. package/dist/src/utils/transformInbound/getCountryCode.d.ts +1 -1
  54. package/dist/src/utils/transformInbound/getEntityAccountType.d.ts +1 -1
  55. package/dist/src/utils/transformInbound/transformInboundControllingPersons.d.ts +4 -2
  56. package/dist/src/validations/getSteps.d.ts +1 -1
  57. package/dist/src/wizard/RowInput/PhoneNumberRow/PhoneNumberRow.d.ts +11 -0
  58. package/dist/src/wizard/RowInput/PhoneNumberRow/index.d.ts +1 -0
  59. package/dist/src/wizard/RowInput/index.d.ts +1 -0
  60. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderAdditionalInfo/AccountHolderAdditionalInfo.d.ts +3 -0
  61. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderAdditionalInfo/index.d.ts +1 -0
  62. package/dist/src/wizard/TaxbitQuestionnaireUI/steps.d.ts +1 -1
  63. package/dist/taxbit-react-sdk.js +4528 -3779
  64. package/dist/taxbit-react-sdk.umd.cjs +1 -1
  65. package/package.json +2 -2
  66. package/style/basic.css +13 -2
  67. package/style/inline.css +13 -1
  68. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -3
  69. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taxbit/react-sdk",
3
- "version": "2.1.0-beta.1",
3
+ "version": "2.2.0-beta.1",
4
4
  "description": "Taxbit Tax Documentation",
5
5
  "author": "Taxbit",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "test": "vitest"
35
35
  },
36
36
  "dependencies": {
37
- "@taxbit/utilities": "3.0.0"
37
+ "@taxbit/utilities": "3.1.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
package/style/basic.css CHANGED
@@ -116,13 +116,20 @@ button.taxbit-button:focus-visible {
116
116
  .taxbit-row-actions {
117
117
  flex: 0 0 10%;
118
118
  display: flex;
119
- align-items: flex-start;
119
+ align-items: center;
120
120
  }
121
- .taxbit-row-action-button {
121
+ button.taxbit-row-action-button {
122
122
  font-size: 0.8em;
123
123
  padding: 0.2em 1em;
124
124
  flex: 0 0 auto;
125
125
  }
126
+ button.taxbit-show-button,
127
+ button.taxbit-hide-button {
128
+ padding: 0.5em 1em;
129
+ font-size: 1em;
130
+ height: 33px;
131
+ flex: 0 0 auto;
132
+ }
126
133
 
127
134
  .taxbit-label {
128
135
  flex: 0 0 40%;
@@ -152,6 +159,10 @@ button.taxbit-button:focus-visible {
152
159
  color: rgb(18, 38, 63);
153
160
  }
154
161
 
162
+ .taxbit-country-code-select {
163
+ max-width: 12em;
164
+ }
165
+
155
166
  .taxbit-badge {
156
167
  font-weight: 700;
157
168
  }
package/style/inline.css CHANGED
@@ -117,9 +117,17 @@ button.taxbit-button:focus-visible {
117
117
  display: flex;
118
118
  align-items: flex-start;
119
119
  }
120
- .taxbit-row-action-button {
120
+ button.taxbit-row-action-button {
121
121
  font-size: 0.8em;
122
122
  padding: 0.2em 1em;
123
+ flex: 0 0 auto;
124
+ }
125
+ button.taxbit-show-button,
126
+ button.taxbit-hide-button {
127
+ padding: 0.5em 1em;
128
+ font-size: 1em;
129
+ height: 33px;
130
+ flex: 0 0 auto;
123
131
  }
124
132
 
125
133
  .taxbit-select-language {
@@ -161,6 +169,10 @@ button.taxbit-button:focus-visible {
161
169
  color: rgb(18, 38, 63);
162
170
  }
163
171
 
172
+ .taxbit-country-code-select {
173
+ max-width: 12em;
174
+ }
175
+
164
176
  .taxbit-badge {
165
177
  font-weight: 700;
166
178
  }
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export declare const AccountHolderTaxClarification: () => React.JSX.Element;
@@ -1 +0,0 @@
1
- export * from './AccountHolderTaxClarification';