@gusto/embedded-react-sdk 0.17.0 → 0.18.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.
Files changed (364) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/components/Base/Base.js +50 -65
  3. package/dist/components/Base/Base.js.map +1 -1
  4. package/dist/components/Base/useBase.d.ts +2 -5
  5. package/dist/components/Base/useBase.js.map +1 -1
  6. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js +42 -36
  7. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
  8. package/dist/components/Common/HamburgerMenu/HamburgerMenu.js +1 -1
  9. package/dist/components/Common/HamburgerMenu/HamburgerMenu.js.map +1 -1
  10. package/dist/components/Common/SignatureForm/SignatureForm.js +4 -7
  11. package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
  12. package/dist/components/Common/SignatureForm/SignatureFormActions.js +10 -13
  13. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  14. package/dist/components/Common/SignatureForm/SignatureFormFields.js +10 -13
  15. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  16. package/dist/components/Common/UI/DatePicker/DatePicker.module.scss.js +8 -8
  17. package/dist/components/Common/UI/Dialog/Dialog.js +50 -76
  18. package/dist/components/Common/UI/Dialog/Dialog.js.map +1 -1
  19. package/dist/components/Common/UI/Dialog/Dialog.module.scss.js +8 -14
  20. package/dist/components/Common/UI/Dialog/Dialog.module.scss.js.map +1 -1
  21. package/dist/components/Common/UI/Link/LinkTypes.d.ts +7 -6
  22. package/dist/components/Common/UI/Modal/Modal.d.ts +2 -0
  23. package/dist/components/Common/UI/Modal/Modal.js +90 -0
  24. package/dist/components/Common/UI/Modal/Modal.js.map +1 -0
  25. package/dist/components/Common/UI/Modal/Modal.module.scss.js +26 -0
  26. package/dist/components/Common/UI/Modal/Modal.module.scss.js.map +1 -0
  27. package/dist/components/Common/UI/Modal/ModalTypes.d.ts +34 -0
  28. package/dist/components/Common/UI/Modal/ModalTypes.js +8 -0
  29. package/dist/components/Common/UI/Modal/ModalTypes.js.map +1 -0
  30. package/dist/components/Common/UI/Modal/index.d.ts +3 -0
  31. package/dist/components/Common/UI/Tabs/Tabs.d.ts +0 -5
  32. package/dist/components/Common/UI/Tabs/Tabs.js +45 -16
  33. package/dist/components/Common/UI/Tabs/Tabs.js.map +1 -1
  34. package/dist/components/Common/UI/Tabs/Tabs.module.scss.js +8 -4
  35. package/dist/components/Common/UI/Tabs/Tabs.module.scss.js.map +1 -1
  36. package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +7 -0
  37. package/dist/components/Common/index.d.ts +0 -1
  38. package/dist/components/Company/AssignSignatory/AssignSignatory.js +6 -8
  39. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  40. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -8
  41. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  42. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -10
  43. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  44. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +2 -3
  45. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  46. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +2 -3
  47. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
  48. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +4 -6
  49. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  50. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -8
  51. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  52. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -6
  53. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  54. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +9 -10
  55. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
  56. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +4 -6
  57. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  58. package/dist/components/Company/AssignSignatory/TitleSelect.js +7 -8
  59. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  60. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +6 -8
  61. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  62. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -9
  63. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  64. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -11
  65. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  66. package/dist/components/Company/BankAccount/BankAccountForm/context.js +4 -6
  67. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  68. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +10 -12
  69. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  70. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +11 -13
  71. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  72. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -6
  73. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  74. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -7
  75. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  76. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +11 -13
  77. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  78. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +4 -6
  79. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  80. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +6 -8
  81. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  82. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +4 -6
  83. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  84. package/dist/components/Company/FederalTaxes/Actions.js +7 -9
  85. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  86. package/dist/components/Company/FederalTaxes/FederalTaxes.js +15 -17
  87. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  88. package/dist/components/Company/FederalTaxes/Form.js +2 -4
  89. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  90. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +9 -11
  91. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  92. package/dist/components/Company/Industry/Actions.js +5 -7
  93. package/dist/components/Company/Industry/Actions.js.map +1 -1
  94. package/dist/components/Company/Industry/Context.js +7 -9
  95. package/dist/components/Company/Industry/Context.js.map +1 -1
  96. package/dist/components/Company/Industry/Edit.js +10 -12
  97. package/dist/components/Company/Industry/Edit.js.map +1 -1
  98. package/dist/components/Company/Locations/LocationForm/Actions.js +6 -8
  99. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  100. package/dist/components/Company/Locations/LocationForm/Form.js +4 -5
  101. package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
  102. package/dist/components/Company/Locations/LocationForm/LocationForm.js +10 -12
  103. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  104. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +4 -6
  105. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  106. package/dist/components/Company/Locations/LocationsList/Actions.js +6 -8
  107. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  108. package/dist/components/Company/Locations/LocationsList/List.js +6 -8
  109. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  110. package/dist/components/Company/Locations/LocationsList/LocationsList.js +12 -14
  111. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  112. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +4 -6
  113. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  114. package/dist/components/Company/OnboardingOverview/Completed.js +12 -14
  115. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  116. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +6 -8
  117. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  118. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +2 -4
  119. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  120. package/dist/components/Company/OnboardingOverview/context.js +4 -6
  121. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  122. package/dist/components/Company/PaySchedule/PaySchedule.js +40 -42
  123. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  124. package/dist/components/Company/PaySchedule/_parts/Actions.js +10 -12
  125. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  126. package/dist/components/Company/PaySchedule/_parts/Edit.js +35 -37
  127. package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
  128. package/dist/components/Company/PaySchedule/_parts/Head.js +17 -19
  129. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  130. package/dist/components/Company/PaySchedule/_parts/List.js +13 -15
  131. package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
  132. package/dist/components/Company/PaySchedule/usePaySchedule.js +6 -8
  133. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  134. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -7
  135. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  136. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +4 -6
  137. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  138. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -8
  139. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  140. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +5 -7
  141. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  142. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +4 -6
  143. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  144. package/dist/components/Contractor/Address/Address.js +4 -6
  145. package/dist/components/Contractor/Address/Address.js.map +1 -1
  146. package/dist/components/Contractor/Address/Form.js +2 -3
  147. package/dist/components/Contractor/Address/Form.js.map +1 -1
  148. package/dist/components/Contractor/Address/useAddress.js +6 -8
  149. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  150. package/dist/components/Contractor/ContractorList/index.js +30 -31
  151. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  152. package/dist/components/Contractor/NewHireReport/NewHireReport.js +13 -14
  153. package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
  154. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +4 -6
  155. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  156. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +2 -3
  157. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  158. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -3
  159. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  160. package/dist/components/Contractor/Profile/useContractorProfile.js +3 -4
  161. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  162. package/dist/components/Contractor/Submit/Submit.js +3 -4
  163. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  164. package/dist/components/Employee/Compensation/Actions.js +5 -6
  165. package/dist/components/Employee/Compensation/Actions.js.map +1 -1
  166. package/dist/components/Employee/Compensation/Edit.js +10 -9
  167. package/dist/components/Employee/Compensation/Edit.js.map +1 -1
  168. package/dist/components/Employee/Compensation/List.js +23 -25
  169. package/dist/components/Employee/Compensation/List.js.map +1 -1
  170. package/dist/components/Employee/Deductions/DeductionsComponents.js +1 -1
  171. package/dist/components/Employee/Deductions/DeductionsComponents.js.map +1 -1
  172. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.d.ts +6 -6
  173. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.d.ts +2 -2
  174. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +3 -4
  175. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
  176. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +44 -40
  177. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
  178. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js +3 -4
  179. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js.map +1 -1
  180. package/dist/components/Employee/Deductions/useDeductions.d.ts +2 -2
  181. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +6 -8
  182. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  183. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +9 -11
  184. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  185. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -4
  186. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  187. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +4 -6
  188. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  189. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +11 -13
  190. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  191. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +4 -6
  192. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  193. package/dist/components/Employee/EmployeeList/Actions.js +4 -6
  194. package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
  195. package/dist/components/Employee/EmployeeList/EmployeeList.js +3 -4
  196. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  197. package/dist/components/Employee/EmployeeList/Head.js +5 -7
  198. package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
  199. package/dist/components/Employee/EmployeeList/List.js +18 -19
  200. package/dist/components/Employee/EmployeeList/List.js.map +1 -1
  201. package/dist/components/Employee/EmployeeList/useEmployeeList.js +4 -6
  202. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
  203. package/dist/components/Employee/FederalTaxes/Actions.js +6 -8
  204. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  205. package/dist/components/Employee/FederalTaxes/FederalForm.js +11 -13
  206. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  207. package/dist/components/Employee/FederalTaxes/FederalTaxes.js +8 -8
  208. package/dist/components/Employee/FederalTaxes/FederalTaxes.js.map +1 -1
  209. package/dist/components/Employee/FederalTaxes/Head.js +6 -6
  210. package/dist/components/Employee/FederalTaxes/Head.js.map +1 -1
  211. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +4 -6
  212. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
  213. package/dist/components/Employee/Landing/Landing.js +12 -13
  214. package/dist/components/Employee/Landing/Landing.js.map +1 -1
  215. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
  216. package/dist/components/Employee/PaymentMethod/Actions.js +7 -9
  217. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  218. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +4 -5
  219. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
  220. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +9 -11
  221. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  222. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +6 -7
  223. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
  224. package/dist/components/Employee/PaymentMethod/Split.js +3 -4
  225. package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
  226. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +6 -8
  227. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  228. package/dist/components/Employee/Profile/Actions.js +7 -9
  229. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  230. package/dist/components/Employee/Profile/AdminPersonalDetails.js +38 -35
  231. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  232. package/dist/components/Employee/Profile/HomeAddress.d.ts +52 -0
  233. package/dist/components/Employee/Profile/HomeAddress.js +63 -44
  234. package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
  235. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +20 -21
  236. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
  237. package/dist/components/Employee/Profile/Profile.js +150 -143
  238. package/dist/components/Employee/Profile/Profile.js.map +1 -1
  239. package/dist/components/Employee/Profile/useProfile.d.ts +1 -0
  240. package/dist/components/Employee/Profile/useProfile.js +4 -6
  241. package/dist/components/Employee/Profile/useProfile.js.map +1 -1
  242. package/dist/components/Employee/StateTaxes/Actions.js +8 -10
  243. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  244. package/dist/components/Employee/StateTaxes/StateTaxes.js +4 -4
  245. package/dist/components/Employee/StateTaxes/StateTaxes.js.map +1 -1
  246. package/dist/components/Employee/StateTaxes/useStateTaxes.js +4 -6
  247. package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
  248. package/dist/components/Employee/Taxes/Actions.js +8 -10
  249. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  250. package/dist/components/Employee/Taxes/FederalForm.js +9 -11
  251. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  252. package/dist/components/Employee/Taxes/FederalHead.js +6 -6
  253. package/dist/components/Employee/Taxes/FederalHead.js.map +1 -1
  254. package/dist/components/Employee/Taxes/Taxes.js +5 -5
  255. package/dist/components/Employee/Taxes/Taxes.js.map +1 -1
  256. package/dist/components/Employee/Taxes/useTaxes.js +4 -6
  257. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  258. package/dist/components/Flow/Flow.js +16 -18
  259. package/dist/components/Flow/Flow.js.map +1 -1
  260. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +9 -11
  261. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  262. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +6 -7
  263. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
  264. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +64 -64
  265. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  266. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +133 -135
  267. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  268. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.module.scss.js +5 -3
  269. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.module.scss.js.map +1 -1
  270. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +127 -119
  271. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  272. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +5 -7
  273. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  274. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +3 -1
  275. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js +22 -22
  276. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  277. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +40 -27
  278. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  279. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +50 -72
  280. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  281. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +2 -4
  282. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  283. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +1 -1
  284. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +4 -4
  285. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
  286. package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.js +20 -20
  287. package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.js.map +1 -1
  288. package/dist/components/Payroll/PayrollList/PayrollList.js +24 -21
  289. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  290. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +3 -9
  291. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +117 -129
  292. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  293. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +6 -6
  294. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +89 -78
  295. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  296. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +192 -211
  297. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  298. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.module.scss.js +8 -0
  299. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.module.scss.js.map +1 -0
  300. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +2 -3
  301. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  302. package/dist/components/Payroll/usePreparedPayrollData.js +8 -10
  303. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  304. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +40 -38
  305. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
  306. package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -0
  307. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
  308. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  309. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +5 -8
  310. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  311. package/dist/helpers/apiErrorToList.d.ts +7 -0
  312. package/dist/helpers/apiErrorToList.js +23 -0
  313. package/dist/helpers/apiErrorToList.js.map +1 -0
  314. package/dist/helpers/breadcrumbHelpers.js +30 -30
  315. package/dist/helpers/breadcrumbHelpers.js.map +1 -1
  316. package/dist/helpers/dateFormatting.d.ts +15 -7
  317. package/dist/helpers/dateFormatting.js +88 -35
  318. package/dist/helpers/dateFormatting.js.map +1 -1
  319. package/dist/helpers/formattedStrings.js +11 -12
  320. package/dist/helpers/formattedStrings.js.map +1 -1
  321. package/dist/hooks/useAsyncError.js.map +1 -0
  322. package/dist/hooks/useDateFormatter.d.ts +19 -0
  323. package/dist/hooks/useDateFormatter.js +24 -0
  324. package/dist/hooks/useDateFormatter.js.map +1 -0
  325. package/dist/hooks/useMenu.js.map +1 -0
  326. package/dist/{components/Common/hooks → hooks}/useNumberFormatter.js +1 -1
  327. package/dist/hooks/useNumberFormatter.js.map +1 -0
  328. package/dist/hooks/useOverflowDetection/index.d.ts +3 -0
  329. package/dist/hooks/useOverflowDetection/useOverflowDetection.d.ts +7 -0
  330. package/dist/hooks/useOverflowDetection/useOverflowDetection.js +28 -0
  331. package/dist/hooks/useOverflowDetection/useOverflowDetection.js.map +1 -0
  332. package/dist/i18n/en/Company.PaySchedule.json.js +9 -9
  333. package/dist/i18n/en/Employee.Compensation.json.js +15 -15
  334. package/dist/i18n/en/Employee.Deductions.json.js +131 -105
  335. package/dist/i18n/en/Employee.Deductions.json.js.map +1 -1
  336. package/dist/i18n/en/Employee.FederalTaxes.json.js +9 -9
  337. package/dist/i18n/en/Employee.HomeAddress.json.js +1 -1
  338. package/dist/i18n/en/Employee.Taxes.json.js +25 -27
  339. package/dist/i18n/en/Employee.Taxes.json.js.map +1 -1
  340. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +1 -1
  341. package/dist/i18n/en/Payroll.PayrollOverview.json.js +23 -23
  342. package/dist/i18n/en/common.json.d.ts +2 -1
  343. package/dist/i18n/en/common.json.js +4 -4
  344. package/dist/style.css +1 -1
  345. package/dist/types/i18next.d.ts +16 -1
  346. package/package.json +9 -9
  347. package/dist/components/Common/hooks/useAsyncError.js.map +0 -1
  348. package/dist/components/Common/hooks/useMenu.js.map +0 -1
  349. package/dist/components/Common/hooks/useNumberFormatter.js.map +0 -1
  350. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +0 -221
  351. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +0 -1
  352. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.module.scss.js +0 -8
  353. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.module.scss.js.map +0 -1
  354. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +0 -132
  355. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +0 -1
  356. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.module.scss.js +0 -14
  357. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.module.scss.js.map +0 -1
  358. package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.js +0 -98
  359. package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.js.map +0 -1
  360. /package/dist/{components/Common/hooks → hooks}/useAsyncError.d.ts +0 -0
  361. /package/dist/{components/Common/hooks → hooks}/useAsyncError.js +0 -0
  362. /package/dist/{components/Common/hooks → hooks}/useMenu.d.ts +0 -0
  363. /package/dist/{components/Common/hooks → hooks}/useMenu.js +0 -0
  364. /package/dist/{components/Common/hooks → hooks}/useNumberFormatter.d.ts +0 -0
