@taxbit/react-sdk 0.0.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 +20 -0
- package/dist/App.d.ts +5 -0
- package/dist/Component.d.ts +2 -0
- package/dist/components/Address/Address.d.ts +17 -0
- package/dist/components/Address/index.d.ts +1 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/dist/components/ErrorMessage/index.d.ts +1 -0
- package/dist/components/InputStatus/InputStatus.d.ts +5 -0
- package/dist/components/InputStatus/index.d.ts +1 -0
- package/dist/components/Page/Page.d.ts +6 -0
- package/dist/components/Page/index.d.ts +1 -0
- package/dist/components/Row/Row.d.ts +12 -0
- package/dist/components/Row/index.d.ts +1 -0
- package/dist/components/Section/Section.d.ts +8 -0
- package/dist/components/Section/index.d.ts +1 -0
- package/dist/components/Title/Title.d.ts +5 -0
- package/dist/components/Title/index.d.ts +1 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/contexts/FormUI/FormUIProvider.d.ts +6 -0
- package/dist/contexts/FormUI/index.d.ts +3 -0
- package/dist/contexts/FormUI/useFormUI.d.ts +137 -0
- package/dist/contexts/FormUI/useFormUIContext.d.ts +650 -0
- package/dist/contexts/TaxDocumentation/TaxDocumentationPathProvider.d.ts +13 -0
- package/dist/contexts/TaxDocumentation/index.d.ts +2 -0
- package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +33 -0
- package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +44 -0
- package/dist/contexts/createCtx.d.ts +2 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/entry/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useTaxBit/index.d.ts +1 -0
- package/dist/hooks/useTaxBit/useTaxBit.d.ts +5 -0
- package/dist/i18n/i18n.d.ts +7 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/locales/de-de.d.ts +2 -0
- package/dist/i18n/locales/en-gb.d.ts +2 -0
- package/dist/i18n/locales/en-us.d.ts +2 -0
- package/dist/i18n/locales/es-es.d.ts +2 -0
- package/dist/i18n/locales/fr-fr.d.ts +2 -0
- package/dist/i18n/locales/index.d.ts +9 -0
- package/dist/i18n/locales/it-it.d.ts +2 -0
- package/dist/i18n/locales/nl-nl.d.ts +2 -0
- package/dist/i18n/locales/no-no.d.ts +2 -0
- package/dist/i18n/locales/sv-se.d.ts +2 -0
- package/dist/i18n/types/LocalizationKey.d.ts +8 -0
- package/dist/i18n/types/PropertyFile.d.ts +39 -0
- package/dist/i18n/types/index.d.ts +1 -0
- package/dist/i18n/utils/getText.d.ts +16 -0
- package/dist/i18n/utils/index.d.ts +1 -0
- package/dist/index.css +12 -0
- package/dist/lookups/caProvinceOptions.d.ts +4 -0
- package/dist/lookups/countryOptions.d.ts +7 -0
- package/dist/lookups/fatcaCodeOptions.d.ts +4 -0
- package/dist/lookups/foreignAccountHolderAccountTypeOptions.d.ts +13 -0
- package/dist/lookups/foreignOtherAccountTypeOptions.d.ts +15 -0
- package/dist/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +11 -0
- package/dist/lookups/foreignTrustAccountTypeOptions.d.ts +7 -0
- package/dist/lookups/index.d.ts +12 -0
- package/dist/lookups/payeeCodeOptions.d.ts +4 -0
- package/dist/lookups/usAccountHolderAccountTypeOptions.d.ts +21 -0
- package/dist/lookups/usLlcAccountTypeOptions.d.ts +7 -0
- package/dist/lookups/usRegardedOwnerAccountTypeOptions.d.ts +15 -0
- package/dist/lookups/usStateOptions.d.ts +4 -0
- package/dist/main.d.ts +1 -0
- package/dist/minimal.css +33 -0
- package/dist/paths/AddressInput/AddressInput.d.ts +8 -0
- package/dist/paths/AddressInput/index.d.ts +1 -0
- package/dist/paths/FinancialAccountInput/FinancialAccountInput.d.ts +6 -0
- package/dist/paths/FinancialAccountInput/index.d.ts +1 -0
- package/dist/paths/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +2 -0
- package/dist/paths/PlaceOfBirthInput/index.d.ts +1 -0
- package/dist/paths/ResidenceInput/ResidenceInput.d.ts +10 -0
- package/dist/paths/ResidenceInput/index.d.ts +1 -0
- package/dist/paths/RowInput/CheckBoxRow/CheckBoxRow.d.ts +8 -0
- package/dist/paths/RowInput/CheckBoxRow/index.d.ts +1 -0
- package/dist/paths/RowInput/ErrorRow/ErrorRow.d.ts +2 -0
- package/dist/paths/RowInput/ErrorRow/index.d.ts +1 -0
- package/dist/paths/RowInput/RadioButtonRow/RadioButtonRow.d.ts +8 -0
- package/dist/paths/RowInput/RadioButtonRow/index.d.ts +1 -0
- package/dist/paths/RowInput/SelectRow/SelectRow.d.ts +9 -0
- package/dist/paths/RowInput/SelectRow/index.d.ts +1 -0
- package/dist/paths/RowInput/TextInputRow/TextInputRow.d.ts +10 -0
- package/dist/paths/RowInput/TextInputRow/index.d.ts +1 -0
- package/dist/paths/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +3 -0
- package/dist/paths/RowInput/ToggleButtonRow/index.d.ts +1 -0
- package/dist/paths/RowInput/VisibleRow/VisibleRow.d.ts +9 -0
- package/dist/paths/RowInput/VisibleRow/index.d.ts +1 -0
- package/dist/paths/RowInput/index.d.ts +6 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderClassification/AccountHolderClassification.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderClassification/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderContact/AccountHolderContact.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderContact/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTax/AccountHolderTax.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTax/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/AccountHolderTaxClarification/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/Exemptions/Exemptions.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/Exemptions/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerClassification/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerContact/RegardedOwnerContact.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerContact/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerTax/RegardedOwnerTax.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/RegardedOwnerTax/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/Summary/Recap.d.ts +2 -0
- package/dist/paths/TaxDocumentationPath/Summary/Summary.d.ts +3 -0
- package/dist/paths/TaxDocumentationPath/Summary/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/TaxDocumentationDAC7Path.d.ts +10 -0
- package/dist/paths/TaxDocumentationPath/TaxDocumentationPath.d.ts +12 -0
- package/dist/paths/TaxDocumentationPath/index.d.ts +1 -0
- package/dist/paths/TaxDocumentationPath/steps.d.ts +8 -0
- package/dist/paths/VatInput/VatInput.d.ts +8 -0
- package/dist/paths/VatInput/index.d.ts +1 -0
- package/dist/paths/index.d.ts +1 -0
- package/dist/services/api.d.ts +5 -0
- package/dist/taxbit-basic-horizontal.css +190 -0
- package/dist/taxbit-basic.css +189 -0
- package/dist/taxbit-collect-components.es.d.ts +1 -0
- package/dist/taxbit-collect-components.es.js +9342 -0
- package/dist/taxbit-collect-components.umd.js +43 -0
- package/dist/types/AccountType.d.ts +6 -0
- package/dist/types/CaProvinceCode.d.ts +1 -0
- package/dist/types/CountryCode.d.ts +3 -0
- package/dist/types/Form.d.ts +1 -0
- package/dist/types/TaxDocumentation.d.ts +118 -0
- package/dist/types/UsStateCode.d.ts +1 -0
- package/dist/types/Utilities.d.ts +4 -0
- package/dist/types/Yes.d.ts +1 -0
- package/dist/types/YesNo.d.ts +6 -0
- package/dist/types/external/ComprehensiveTaxDocumentation.d.ts +76 -0
- package/dist/types/external/index.d.ts +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/ui/Actions/Actions.d.ts +10 -0
- package/dist/ui/Actions/index.d.ts +1 -0
- package/dist/ui/CheckBox/CheckBox.d.ts +8 -0
- package/dist/ui/CheckBox/index.d.ts +1 -0
- package/dist/ui/RadioButtons/RadioButtons.d.ts +13 -0
- package/dist/ui/RadioButtons/index.d.ts +1 -0
- package/dist/ui/Select/Select.d.ts +27 -0
- package/dist/ui/Select/index.d.ts +1 -0
- package/dist/ui/TextInput/TextInput.d.ts +9 -0
- package/dist/ui/TextInput/index.d.ts +1 -0
- package/dist/ui/ToggleButton/ToggleButton.d.ts +6 -0
- package/dist/ui/ToggleButton/index.d.ts +1 -0
- package/dist/ui/index.d.ts +6 -0
- package/dist/utils/cx.d.ts +1 -0
- package/dist/utils/date.d.ts +3 -0
- package/dist/utils/getFieldsState.d.ts +10 -0
- package/dist/utils/getHintKeyMap.d.ts +103 -0
- package/dist/utils/getPromptKeyMap.d.ts +103 -0
- package/dist/utils/getSupportedFields.d.ts +6 -0
- package/dist/utils/getVerboseDate.d.ts +1 -0
- package/dist/utils/getVisibleQuestions.d.ts +6 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/isBlank.d.ts +2 -0
- package/dist/utils/transformInbound.d.ts +2 -0
- package/dist/utils/transformOutbound.d.ts +3 -0
- package/dist/validations/__tests__/validations.test.d.ts +1 -0
- package/dist/validations/index.d.ts +1 -0
- package/dist/validations/validations.d.ts +7 -0
- package/dist/widgets/TaxDocumentationWidget/TaxDocumentationDAC7Widget.d.ts +12 -0
- package/dist/widgets/TaxDocumentationWidget/TaxDocumentationWidget.d.ts +12 -0
- package/dist/widgets/TaxDocumentationWidget/index.d.ts +2 -0
- package/dist/widgets/index.d.ts +1 -0
- package/package.json +54 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AccountHolderContact.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AccountHolderTax.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AccountHolderTaxClarification.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Exemptions.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./RegardedOwnerClassification.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./RegardedOwnerContact.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./RegardedOwnerTax.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Summary.tsx";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { Locale } from "i18n";
|
|
3
|
+
import type { TaxDocumentation } from "types";
|
|
4
|
+
type TaxDocumentationDAC7PathProps = {
|
|
5
|
+
initialData?: TaxDocumentation;
|
|
6
|
+
onSubmit: (data: TaxDocumentation) => void;
|
|
7
|
+
initialLanguage?: Locale;
|
|
8
|
+
};
|
|
9
|
+
export declare const TaxDocumentationDAC7Path: ({ initialData, onSubmit, initialLanguage, }: TaxDocumentationDAC7PathProps) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { Locale } from "i18n";
|
|
3
|
+
import type { Form } from "types/Form";
|
|
4
|
+
import type { TaxDocumentation } from "types";
|
|
5
|
+
type TaxDocumentationPathProps = {
|
|
6
|
+
initialData?: TaxDocumentation;
|
|
7
|
+
onSubmit: (data: TaxDocumentation) => void;
|
|
8
|
+
initialLanguage?: Locale;
|
|
9
|
+
forms?: Form[];
|
|
10
|
+
};
|
|
11
|
+
export declare const TaxDocumentationPath: ({ initialData, onSubmit, initialLanguage, forms, }: TaxDocumentationPathProps) => React.JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TaxDocumentationPath';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./AccountHolderClassification";
|
|
2
|
+
export * from "./AccountHolderContact";
|
|
3
|
+
export * from "./AccountHolderTax";
|
|
4
|
+
export * from "./Exemptions";
|
|
5
|
+
export * from "./RegardedOwnerClassification";
|
|
6
|
+
export * from "./RegardedOwnerContact";
|
|
7
|
+
export * from "./RegardedOwnerTax";
|
|
8
|
+
export * from "./Summary";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./VatInput.tsx";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TaxDocumentationPath";
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
+
line-height: 24px;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
|
|
6
|
+
color: #12263F;
|
|
7
|
+
font-synthesis: none;
|
|
8
|
+
text-rendering: optimizeLegibility;
|
|
9
|
+
-webkit-font-smoothing: antialiased;
|
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
|
11
|
+
-webkit-text-size-adjust: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
button {
|
|
15
|
+
border-radius: 8px;
|
|
16
|
+
border: 1px solid transparent;
|
|
17
|
+
padding: 0.5em 1em;
|
|
18
|
+
font-size: 1em;
|
|
19
|
+
font-family: inherit;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition: all 0.1s ease-in-out;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
button:focus,
|
|
25
|
+
button:focus-visible {
|
|
26
|
+
outline: 4px auto -webkit-focus-ring-color;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.taxbit-page {
|
|
30
|
+
max-width: 600px;
|
|
31
|
+
padding: 12px;
|
|
32
|
+
margin-bottom: 100px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.taxbit-title {
|
|
36
|
+
font-size: 1.2em;
|
|
37
|
+
line-height: 1.1;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
padding-bottom: 8px;
|
|
40
|
+
border-bottom: solid 1px #E4EBF6;
|
|
41
|
+
margin-bottom: 8px;
|
|
42
|
+
color: #12263F;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.taxbit-section {
|
|
46
|
+
margin: 20px 0;
|
|
47
|
+
.taxbit-sectionTitle {
|
|
48
|
+
padding-bottom: 4px;
|
|
49
|
+
border-bottom: solid 1px #E4EBF6;
|
|
50
|
+
margin-bottom: 8px;
|
|
51
|
+
opacity: .8;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.taxbit-row {
|
|
56
|
+
margin-bottom: 10px;
|
|
57
|
+
align-items: flex-start;
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: row;
|
|
60
|
+
&.taxbit-error {
|
|
61
|
+
.taxbit-label {
|
|
62
|
+
color: red;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.taxbit-errorMessage {
|
|
66
|
+
color: red;
|
|
67
|
+
font-size: .8em;
|
|
68
|
+
}
|
|
69
|
+
.taxbit-hint {
|
|
70
|
+
font-size: .8em;
|
|
71
|
+
opacity: .7;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.taxbit-rowActions {
|
|
76
|
+
flex: 0 0 10%;
|
|
77
|
+
}
|
|
78
|
+
.taxbit-rowActionButton, .taxbit-toggle-button {
|
|
79
|
+
font-size: .8em;
|
|
80
|
+
padding: 0.2em 1em;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.taxbit-label {
|
|
84
|
+
flex: 0 0 40%;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
.subLabel {
|
|
87
|
+
font-size: 0.7em;
|
|
88
|
+
opacity: 0.7;
|
|
89
|
+
font-weight: 400;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
.taxbit-input, .taxbit-select {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
height: 33px;
|
|
95
|
+
width: 100%;
|
|
96
|
+
padding: 5px;
|
|
97
|
+
border-radius: 4px;
|
|
98
|
+
border: 1px solid #bfcde2;
|
|
99
|
+
color: rgb(18, 38, 63);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.taxbit-checkBox {
|
|
103
|
+
margin: 5px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.taxbit-radioButtons {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
.taxbit-radioButton {
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.taxbit-inputStatus {
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
width: 100%;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.taxbit-rowValue {
|
|
122
|
+
display: flex;
|
|
123
|
+
flex: 1;
|
|
124
|
+
gap: 10px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.taxbit-rowContent {
|
|
128
|
+
display: flex;
|
|
129
|
+
gap: 10px;
|
|
130
|
+
width: 100%;
|
|
131
|
+
flex: 1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.taxbit-city {
|
|
135
|
+
flex: 0 0 60%;
|
|
136
|
+
}
|
|
137
|
+
.taxbit-state {
|
|
138
|
+
flex: 1;
|
|
139
|
+
}
|
|
140
|
+
.taxbit-postalCode {
|
|
141
|
+
flex: 0 0 40%;
|
|
142
|
+
margin-right: 50%;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
.taxbit-stepActions {
|
|
147
|
+
display: flex;
|
|
148
|
+
|
|
149
|
+
padding-top: 8px;
|
|
150
|
+
border-top: solid 1px #E4EBF6;
|
|
151
|
+
margin-top: 12px;
|
|
152
|
+
|
|
153
|
+
.taxbit-primaryActions {
|
|
154
|
+
> button {
|
|
155
|
+
background-color: rgb(0, 96, 223);
|
|
156
|
+
color: #ffffff;
|
|
157
|
+
}
|
|
158
|
+
> button:hover {
|
|
159
|
+
border-color: rgb(2, 80, 187);
|
|
160
|
+
background-color: rgb(2, 80, 187);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.taxbit-secondaryActions {
|
|
165
|
+
> button {
|
|
166
|
+
background-color: #f9f9f9;
|
|
167
|
+
color: #1a1a1a;
|
|
168
|
+
}
|
|
169
|
+
> button:hover {
|
|
170
|
+
background-color: #e9e9e9;
|
|
171
|
+
color: #000;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.taxbit-primaryActions {
|
|
176
|
+
text-align: right;
|
|
177
|
+
> button:nth-child(2) {
|
|
178
|
+
margin-left: 10px;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
.taxbit-secondaryActions {
|
|
182
|
+
text-align: left;
|
|
183
|
+
> button:nth-child(2) {
|
|
184
|
+
margin-left: 10px;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
.taxbit-primaryActions, .taxbit-secondaryActions {
|
|
188
|
+
flex: 1;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
+
line-height: 24px;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
|
|
6
|
+
color: #12263F;
|
|
7
|
+
font-synthesis: none;
|
|
8
|
+
text-rendering: optimizeLegibility;
|
|
9
|
+
-webkit-font-smoothing: antialiased;
|
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
|
11
|
+
-webkit-text-size-adjust: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
button {
|
|
15
|
+
border-radius: 8px;
|
|
16
|
+
border: 1px solid transparent;
|
|
17
|
+
padding: 0.5em 1em;
|
|
18
|
+
font-size: 1em;
|
|
19
|
+
font-family: inherit;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition: all 0.1s ease-in-out;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
button:focus,
|
|
25
|
+
button:focus-visible {
|
|
26
|
+
outline: 4px auto -webkit-focus-ring-color;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.taxbit-page {
|
|
30
|
+
max-width: 600px;
|
|
31
|
+
padding: 12px;
|
|
32
|
+
margin-bottom: 100px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.taxbit-title {
|
|
36
|
+
font-size: 1.2em;
|
|
37
|
+
line-height: 1.1;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
padding-bottom: 8px;
|
|
40
|
+
border-bottom: solid 1px #E4EBF6;
|
|
41
|
+
margin-bottom: 8px;
|
|
42
|
+
color: #12263F;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.taxbit-section {
|
|
46
|
+
margin: 20px 0;
|
|
47
|
+
.taxbit-sectionTitle {
|
|
48
|
+
padding-bottom: 4px;
|
|
49
|
+
border-bottom: solid 1px #E4EBF6;
|
|
50
|
+
margin-bottom: 8px;
|
|
51
|
+
opacity: .8;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.taxbit-row {
|
|
56
|
+
margin-bottom: 10px;
|
|
57
|
+
align-items: flex-start;
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
&.taxbit-error {
|
|
61
|
+
.taxbit-label {
|
|
62
|
+
color: red;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.taxbit-errorMessage {
|
|
66
|
+
color: red;
|
|
67
|
+
font-size: .8em;
|
|
68
|
+
}
|
|
69
|
+
.taxbit-hint {
|
|
70
|
+
font-size: .8em;
|
|
71
|
+
opacity: .7;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.taxbit-rowActions {
|
|
76
|
+
flex: 0 0 10%;
|
|
77
|
+
}
|
|
78
|
+
.taxbit-rowActionButton, .taxbit-toggle-button {
|
|
79
|
+
font-size: .8em;
|
|
80
|
+
padding: 0.2em 1em;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.taxbit-label {
|
|
84
|
+
flex: 0 0 40%;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
.subLabel {
|
|
87
|
+
font-size: 0.7em;
|
|
88
|
+
opacity: 0.7;
|
|
89
|
+
font-weight: 400;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
.taxbit-input, .taxbit-select {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
height: 33px;
|
|
95
|
+
width: 100%;
|
|
96
|
+
padding: 5px;
|
|
97
|
+
border-radius: 4px;
|
|
98
|
+
border: 1px solid #bfcde2;
|
|
99
|
+
color: rgb(18, 38, 63);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.taxbit-checkBox {
|
|
103
|
+
margin: 5px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.taxbit-radioButtons {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
.taxbit-radioButton {
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.taxbit-inputStatus {
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
width: 100%;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.taxbit-rowValue {
|
|
122
|
+
display: flex;
|
|
123
|
+
flex: 1;
|
|
124
|
+
gap: 10px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.taxbit-rowContent {
|
|
128
|
+
display: flex;
|
|
129
|
+
gap: 10px;
|
|
130
|
+
width: 100%;
|
|
131
|
+
flex: 1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.taxbit-city {
|
|
135
|
+
flex: 0 0 60%;
|
|
136
|
+
}
|
|
137
|
+
.taxbit-state {
|
|
138
|
+
flex: 1;
|
|
139
|
+
}
|
|
140
|
+
.taxbit-postalCode {
|
|
141
|
+
flex: 0 0 40%;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
.taxbit-stepActions {
|
|
146
|
+
display: flex;
|
|
147
|
+
|
|
148
|
+
padding-top: 8px;
|
|
149
|
+
border-top: solid 1px #E4EBF6;
|
|
150
|
+
margin-top: 12px;
|
|
151
|
+
|
|
152
|
+
.taxbit-primaryActions {
|
|
153
|
+
> button {
|
|
154
|
+
background-color: rgb(0, 96, 223);
|
|
155
|
+
color: #ffffff;
|
|
156
|
+
}
|
|
157
|
+
> button:hover {
|
|
158
|
+
border-color: rgb(2, 80, 187);
|
|
159
|
+
background-color: rgb(2, 80, 187);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.taxbit-secondaryActions {
|
|
164
|
+
> button {
|
|
165
|
+
background-color: #f9f9f9;
|
|
166
|
+
color: #1a1a1a;
|
|
167
|
+
}
|
|
168
|
+
> button:hover {
|
|
169
|
+
background-color: #e9e9e9;
|
|
170
|
+
color: #000;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.taxbit-primaryActions {
|
|
175
|
+
text-align: right;
|
|
176
|
+
> button:nth-child(2) {
|
|
177
|
+
margin-left: 10px;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
.taxbit-secondaryActions {
|
|
181
|
+
text-align: left;
|
|
182
|
+
> button:nth-child(2) {
|
|
183
|
+
margin-left: 10px;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
.taxbit-primaryActions, .taxbit-secondaryActions {
|
|
187
|
+
flex: 1;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './entry/index'
|