@taxbit/react-sdk 0.5.1 → 0.6.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 +72 -0
- package/dist/src/components/Section/Section.d.ts +3 -2
- package/dist/src/contexts/FormUI/getLocal.d.ts +0 -1
- package/dist/src/contexts/FormUI/useFormUI.d.ts +3 -1
- package/dist/src/contexts/FormUI/useFormUIContext.d.ts +6 -2
- package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -11
- package/dist/src/contexts/TaxDocumentation/index.d.ts +3 -2
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +10 -6
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +6 -0
- package/dist/src/i18n/index.d.ts +1 -1
- package/dist/src/i18n/types/LocalizationKey.d.ts +2 -2
- package/dist/src/i18n/types/PropertyFile.d.ts +0 -4
- package/dist/src/i18n/utils/getText.d.ts +0 -1
- package/dist/src/lookups/localeOptions.d.ts +2 -1
- package/dist/src/lookups/yearOptions.d.ts +3 -1
- package/dist/src/ui/DateOfBirthInput/useDateOfBirthInput.d.ts +2 -2
- package/dist/src/utils/date.d.ts +1 -0
- package/dist/src/widgets/TaxBitForm/TaxBitForm.d.ts +3 -19
- package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +13 -2
- package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +3 -2
- package/dist/src/wizard/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +2 -2
- package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +2 -5
- package/dist/taxbit-react-sdk.js +1516 -2418
- package/dist/taxbit-react-sdk.umd.cjs +10 -10
- package/package.json +7 -8
- package/{dist → style}/basic.css +8 -1
- package/{dist → style}/inline.css +8 -1
- /package/{dist → style}/index.css +0 -0
- /package/{dist → style}/minimal.css +0 -0
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taxbit/react-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "TaxBit Tax Documentation",
|
|
5
5
|
"author": "TaxBit",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
|
-
"dist/src"
|
|
9
|
+
"dist/src",
|
|
10
|
+
"style"
|
|
10
11
|
],
|
|
11
12
|
"main": "./dist/taxbit-react-sdk.umd.cjs",
|
|
12
13
|
"module": "./dist/taxbit-react-sdk.js",
|
|
13
14
|
"exports": {
|
|
14
|
-
"./style/basic.css": "./
|
|
15
|
-
"./style/inline.css": "./
|
|
16
|
-
"./style/minimal.css": "./
|
|
15
|
+
"./style/basic.css": "./style/basic.css",
|
|
16
|
+
"./style/inline.css": "./style/inline.css",
|
|
17
|
+
"./style/minimal.css": "./style/minimal.css",
|
|
17
18
|
".": {
|
|
18
19
|
"types": "./dist/index.d.ts",
|
|
19
20
|
"import": "./dist/taxbit-react-sdk.js",
|
|
@@ -32,12 +33,11 @@
|
|
|
32
33
|
"ts": "tsc",
|
|
33
34
|
"test": "vitest"
|
|
34
35
|
},
|
|
35
|
-
"
|
|
36
|
+
"dependencies": {
|
|
36
37
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@types/react": "^18.0.0",
|
|
40
|
-
"@types/react-dom": "^18.0.0",
|
|
41
41
|
"@testing-library/react": "^14.0.0",
|
|
42
42
|
"@testing-library/jest-dom": "^6.1.4",
|
|
43
43
|
"@types/node": "^18.17.0",
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
"eslint-plugin-react-refresh": "^0.4.3",
|
|
51
51
|
"happy-dom": "^12.9.1",
|
|
52
52
|
"react": "^18.0.0",
|
|
53
|
-
"react-dom": "^18.0.0",
|
|
54
53
|
"typescript": "^5.0.2",
|
|
55
54
|
"vite": "^4.4.5",
|
|
56
55
|
"vite-plugin-dts": "^3.3.1",
|
package/{dist → style}/basic.css
RENAMED
|
@@ -43,10 +43,14 @@ button.taxbit-button:focus-visible {
|
|
|
43
43
|
|
|
44
44
|
.taxbit-section {
|
|
45
45
|
margin: 20px 0;
|
|
46
|
-
.taxbit-section-
|
|
46
|
+
.taxbit-section-header {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
47
49
|
padding-bottom: 4px;
|
|
48
50
|
border-bottom: solid 1px #e4ebf6;
|
|
49
51
|
margin-bottom: 8px;
|
|
52
|
+
}
|
|
53
|
+
.taxbit-section-header-title {
|
|
50
54
|
opacity: 0.8;
|
|
51
55
|
}
|
|
52
56
|
.taxbit-section-sub-title {
|
|
@@ -54,6 +58,9 @@ button.taxbit-button:focus-visible {
|
|
|
54
58
|
opacity: 0.7;
|
|
55
59
|
font-weight: 400;
|
|
56
60
|
}
|
|
61
|
+
.taxbit-section-header-action {
|
|
62
|
+
margin-left: auto;
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
.taxbit-select-language {
|
|
@@ -43,10 +43,14 @@ button.taxbit-button:focus-visible {
|
|
|
43
43
|
|
|
44
44
|
.taxbit-section {
|
|
45
45
|
margin: 20px 0;
|
|
46
|
-
.taxbit-section-
|
|
46
|
+
.taxbit-section-header {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
47
49
|
padding-bottom: 4px;
|
|
48
50
|
border-bottom: solid 1px #e4ebf6;
|
|
49
51
|
margin-bottom: 8px;
|
|
52
|
+
}
|
|
53
|
+
.taxbit-section-header-title {
|
|
50
54
|
opacity: 0.8;
|
|
51
55
|
}
|
|
52
56
|
.taxbit-section-sub-title {
|
|
@@ -54,6 +58,9 @@ button.taxbit-button:focus-visible {
|
|
|
54
58
|
opacity: 0.7;
|
|
55
59
|
font-weight: 400;
|
|
56
60
|
}
|
|
61
|
+
.taxbit-section-header-action {
|
|
62
|
+
margin-left: auto;
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
65
|
|
|
59
66
|
.taxbit-row {
|
|
File without changes
|
|
File without changes
|