@@ -1,98 +0,0 @@
1
- import { jsx as n, jsxs as a } from "react/jsx-runtime";
2
- import { useTranslation as N } from "react-i18next";
3
- import { useState as h } from "react";
4
- import { useGarnishmentsListSuspense as A } from "@gusto/embedded-api/react-query/garnishmentsList";
5
- import { useGarnishmentsGetChildSupportDataSuspense as R } from "@gusto/embedded-api/react-query/garnishmentsGetChildSupportData";
6
- import c from "./DeductionsForm.module.scss.js";
7
- import P from "./ChildSupportForm.js";
8
- import O from "./CustomDeductionForm.js";
9
- import { BaseComponent as _ } from "../../../Base/Base.js";
10
- import { useBase as B } from "../../../Base/useBase.js";
11
- import { Grid as H } from "../../../Common/Grid/Grid.js";
12
- import { useComponentDictionary as F, useI18n as U } from "../../../../i18n/I18n.js";
13
- import { componentEvents as j } from "../../../../shared/constants.js";
14
- import { useComponentContext as k } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
15
- import w from "../../../../assets/icons/caret-left.svg.js";
16
- function ie(s) {
17
- return /* @__PURE__ */ n(_, { ...s, children: /* @__PURE__ */ n(M, { ...s, children: s.children }) });
18
- }
19
- const I = ["child_support"];
20
- function M({ className: s, employeeId: r, deductionId: u, dictionary: g }) {
21
- const { onEvent: D } = B(), { t } = N("Employee.Deductions"), i = k();
22
- F("Employee.Deductions", g), U("Employee.Deductions");
23
- const { data: f } = A({ employeeId: r }), { data: l } = R({}), o = u ? f.garnishmentList?.find((e) => e.uuid === u) ?? null : null, T = t(o ? "editDeductionTitle" : "addDeductionTitle"), d = o?.garnishmentType, S = l.childSupportData?.agencies?.map((e) => ({
24
- label: e.name,
25
- value: e.state
26
- })) || [], [m, y] = h(
27
- d && I.includes(d) || !o
28
- ), C = o ? d ? "garnishment" : "custom" : "garnishment", [p, b] = h(o?.childSupport?.state || ""), E = (e) => {
29
- b(e);
30
- }, x = l.childSupportData?.agencies?.find((e) => e.state === p)?.fipsCodes?.map((e) => ({
31
- label: e.county?.length ? e.county : t("allCounties"),
32
- value: e.code
33
- })) || [], L = l.childSupportData?.agencies?.find(
34
- (e) => e.state === p
35
- ), v = () => {
36
- D(j.EMPLOYEE_DEDUCTION_CANCEL);
37
- }, G = (e) => {
38
- y(e === "garnishment");
39
- };
40
- return /* @__PURE__ */ a("section", { className: s, children: [
41
- /* @__PURE__ */ a(i.Button, { variant: "secondary", onClick: v, children: [
42
- /* @__PURE__ */ n(w, { className: c.leftCaretIcon }),
43
- t("backToDeductionsCta")
44
- ] }),
45
- /* @__PURE__ */ a(H, { gap: 16, className: c.formHeadingContainer, children: [
46
- /* @__PURE__ */ n(i.Heading, { as: "h2", children: T }),
47
- /* @__PURE__ */ a("section", { children: [
48
- /* @__PURE__ */ n(i.Text, { weight: "bold", children: t("externalPostTaxDeductions") }),
49
- /* @__PURE__ */ n(i.Text, { variant: "supporting", children: t("externalPostTaxDeductionsDescription") })
50
- ] }),
51
- /* @__PURE__ */ n(
52
- i.RadioGroup,
53
- {
54
- label: t("deductionTypeLabel"),
55
- description: t("deductionTypeRadioLabel"),
56
- options: [
57
- { value: "garnishment", label: t("garnishmentOption") },
58
- { value: "custom", label: t("customDeductionOption") }
59
- ],
60
- defaultValue: C,
61
- onChange: G,
62
- isRequired: !0,
63
- isDisabled: !!o,
64
- className: c.deductionTypeRadioGroup
65
- }
66
- ),
67
- m && /* @__PURE__ */ a("section", { children: [
68
- /* @__PURE__ */ n(i.Text, { weight: "bold", className: c.garnishmentTypeLabel, children: t("garnishmentType") }),
69
- /* @__PURE__ */ n(
70
- i.Select,
71
- {
72
- label: t("garnishmentType"),
73
- options: [],
74
- placeholder: t("childSupport"),
75
- shouldVisuallyHideLabel: !0,
76
- isDisabled: !0
77
- }
78
- )
79
- ] }),
80
- /* @__PURE__ */ n("hr", {})
81
- ] }),
82
- m ? /* @__PURE__ */ n(
83
- P,
84
- {
85
- deduction: o,
86
- employeeId: r,
87
- handleStateAgencySelect: E,
88
- stateAgencies: S,
89
- counties: x,
90
- selectedAgency: L
91
- }
92
- ) : /* @__PURE__ */ n(O, { deduction: o, employeeId: r })
93
- ] });
94
- }
95
- export {
96
- ie as UNSTABLEDeductionsForm
97
- };
98
- //# sourceMappingURL=UNSTABLE_DeductionsForm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UNSTABLE_DeductionsForm.js","sources":["../../../../../src/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useState } from 'react'\nimport { useGarnishmentsListSuspense } from '@gusto/embedded-api/react-query/garnishmentsList'\nimport { useGarnishmentsGetChildSupportDataSuspense } from '@gusto/embedded-api/react-query/garnishmentsGetChildSupportData'\nimport styles from './DeductionsForm.module.scss'\nimport ChildSupportForm from './ChildSupportForm'\nimport CustomDeductionForm from './CustomDeductionForm'\nimport {\n BaseComponent,\n type BaseComponentInterface,\n type CommonComponentInterface,\n useBase,\n} from '@/components/Base'\nimport { Grid } from '@/components/Common/Grid/Grid'\nimport { useI18n } from '@/i18n'\nimport { componentEvents } from '@/shared/constants'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport { useComponentDictionary } from '@/i18n/I18n'\nimport CaretLeft from '@/assets/icons/caret-left.svg?react'\ninterface DeductionsFormProps extends CommonComponentInterface<'Employee.Deductions'> {\n employeeId: string\n deductionId?: string | null\n}\n\nexport function UNSTABLEDeductionsForm(props: DeductionsFormProps & BaseComponentInterface) {\n return (\n <BaseComponent {...props}>\n <Root {...props}>{props.children}</Root>\n </BaseComponent>\n )\n}\n\n// deductions can be either custom or a garnishment\n// we currently only support child support garnishment type\nconst SUPPORTED_GARNISHMENT_TYPES = ['child_support']\n\nfunction Root({ className, employeeId, deductionId, dictionary }: DeductionsFormProps) {\n const { onEvent } = useBase()\n const { t } = useTranslation('Employee.Deductions')\n const Components = useComponentContext()\n\n useComponentDictionary('Employee.Deductions', dictionary)\n useI18n('Employee.Deductions')\n\n // Fetch all garnishments to find the specific one by ID\n const { data } = useGarnishmentsListSuspense({ employeeId })\n\n // Fetch child support garnishment metadata\n const { data: childSupportData } = useGarnishmentsGetChildSupportDataSuspense({})\n\n // find existing deduction to determine if in ADD or EDIT mode\n // if deduction exists we are editing, else we are adding\n // edit deductions cannot change the record type, it can only update the existing entries of the record\n const deduction = deductionId\n ? (data.garnishmentList?.find(g => g.uuid === deductionId) ?? null)\n : null\n const title = !deduction ? t('addDeductionTitle') : t('editDeductionTitle')\n const deductionType = deduction?.garnishmentType\n const stateAgencies =\n childSupportData.childSupportData?.agencies?.map(a => ({\n label: a.name as string,\n value: a.state as string,\n })) || []\n\n // if deduction exists check if it has a type, else if does not exist default to garnishment\n const [isGarnishment, setIsGarnishment] = useState<boolean>(\n (deductionType && SUPPORTED_GARNISHMENT_TYPES.includes(deductionType)) || !deduction,\n )\n const defaultDeductionTypeSelection = deduction\n ? deductionType\n ? 'garnishment'\n : 'custom'\n : 'garnishment'\n\n // filter out specific fipsCodes/counties as mapped to selected state agency\n // some states only have 1 fips code/county to cover the entire state,\n // but the API will return a null label so we need to provide a default label\n const [stateAgency, setStateAgency] = useState<string>(deduction?.childSupport?.state || '')\n const handleStateAgencySelect = (stateAgency: string) => {\n setStateAgency(stateAgency)\n }\n const counties =\n childSupportData.childSupportData?.agencies\n ?.find(agency => agency.state === stateAgency)\n ?.fipsCodes?.map(fipsCode => ({\n label: fipsCode.county?.length ? fipsCode.county : t('allCounties'),\n value: fipsCode.code as string,\n })) || []\n\n // get a reference to the currently selected agency to determine which required fields to display/include in submission\n const selectedAgency = childSupportData.childSupportData?.agencies?.find(\n agency => agency.state === stateAgency,\n )\n\n const handleCancel = () => {\n onEvent(componentEvents.EMPLOYEE_DEDUCTION_CANCEL)\n }\n\n const handleSelectDeductionType = (selection: string) => {\n setIsGarnishment(selection === 'garnishment')\n }\n\n return (\n <section className={className}>\n <Components.Button variant=\"secondary\" onClick={handleCancel}>\n <CaretLeft className={styles.leftCaretIcon} />\n {t('backToDeductionsCta')}\n </Components.Button>\n <Grid gap={16} className={styles.formHeadingContainer}>\n <Components.Heading as=\"h2\">{title}</Components.Heading>\n <section>\n <Components.Text weight=\"bold\">{t('externalPostTaxDeductions')}</Components.Text>\n <Components.Text variant=\"supporting\">\n {t('externalPostTaxDeductionsDescription')}\n </Components.Text>\n </section>\n <Components.RadioGroup\n label={t('deductionTypeLabel')}\n description={t('deductionTypeRadioLabel')}\n options={[\n { value: 'garnishment', label: t('garnishmentOption') },\n { value: 'custom', label: t('customDeductionOption') },\n ]}\n defaultValue={defaultDeductionTypeSelection}\n onChange={handleSelectDeductionType}\n isRequired\n isDisabled={!!deduction}\n className={styles.deductionTypeRadioGroup}\n />\n {isGarnishment && (\n <section>\n <Components.Text weight=\"bold\" className={styles.garnishmentTypeLabel}>\n {t('garnishmentType')}\n </Components.Text>\n {/* we currently only support child support garnishment type */}\n <Components.Select\n label={t('garnishmentType')}\n options={[]}\n placeholder={t('childSupport')}\n shouldVisuallyHideLabel\n isDisabled\n />\n </section>\n )}\n <hr />\n </Grid>\n\n {isGarnishment ? (\n <ChildSupportForm\n deduction={deduction}\n employeeId={employeeId}\n handleStateAgencySelect={handleStateAgencySelect}\n stateAgencies={stateAgencies}\n counties={counties}\n selectedAgency={selectedAgency}\n />\n ) : (\n <CustomDeductionForm deduction={deduction} employeeId={employeeId} />\n )}\n </section>\n )\n}\n"],"names":["UNSTABLEDeductionsForm","props","jsx","BaseComponent","Root","SUPPORTED_GARNISHMENT_TYPES","className","employeeId","deductionId","dictionary","onEvent","useBase","useTranslation","Components","useComponentContext","useComponentDictionary","useI18n","data","useGarnishmentsListSuspense","childSupportData","useGarnishmentsGetChildSupportDataSuspense","deduction","g","title","deductionType","stateAgencies","a","isGarnishment","setIsGarnishment","useState","defaultDeductionTypeSelection","stateAgency","setStateAgency","handleStateAgencySelect","counties","agency","fipsCode","selectedAgency","handleCancel","componentEvents","handleSelectDeductionType","selection","jsxs","CaretLeft","styles","Grid","ChildSupportForm","CustomDeductionForm"],"mappings":"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"}