@gusto/embedded-react-sdk 0.55.7 → 0.56.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 (379) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/components/Common/FadeIn/FadeIn.module.scss.js +4 -4
  3. package/dist/components/Common/FieldCaption/FieldCaption.js +22 -18
  4. package/dist/components/Common/FieldCaption/FieldCaption.js.map +1 -1
  5. package/dist/components/Common/Flex/Flex.js +17 -15
  6. package/dist/components/Common/Flex/Flex.js.map +1 -1
  7. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +1 -1
  8. package/dist/components/Common/UI/FileInput/FileInput.js +1 -1
  9. package/dist/components/Common/UI/Heading/Heading.module.scss.js +7 -7
  10. package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -1
  11. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +43 -42
  12. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
  13. package/dist/components/Common/UI/ProgressBar/ProgressBar.js +4 -4
  14. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +5 -3
  15. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  16. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +5 -3
  17. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  18. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +7 -5
  19. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  20. package/dist/components/Company/BankAccount/BankAccountForm/context.js +5 -3
  21. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  22. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +5 -3
  23. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  24. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +27 -27
  25. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  26. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -8
  27. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  28. package/dist/components/Company/Industry/Context.js +8 -6
  29. package/dist/components/Company/Industry/Context.js.map +1 -1
  30. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +5 -3
  31. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  32. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +5 -3
  33. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  34. package/dist/components/Company/OnboardingOverview/context.js +5 -3
  35. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  36. package/dist/components/Company/PaySchedule/PaySchedule.js +45 -30
  37. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  38. package/dist/components/Company/PaySchedule/PayScheduleComponents.js +12 -11
  39. package/dist/components/Company/PaySchedule/PayScheduleComponents.js.map +1 -1
  40. package/dist/components/Company/PaySchedule/PayScheduleForm.js +72 -55
  41. package/dist/components/Company/PaySchedule/PayScheduleForm.js.map +1 -1
  42. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +24 -20
  43. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js.map +1 -1
  44. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js +33 -29
  45. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js.map +1 -1
  46. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js +131 -115
  47. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
  48. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +5 -3
  49. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  50. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +5 -3
  51. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  52. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +5 -3
  53. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
  54. package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js +31 -29
  55. package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js.map +1 -1
  56. package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js +110 -109
  57. package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js.map +1 -1
  58. package/dist/components/Contractor/ContractorList/onboarding/ContractorList.js +21 -19
  59. package/dist/components/Contractor/ContractorList/onboarding/ContractorList.js.map +1 -1
  60. package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js +56 -55
  61. package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js.map +1 -1
  62. package/dist/components/Contractor/Dashboard/Dashboard.js +34 -33
  63. package/dist/components/Contractor/Dashboard/Dashboard.js.map +1 -1
  64. package/dist/components/Contractor/Payments/CreateHistoricalPayment/CreateHistoricalPayment.js +117 -115
  65. package/dist/components/Contractor/Payments/CreateHistoricalPayment/CreateHistoricalPayment.js.map +1 -1
  66. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +77 -75
  67. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
  68. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +44 -43
  69. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
  70. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +40 -39
  71. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
  72. package/dist/components/Contractor/Payments/HistoricalPaymentSummary/HistoricalPaymentSummary.js +35 -29
  73. package/dist/components/Contractor/Payments/HistoricalPaymentSummary/HistoricalPaymentSummary.js.map +1 -1
  74. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js +21 -20
  75. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js.map +1 -1
  76. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +41 -40
  77. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
  78. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +21 -20
  79. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
  80. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +33 -32
  81. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
  82. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +80 -78
  83. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
  84. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +44 -43
  85. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
  86. package/dist/components/Contractor/Submit/Submit.js +113 -105
  87. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  88. package/dist/components/Contractor/Submit/SubmitDone.js +11 -11
  89. package/dist/components/Contractor/Submit/SubmitDone.js.map +1 -1
  90. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js +20 -18
  91. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js.map +1 -1
  92. package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js +18 -15
  93. package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js.map +1 -1
  94. package/dist/components/Employee/Dashboard/Dashboard.js +33 -32
  95. package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
  96. package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js +21 -19
  97. package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js.map +1 -1
  98. package/dist/components/Employee/Documents/management/DocumentManager.js +34 -26
  99. package/dist/components/Employee/Documents/management/DocumentManager.js.map +1 -1
  100. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +5 -3
  101. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  102. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js +30 -29
  103. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js.map +1 -1
  104. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +54 -53
  105. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
  106. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js +29 -28
  107. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js.map +1 -1
  108. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js +16 -15
  109. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
  110. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js +27 -25
  111. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js.map +1 -1
  112. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +121 -111
  113. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
  114. package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.js +22 -20
  115. package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.js.map +1 -1
  116. package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js +24 -23
  117. package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js.map +1 -1
  118. package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js +52 -43
  119. package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js.map +1 -1
  120. package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js +29 -26
  121. package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js.map +1 -1
  122. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +1 -1
  123. package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js +19 -17
  124. package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js.map +1 -1
  125. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +79 -78
  126. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
  127. package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js +4 -4
  128. package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +4 -4
  129. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +40 -39
  130. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
  131. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +31 -30
  132. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
  133. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js +43 -41
  134. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js.map +1 -1
  135. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +20 -19
  136. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
  137. package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js +19 -17
  138. package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js.map +1 -1
  139. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +49 -48
  140. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
  141. package/dist/components/Flow/Flow.js +1 -1
  142. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +28 -28
  143. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  144. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js +37 -36
  145. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js.map +1 -1
  146. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js +36 -35
  147. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
  148. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +35 -28
  149. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
  150. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +23 -22
  151. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
  152. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +48 -45
  153. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  154. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +85 -77
  155. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  156. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +63 -59
  157. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
  158. package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.js +23 -21
  159. package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.js.map +1 -1
  160. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.js +26 -19
  161. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.js.map +1 -1
  162. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +14 -12
  163. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  164. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +184 -162
  165. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  166. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +67 -65
  167. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  168. package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.js +48 -34
  169. package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.js.map +1 -1
  170. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +43 -41
  171. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  172. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +225 -223
  173. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  174. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js +78 -75
  175. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js.map +1 -1
  176. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.js +27 -27
  177. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.js.map +1 -1
  178. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.js +19 -19
  179. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.js.map +1 -1
  180. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js +51 -48
  181. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js.map +1 -1
  182. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +58 -48
  183. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  184. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +58 -57
  185. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  186. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +83 -69
  187. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
  188. package/dist/components/Payroll/PayrollList/PayrollList.js +62 -60
  189. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  190. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +119 -117
  191. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  192. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +187 -171
  193. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  194. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +120 -110
  195. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  196. package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.js +45 -34
  197. package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.js.map +1 -1
  198. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +20 -14
  199. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
  200. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +62 -61
  201. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  202. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js +14 -14
  203. package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js +24 -17
  204. package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js.map +1 -1
  205. package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js +22 -22
  206. package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js.map +1 -1
  207. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js +88 -80
  208. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js.map +1 -1
  209. package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.js +52 -37
  210. package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.js.map +1 -1
  211. package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js +26 -26
  212. package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js.map +1 -1
  213. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +32 -32
  214. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  215. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +50 -48
  216. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
  217. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +34 -33
  218. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
  219. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -1
  220. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +28 -24
  221. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
  222. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js +255 -228
  223. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js.map +1 -1
  224. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js +8 -4
  225. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js.map +1 -1
  226. package/dist/components/Payroll/usePreparedPayrollData.js +10 -8
  227. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  228. package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +5 -5
  229. package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -1
  230. package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +8 -7
  231. package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -1
  232. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js +51 -50
  233. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js.map +1 -1
  234. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js +20 -18
  235. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -1
  236. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +51 -49
  237. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -1
  238. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js +20 -20
  239. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -1
  240. package/dist/components/TimeOff/PolicyList/PolicyList.js +50 -49
  241. package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
  242. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +34 -33
  243. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
  244. package/dist/components/TimeOff/PolicySettings/PolicySettings.js +46 -45
  245. package/dist/components/TimeOff/PolicySettings/PolicySettings.js.map +1 -1
  246. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js +152 -143
  247. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -1
  248. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +14 -13
  249. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -1
  250. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +44 -35
  251. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -1
  252. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +88 -71
  253. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
  254. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +164 -155
  255. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
  256. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +57 -55
  257. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
  258. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +25 -24
  259. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
  260. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +94 -92
  261. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
  262. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +156 -155
  263. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
  264. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js +21 -19
  265. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js.map +1 -1
  266. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js +28 -26
  267. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -1
  268. package/dist/contexts/ApiProvider/ApiProvider.js +29 -28
  269. package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -1
  270. package/dist/contexts/ApiProvider/apiVersionMismatchHook.js +15 -0
  271. package/dist/contexts/ApiProvider/apiVersionMismatchHook.js.map +1 -0
  272. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  273. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  274. package/dist/contexts/ThemeProvider/ThemeProvider.js +32 -26
  275. package/dist/contexts/ThemeProvider/ThemeProvider.js.map +1 -1
  276. package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.js.map +1 -1
  277. package/dist/hooks/usePollingTask/usePollingTask.js +53 -41
  278. package/dist/hooks/usePollingTask/usePollingTask.js.map +1 -1
  279. package/dist/i18n/en/Company.PaySchedule.json.js +22 -20
  280. package/dist/i18n/en/Company.PaySchedule.json.js.map +1 -1
  281. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +28 -24
  282. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -1
  283. package/dist/i18n/en/Payroll.GrossUpModal.json.js +12 -10
  284. package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
  285. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +8 -8
  286. package/dist/i18n/en/Payroll.PayrollOverview.json.js +15 -15
  287. package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js +62 -58
  288. package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js.map +1 -1
  289. package/dist/package.json.js +1 -1
  290. package/dist/src/components/Common/FieldCaption/FieldCaption.d.ts +2 -16
  291. package/dist/src/components/Common/FieldCaption/FieldCaptionTypes.d.ts +22 -0
  292. package/dist/src/components/Common/FieldCaption/index.d.ts +1 -0
  293. package/dist/src/components/Common/Flex/Flex.d.ts +3 -1
  294. package/dist/src/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +1 -1
  295. package/dist/src/components/Common/UI/DatePicker/DatePickerTypes.d.ts +2 -1
  296. package/dist/src/components/Common/UI/Menu/MenuTypes.d.ts +1 -1
  297. package/dist/src/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.d.ts +1 -1
  298. package/dist/src/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +5 -0
  299. package/dist/src/components/Common/UI/Select/SelectTypes.d.ts +2 -1
  300. package/dist/src/components/Company/PaySchedule/PaySchedule.d.ts +10 -2
  301. package/dist/src/components/Company/PaySchedule/PayScheduleComponents.d.ts +1 -0
  302. package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/fields.d.ts +9 -1
  303. package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/index.d.ts +2 -2
  304. package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.d.ts +21 -5
  305. package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +21 -3
  306. package/dist/src/components/Contractor/ContractorList/management/ManagementContractorListView.d.ts +3 -1
  307. package/dist/src/components/Contractor/ContractorList/onboarding/ContractorListView.d.ts +3 -1
  308. package/dist/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +3 -1
  309. package/dist/src/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +3 -1
  310. package/dist/src/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.d.ts +3 -1
  311. package/dist/src/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.d.ts +3 -1
  312. package/dist/src/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.d.ts +3 -1
  313. package/dist/src/components/Contractor/Submit/SubmitDone.d.ts +3 -1
  314. package/dist/src/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.d.ts +1 -1
  315. package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.d.ts +3 -1
  316. package/dist/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.d.ts +3 -1
  317. package/dist/src/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +3 -1
  318. package/dist/src/components/Employee/EmployeeList/onboarding/EmployeeListView.d.ts +3 -1
  319. package/dist/src/components/Employee/EmployeeList/shared/useEmployeeList.d.ts +11 -2
  320. package/dist/src/components/Employee/EmployeeListFlow/employeeListStateMachine.test.d.ts +1 -0
  321. package/dist/src/components/Employee/HomeAddress/management/HomeAddressView.d.ts +3 -1
  322. package/dist/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.d.ts +3 -1
  323. package/dist/src/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.d.ts +3 -1
  324. package/dist/src/components/Employee/WorkAddress/management/WorkAddressView.d.ts +3 -1
  325. package/dist/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +3 -1
  326. package/dist/src/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -1
  327. package/dist/src/components/Payroll/OffCycleCreation/OffCycleCreationTypes.d.ts +8 -0
  328. package/dist/src/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts +3 -1
  329. package/dist/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +3 -1
  330. package/dist/src/components/Payroll/PayrollConfiguration/useCalculationPoll.d.ts +6 -1
  331. package/dist/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +3 -1
  332. package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.d.ts +9 -9
  333. package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.d.ts +2 -2
  334. package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.d.ts +4 -4
  335. package/dist/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +3 -1
  336. package/dist/src/components/Payroll/PayrollList/PayrollListPresentation.d.ts +3 -1
  337. package/dist/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +2 -1
  338. package/dist/src/components/Payroll/PayrollOverview/useSubmissionPoll.d.ts +10 -1
  339. package/dist/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +2 -1
  340. package/dist/src/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +1 -1
  341. package/dist/src/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +2 -0
  342. package/dist/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +3 -1
  343. package/dist/src/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.d.ts +1 -1
  344. package/dist/src/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +1 -1
  345. package/dist/src/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +1 -1
  346. package/dist/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +1 -1
  347. package/dist/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailTypes.d.ts +2 -0
  348. package/dist/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormTypes.d.ts +2 -0
  349. package/dist/src/components/TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -1
  350. package/dist/src/components/TimeOff/PolicyList/PolicyListTypes.d.ts +2 -0
  351. package/dist/src/components/TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +1 -1
  352. package/dist/src/components/TimeOff/PolicySettings/PolicySettingsTypes.d.ts +2 -0
  353. package/dist/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -1
  354. package/dist/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorTypes.d.ts +2 -0
  355. package/dist/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
  356. package/dist/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +2 -0
  357. package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +2 -0
  358. package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
  359. package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +2 -0
  360. package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +2 -0
  361. package/dist/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +1 -1
  362. package/dist/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailTypes.d.ts +3 -0
  363. package/dist/src/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +1 -1
  364. package/dist/src/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayoutTypes.d.ts +2 -0
  365. package/dist/src/contexts/ApiProvider/ApiProvider.d.ts +5 -3
  366. package/dist/src/contexts/ApiProvider/apiVersionMismatchHook.d.ts +3 -0
  367. package/dist/src/contexts/ApiProvider/apiVersionMismatchHook.test.d.ts +1 -0
  368. package/dist/src/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -0
  369. package/dist/src/contexts/ComponentAdapter/useComponentContext.d.ts +4 -1
  370. package/dist/src/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +9 -1
  371. package/dist/src/contexts/ThemeProvider/ThemeProvider.d.ts +8 -3
  372. package/dist/src/contexts/UnstableFeaturesProvider/useUnstableFeature.d.ts +4 -1
  373. package/dist/src/hooks/usePollingTask/usePollingTask.d.ts +55 -14
  374. package/dist/src/i18n/types.d.ts +42 -2
  375. package/dist/src/index.d.ts +1 -1
  376. package/dist/src/models/external.d.ts +1 -0
  377. package/dist/style.css +1 -1
  378. package/docs/guides/endpoint-inventory.json +5 -0
  379. package/package.json +20 -19
@@ -45,4 +45,6 @@ export interface HolidayPolicyDetailPresentationProps {
45
45
  successAlert?: string;
46
46
  /** Called when the success alert is dismissed. */
47
47
  onDismissAlert?: () => void;
48
+ /** CSS class name applied to the root element. */
49
+ className?: string;
48
50
  }
@@ -15,6 +15,8 @@ export interface HolidayItem {
15
15
  }
16
16
  interface HolidaySelectionFormBaseProps {
17
17
  holidays: HolidayItem[];
18
+ /** CSS class name applied to the root element. */
19
+ className?: string;
18
20
  }
19
21
  interface HolidaySelectionFormSelectModeProps extends HolidaySelectionFormBaseProps {
20
22
  mode?: 'select';
@@ -1,3 +1,3 @@
1
1
  import { PolicyListPresentationProps } from './PolicyListTypes';
2
2
  /** @internal */
3
- export declare function PolicyListPresentation({ policies, onCreatePolicy, onEditPolicy, onFinishSetup, onDeletePolicy, deleteSuccessAlert, onDismissDeleteAlert, isDeletingPolicyId, isPending, }: PolicyListPresentationProps): import("react").JSX.Element;
3
+ export declare function PolicyListPresentation({ policies, onCreatePolicy, onEditPolicy, onFinishSetup, onDeletePolicy, deleteSuccessAlert, onDismissDeleteAlert, isDeletingPolicyId, isPending, className, }: PolicyListPresentationProps): import("react").JSX.Element;
@@ -33,4 +33,6 @@ export interface PolicyListPresentationProps {
33
33
  isDeletingPolicyId?: string | null;
34
34
  /** True while any mutation is in flight; drives the dialog confirm button's loading state. */
35
35
  isPending?: boolean;
36
+ /** CSS class name applied to the root element. */
37
+ className?: string;
36
38
  }
@@ -13,4 +13,4 @@ import { PolicySettingsPresentationProps } from './PolicySettingsTypes';
13
13
  * @returns The rendered policy settings form.
14
14
  * @public
15
15
  */
16
- export declare function PolicySettingsPresentation({ accrualMethod, onContinue, onBack, defaultValues, mode, editingPolicyName, isPending, }: PolicySettingsPresentationProps): import("react").JSX.Element;
16
+ export declare function PolicySettingsPresentation({ accrualMethod, onContinue, onBack, defaultValues, mode, editingPolicyName, isPending, className, }: PolicySettingsPresentationProps): import("react").JSX.Element;
@@ -49,4 +49,6 @@ export interface PolicySettingsPresentationProps {
49
49
  editingPolicyName?: string;
50
50
  /** Whether a submit is in flight. Disables the back button and shows a loading state on the continue button. */
51
51
  isPending?: boolean;
52
+ /** CSS class name applied to the root element. */
53
+ className?: string;
52
54
  }
@@ -1,3 +1,3 @@
1
1
  import { PolicyTypeSelectorPresentationProps } from './PolicyTypeSelectorTypes';
2
2
  /** @internal */
3
- export declare function PolicyTypeSelectorPresentation({ onContinue, onCancel, defaultPolicyType, holidayPolicyExists, }: PolicyTypeSelectorPresentationProps): import("react").JSX.Element;
3
+ export declare function PolicyTypeSelectorPresentation({ onContinue, onCancel, defaultPolicyType, holidayPolicyExists, className, }: PolicyTypeSelectorPresentationProps): import("react").JSX.Element;
@@ -14,4 +14,6 @@ export interface PolicyTypeSelectorPresentationProps {
14
14
  defaultPolicyType?: PolicyType;
15
15
  /** When true, the holiday option is omitted because the company already has a holiday pay policy. */
16
16
  holidayPolicyExists?: boolean;
17
+ /** CSS class name applied to the root element. */
18
+ className?: string;
17
19
  }
@@ -1,3 +1,3 @@
1
1
  import { PolicyConfigurationFormPresentationProps } from './PolicyConfigurationFormTypes';
2
2
  /** @internal */
3
- export declare function PolicyConfigurationFormPresentation({ onContinue, onCancel, defaultValues, editingPolicyName, isPending, lockedAccrualCategory, }: PolicyConfigurationFormPresentationProps): import("react").JSX.Element;
3
+ export declare function PolicyConfigurationFormPresentation({ onContinue, onCancel, defaultValues, editingPolicyName, isPending, lockedAccrualCategory, className, }: PolicyConfigurationFormPresentationProps): import("react").JSX.Element;
@@ -78,5 +78,7 @@ export interface PolicyConfigurationFormPresentationProps {
78
78
  isPending?: boolean;
79
79
  /** Restricts the accrual method options when editing a completed policy. */
80
80
  lockedAccrualCategory?: LockedAccrualCategory;
81
+ /** CSS class name applied to the root element. */
82
+ className?: string;
81
83
  }
82
84
  export {};
@@ -1,6 +1,8 @@
1
1
  interface SelectEmployeesHolidayProps {
2
2
  companyId: string;
3
3
  mode?: 'standalone' | 'wizard';
4
+ /** CSS class name applied to the root element. */
5
+ className?: string;
4
6
  }
5
7
  /** @internal */
6
8
  export declare function SelectEmployeesHoliday(props: SelectEmployeesHolidayProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { SelectEmployeesPresentationProps } from './SelectEmployeesPresentationTypes';
2
2
  /** @internal */
3
- export declare function SelectEmployeesPresentation({ employees, selectedUuids, searchValue, onSelect, onSelectAll, onSearchChange, onSearchClear, onBack, onContinue, isHolidayPolicy, balances, onBalanceChange, pagination, isFetching, isPending, }: SelectEmployeesPresentationProps): import("react").JSX.Element;
3
+ export declare function SelectEmployeesPresentation({ employees, selectedUuids, searchValue, onSelect, onSelectAll, onSearchChange, onSearchClear, onBack, onContinue, isHolidayPolicy, balances, onBalanceChange, pagination, isFetching, isPending, className, }: SelectEmployeesPresentationProps): import("react").JSX.Element;
@@ -28,4 +28,6 @@ export interface SelectEmployeesPresentationProps {
28
28
  isFetching?: boolean;
29
29
  /** Disables the back button and shows a spinner on the continue button while a submit is in flight. */
30
30
  isPending?: boolean;
31
+ /** CSS class name applied to the root element. */
32
+ className?: string;
31
33
  }
@@ -4,6 +4,8 @@ interface SelectEmployeesTimeOffProps {
4
4
  policyId: string;
5
5
  policyType: CreatableTimeOffPolicyType;
6
6
  mode?: 'standalone' | 'wizard';
7
+ /** CSS class name applied to the root element. */
8
+ className?: string;
7
9
  }
8
10
  /** @internal */
9
11
  export declare function SelectEmployeesTimeOff(props: SelectEmployeesTimeOffProps): import("react").JSX.Element;
@@ -13,4 +13,4 @@ import { TimeOffPolicyDetailPresentationProps } from './TimeOffPolicyDetailTypes
13
13
  * @returns The rendered detail view.
14
14
  * @public
15
15
  */
16
- export declare function TimeOffPolicyDetailPresentation({ title, subtitle, onBack, backLabel, actions, policyDetails, policySettings, onChangeSettings, selectedTabId, onTabChange, employees, onAddEmployee, removeDialog, successAlert, onDismissAlert, }: TimeOffPolicyDetailPresentationProps): import("react").JSX.Element;
16
+ export declare function TimeOffPolicyDetailPresentation({ title, subtitle, onBack, backLabel, actions, policyDetails, policySettings, onChangeSettings, selectedTabId, onTabChange, employees, onAddEmployee, removeDialog, successAlert, onDismissAlert, className, }: TimeOffPolicyDetailPresentationProps): import("react").JSX.Element;
@@ -104,6 +104,8 @@ export interface TimeOffPolicyDetailPresentationBaseProps {
104
104
  successAlert?: string;
105
105
  /** Called when the success alert is dismissed. */
106
106
  onDismissAlert?: () => void;
107
+ /** CSS class name applied to the root element. */
108
+ className?: string;
107
109
  }
108
110
  /**
109
111
  * Props for {@link TimeOffPolicyDetailPresentation}.
@@ -130,6 +132,7 @@ export interface TimeOffPolicyDetailPresentationBaseProps {
130
132
  * | `removeDialog` | State for the employee removal confirmation dialog. |
131
133
  * | `successAlert` | Optional success message rendered as a dismissible alert. |
132
134
  * | `onDismissAlert` | Called when the success alert is dismissed. |
135
+ * | `className` | CSS class name applied to the root element. |
133
136
  *
134
137
  * @public
135
138
  */
@@ -1,4 +1,4 @@
1
1
  import { EmployeeTableItem } from '../EmployeeTable/EmployeeTableTypes';
2
2
  import { PolicyDetailLayoutProps } from './PolicyDetailLayoutTypes';
3
3
  /** @internal */
4
- export declare function PolicyDetailLayout<T extends EmployeeTableItem>({ title, subtitle, onBack, backLabel, actions, firstTab, selectedTabId, onTabChange, employees, onAddEmployee, removeDialog, successAlert, onDismissAlert, }: PolicyDetailLayoutProps<T>): import("react").JSX.Element;
4
+ export declare function PolicyDetailLayout<T extends EmployeeTableItem>({ title, subtitle, onBack, backLabel, actions, firstTab, selectedTabId, onTabChange, employees, onAddEmployee, removeDialog, successAlert, onDismissAlert, className, }: PolicyDetailLayoutProps<T>): import("react").JSX.Element;
@@ -53,4 +53,6 @@ export interface PolicyDetailLayoutProps<T extends EmployeeTableItem> {
53
53
  successAlert?: string;
54
54
  /** Called when the success alert is dismissed. */
55
55
  onDismissAlert?: () => void;
56
+ /** CSS class name applied to the root element. */
57
+ className?: string;
56
58
  }
@@ -21,9 +21,11 @@ export interface ApiProviderProps {
21
21
  * Wires the `@gusto/embedded-api-v-2026-06-15` client and a React Query client into the React tree.
22
22
  *
23
23
  * @remarks
24
- * Registers the SDK's `X-Gusto-API-Version` header on every request, applies any default `headers`,
25
- * and registers user-supplied lifecycle hooks (`beforeCreateRequest`, `beforeRequest`, `afterSuccess`,
26
- * `afterError`). When no `queryClient` is supplied, one is created with the SDK's defaults so
24
+ * Registers the SDK's `X-Gusto-API-Version` header on every request, warns via `console.warn` if a
25
+ * response reports a different `X-Gusto-API-Version` than was requested (e.g. a proxy rewriting the
26
+ * header), applies any default `headers`, and registers user-supplied lifecycle hooks
27
+ * (`beforeCreateRequest`, `beforeRequest`, `afterSuccess`, `afterError`). When no `queryClient` is
28
+ * supplied, one is created with the SDK's defaults so
27
29
  * successful mutations under the `['@gusto/embedded-api-v-2026-06-15']` key invalidate every SDK
28
30
  * query automatically. Partners who supply their own `QueryClient` are responsible for matching that
29
31
  * contract.
@@ -0,0 +1,3 @@
1
+ import { AfterErrorHook, AfterSuccessHook } from '../../types/hooks';
2
+ /** @internal */
3
+ export declare const apiVersionMismatchHook: AfterSuccessHook & AfterErrorHook;
@@ -28,6 +28,7 @@ export type { BaseListProps, OrderedListProps, UnorderedListProps, } from '../..
28
28
  export type { HeadingProps } from '../../components/Common/UI/Heading/HeadingTypes';
29
29
  export type { PaginationControlProps, PaginationItemsPerPage, } from '../../components/Common/PaginationControl/PaginationControlTypes';
30
30
  export type { PayrollLoadingProps } from '../../components/Common/PayrollLoading/PayrollLoadingTypes';
31
+ export type { FieldCaptionProps } from '../../components/Common/FieldCaption/FieldCaptionTypes';
31
32
  export type { TextProps } from '../../components/Common/UI/Text/TextTypes';
32
33
  export type { CalendarPreviewProps } from '../../components/Common/UI/CalendarPreview/CalendarPreviewTypes';
33
34
  export type { DialogProps } from '../../components/Common/UI/Dialog/DialogTypes';
@@ -38,6 +38,7 @@ import { BoxHeaderProps } from '../../components/Common/UI/BoxHeader/BoxHeaderTy
38
38
  import { FormBoxHeaderProps } from '../../components/Common/UI/FormBoxHeader/FormBoxHeaderTypes';
39
39
  import { MultiSelectComboBoxProps } from '../../components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes';
40
40
  import { PayrollLoadingProps } from '../../components/Common/PayrollLoading/PayrollLoadingTypes';
41
+ import { FieldCaptionProps } from '../../components/Common/FieldCaption/FieldCaptionTypes';
41
42
  /**
42
43
  * Full map of UI components used by the SDK. Every property is a React component that the
43
44
  * SDK renders internally — override any of them to substitute your own design system.
@@ -47,7 +48,7 @@ import { PayrollLoadingProps } from '../../components/Common/PayrollLoading/Payr
47
48
  *
48
49
  * To take full control of every UI component (and eliminate the React Aria dependency),
49
50
  * pass a complete {@link ComponentsContextType} to {@link GustoProviderCustomUIAdapter} instead.
50
- * All properties are then required except `PaginationControl` and `PayrollLoading`,
51
+ * All properties are then required except `PaginationControl`, `PayrollLoading`, and `FieldCaption`,
51
52
  * which fall back to built-in SDK implementations when omitted.
52
53
  *
53
54
  * @public
@@ -173,6 +174,8 @@ export interface ComponentsContextType {
173
174
  TextArea: FunctionComponent<TextAreaProps>;
174
175
  /** HTML `<ul>` for an unordered list of items. */
175
176
  UnorderedList: FunctionComponent<UnorderedListProps>;
177
+ /** Label or legend caption for form controls, including the optional/required indicator. Defaults to the SDK's built-in caption UI when omitted. */
178
+ FieldCaption?: FunctionComponent<FieldCaptionProps>;
176
179
  /** Pagination controls for list views. Defaults to the SDK's built-in pagination UI when omitted. */
177
180
  PaginationControl?: FunctionComponent<PaginationControlProps>;
178
181
  /** Loading indicator for payroll calculation. Defaults to the SDK's built-in loading state when omitted. */
@@ -45,7 +45,15 @@ export interface GustoBaseProviderProps {
45
45
  * Also exposed to custom UI components via `useNonce`.
46
46
  */
47
47
  nonce?: string;
48
- /** Element to use as the portal container for SDK popovers and dropdowns. Useful when rendering inside a modal or shadow root. */
48
+ /**
49
+ * Element to use as the portal container for SDK popovers and dropdowns.
50
+ * Defaults to a themed root element the SDK appends to `document.body`.
51
+ *
52
+ * Pass an element here if rendering inside a modal, or **required** if
53
+ * rendering inside a shadow root — `document.body` sits outside every
54
+ * shadow boundary, so without an explicit container overlays would
55
+ * otherwise escape your shadow root's style encapsulation.
56
+ */
49
57
  portalContainer?: HTMLElement;
50
58
  /** Optional TanStack Query `QueryClient`. When omitted, the SDK creates its own client configured for Gusto's API. */
51
59
  queryClient?: QueryClient;
@@ -6,10 +6,15 @@ export interface ThemeProviderProps {
6
6
  theme?: Partial<GustoSDKTheme>;
7
7
  /**
8
8
  * Element to use as the portal container for all SDK overlays (Select, ComboBox,
9
- * DatePicker, Menu, etc.). Defaults to the SDK's root article element.
9
+ * DatePicker, Menu, etc.). Defaults to a themed root element the SDK appends
10
+ * directly to `document.body`, so overlays are never affected by a host page's
11
+ * `position`, `transform`, `filter`, or `contain` on an intervening ancestor.
12
+ * That default root carries both the `GSDK` and `GSDK-portal-root` classes —
13
+ * the latter lets a host page's own `.GSDK` overrides exclude it
14
+ * (`.GSDK:not(.GSDK-portal-root)`) instead of reaching overlay content.
10
15
  *
11
- * Pass `document.body` (or another stable element outside the SDK's container)
12
- * when your app's scroll or clipping context interferes with overlay positioning.
16
+ * Pass a specific element (e.g. when rendering inside a modal or shadow root)
17
+ * to portal overlays there instead.
13
18
  */
14
19
  portalContainer?: HTMLElement;
15
20
  /** Subtree rendered inside the SDK's themed root element. */
@@ -14,7 +14,10 @@
14
14
  export interface UnstableFeatures {
15
15
  /** Enables recording past payments to contractors within the `ContractorManagement` flows. */
16
16
  historicalPayments?: boolean;
17
- /** Enables the in-development regular-rate-of-pay experience for editing an employee's payroll. */
17
+ /**
18
+ * Enables the in-development regular-rate-of-pay experience: the payroll editing flow, and the
19
+ * workweek start day field on `PaySchedule` that RRoP's overtime calculations depend on.
20
+ */
18
21
  payrollRegularRateOfPay?: boolean;
19
22
  }
20
23
  /**
@@ -1,15 +1,54 @@
1
1
  /**
2
2
  * The outcome of evaluating a single poll tick.
3
3
  *
4
+ * @remarks
5
+ * `'done'` (a domain-understood outcome, success or real failure) and `'error'` (the read failed
6
+ * in a way not worth retrying, so the poll never learned what happened) are both terminal but go
7
+ * to different callbacks — `onDone` and `onError` — so callers can't conflate the two.
8
+ *
4
9
  * @typeParam TValue - The terminal value handed to `onDone`.
5
10
  * @internal
6
11
  */
7
12
  export type PollTickResult<TValue> = {
8
- done: true;
13
+ status: 'polling';
14
+ } | {
15
+ status: 'done';
9
16
  value: TValue;
10
17
  } | {
11
- done: false;
18
+ status: 'error';
19
+ error: unknown;
12
20
  };
21
+ /**
22
+ * The result of one poll tick's read — the data it resolved to, or the error it rejected with.
23
+ *
24
+ * @remarks
25
+ * `lastData` (rejection only) is the most recent successfully-read data, or `null` if none has
26
+ * succeeded yet — the same value `onDeadline` receives, and worth verifying against for the same
27
+ * reason.
28
+ *
29
+ * @typeParam TData - The value a successful read resolves to.
30
+ * @internal
31
+ */
32
+ export type PollReadOutcome<TData> = {
33
+ success: true;
34
+ data: TData;
35
+ } | {
36
+ success: false;
37
+ error: unknown;
38
+ lastData: TData | null;
39
+ };
40
+ /**
41
+ * Whether a poll read's error is not worth retrying.
42
+ *
43
+ * @remarks
44
+ * `SDKValidationError` (also matches `ResponseValidationError`) means the response failed schema
45
+ * validation. A 401/403 means the session that started the poll expired mid-poll (SDK-1291) --
46
+ * neither recovers by retrying. Everything else (network blips, timeouts, transient 5xx) may
47
+ * still succeed on the next tick.
48
+ *
49
+ * @internal
50
+ */
51
+ export declare function isNonRetryablePollError(error: unknown): boolean;
13
52
  /**
14
53
  * Configuration for {@link usePollingTask}.
15
54
  *
@@ -18,16 +57,18 @@ export type PollTickResult<TValue> = {
18
57
  * @internal
19
58
  */
20
59
  export interface UsePollingTaskOptions<TData, TValue> {
21
- /** Reads the current server state for one tick. Rejections are tolerated and retried next tick. */
60
+ /** Reads the current server state for one tick. Rejections are passed to `evaluate`, not thrown. */
22
61
  fetch: (signal: AbortSignal) => Promise<TData>;
23
62
  /**
24
- * Decides whether the operation has reached a terminal state, from the data this tick just
25
- * read. Must not depend on rendered state — that dependency is the bug this hook exists to
26
- * avoid.
63
+ * Decides whether the operation has reached a terminal state, from this tick's read outcome.
64
+ * Called on every tick, including ones where `fetch` rejected — see {@link PollReadOutcome} and
65
+ * {@link isNonRetryablePollError}.
27
66
  */
28
- evaluate: (data: TData) => PollTickResult<TValue>;
29
- /** Called once, from the poll loop, when `evaluate` reports a terminal state. */
67
+ evaluate: (outcome: PollReadOutcome<TData>) => PollTickResult<TValue>;
68
+ /** Called once, from the poll loop, when `evaluate` reports a `'done'` terminal state. */
30
69
  onDone: (value: TValue) => void;
70
+ /** Called once, from the poll loop, when `evaluate` reports an `'error'` terminal state. */
71
+ onError: (error: unknown) => void;
31
72
  /**
32
73
  * Called once when `deadlineMs` elapses without a terminal state, with the most recent data
33
74
  * successfully read (or `null` if no read ever succeeded). Verify against that data before
@@ -79,12 +120,12 @@ export interface PollingTask {
79
120
  *
80
121
  * - `start()` reads immediately, then every `intervalMs` after the previous read settles, so a
81
122
  * slow read never stacks up overlapping requests.
82
- * - A rejected read is not a failed task. It is ignored and retried on the next tick, which
83
- * matters because SDK queries are configured with `retry: false`. Note that when `fetch` reads
84
- * through a shared query key, the failure is still recorded on that key, so observers of it
85
- * see the error state even though the task carries on.
86
- * - A terminal result on the deadline tick wins over the deadline, and `onDeadline` receives the
87
- * last data read so the caller can verify before declaring failure.
123
+ * - A rejected read isn't thrown; it's handed to `evaluate` as a {@link PollReadOutcome}, since
124
+ * SDK queries are configured with `retry: false`. See {@link PollTickResult} for how `evaluate`
125
+ * routes a read error to `'polling'` (retry) vs `'error'` (give up). When `fetch` reads through
126
+ * a shared query key, observers of that key still see the error even though the task carries on.
127
+ * - A `'done'` or `'error'` result on the deadline tick wins over the deadline, and `onDeadline`
128
+ * receives the last data read so the caller can verify before declaring failure.
88
129
  * - Each tick bumps internal state, which gives the calling component a render source
89
130
  * independent of any query observer. Fresh cache data is then picked up on that render.
90
131
  * - `stop()` and unmount abort the in-flight read and guarantee no further callbacks fire.
@@ -1062,6 +1062,10 @@ export namespace Translations {
1062
1062
  preview: string
1063
1063
  /** @defaultValue `"Legend"` */
1064
1064
  legend: string
1065
+ /** @defaultValue `"Workweek start day"` */
1066
+ workweekStartDay: string
1067
+ /** @defaultValue `"Select day..."` */
1068
+ workweekStartDayPlaceholder: string
1065
1069
  }
1066
1070
  /** @defaultValue `"Loading..."` */
1067
1071
  loading: string
@@ -1074,6 +1078,8 @@ export namespace Translations {
1074
1078
  anchorPayDateDescription_other: string
1075
1079
  /** @defaultValue `"The last date of the first pay period to help calculate future pay periods. This can be the same date as the first pay date."` */
1076
1080
  anchorEndOfPayPeriodDescription: string
1081
+ /** @defaultValue `"The day of the week this pay schedule's workweeks start on. Used for regular rate of pay overtime calculations."` */
1082
+ workweekStartDayDescription: string
1077
1083
  }
1078
1084
  payPreview: {
1079
1085
  /** @defaultValue `"Pay period"` */
@@ -1105,6 +1111,22 @@ export namespace Translations {
1105
1111
  /** @defaultValue `"Custom"` */
1106
1112
  custom: string
1107
1113
  }
1114
+ workweekStartDayOptions: {
1115
+ /** @defaultValue `"Sunday"` */
1116
+ sunday: string
1117
+ /** @defaultValue `"Monday"` */
1118
+ monday: string
1119
+ /** @defaultValue `"Tuesday"` */
1120
+ tuesday: string
1121
+ /** @defaultValue `"Wednesday"` */
1122
+ wednesday: string
1123
+ /** @defaultValue `"Thursday"` */
1124
+ thursday: string
1125
+ /** @defaultValue `"Friday"` */
1126
+ friday: string
1127
+ /** @defaultValue `"Saturday"` */
1128
+ saturday: string
1129
+ }
1108
1130
  validations: {
1109
1131
  /** @defaultValue `"Pay schedule name is required"` */
1110
1132
  name: string
@@ -6099,6 +6121,10 @@ export namespace Translations {
6099
6121
  statusLabel: string
6100
6122
  /** @defaultValue `"Last day"` */
6101
6123
  lastDayLabel: string
6124
+ /** @defaultValue `"Pending dismissal"` */
6125
+ pendingDismissalLabel: string
6126
+ /** @defaultValue `"Last day {{date}}"` */
6127
+ pendingDismissalBadge: string
6102
6128
  /** @defaultValue `"Edit employee"` */
6103
6129
  editCta: string
6104
6130
  /** @defaultValue `"Dismiss employee"` */
@@ -6955,6 +6981,8 @@ export namespace Translations {
6955
6981
  calculatingCta: string
6956
6982
  /** @defaultValue `"Apply"` */
6957
6983
  applyCta: string
6984
+ /** @defaultValue `"Calculate a gross amount first to apply it."` */
6985
+ applyHint: string
6958
6986
  /** @defaultValue `"Cancel"` */
6959
6987
  cancelCta: string
6960
6988
  /** @defaultValue `"Calculated gross pay"` */
@@ -7498,6 +7526,12 @@ export namespace Translations {
7498
7526
  /** @defaultValue `"{{employeeName}} updated successfully"` */
7499
7527
  label: string
7500
7528
  }
7529
+ processingFailed: {
7530
+ /** @defaultValue `"This payroll couldn't be calculated"` */
7531
+ label: string
7532
+ /** @defaultValue `"Please try calculating again."` */
7533
+ message: string
7534
+ }
7501
7535
  }
7502
7536
  /** @defaultValue `"Preparing payroll..."` */
7503
7537
  loadingTitle: string
@@ -7882,6 +7916,8 @@ export namespace Translations {
7882
7916
  alerts: {
7883
7917
  /** @defaultValue `"Payroll is not calculated"` */
7884
7918
  payrollNotCalculated: string
7919
+ /** @defaultValue `"There was an issue loading this payroll. Please try again."` */
7920
+ payrollLoadFailed: string
7885
7921
  /** @defaultValue `"To pay your employees with direct deposit by {{payDate}}, you'll need to run payroll by {{time}} on {{date}}."` */
7886
7922
  directDepositDeadline: string
7887
7923
  /** @defaultValue `"Make sure to submit before the deadline to ensure timely payments."` */
@@ -8404,8 +8440,6 @@ export namespace Translations {
8404
8440
  amountColumn: string
8405
8441
  /** @defaultValue `"Hours"` */
8406
8442
  hoursColumn: string
8407
- /** @defaultValue `"Other"` */
8408
- otherTitle: string
8409
8443
  compensationNames: {
8410
8444
  /** @defaultValue `"Regular Hours"` */
8411
8445
  regularHours: string
@@ -8428,6 +8462,12 @@ export namespace Translations {
8428
8462
  }
8429
8463
  /** @defaultValue `"Additional earnings"` */
8430
8464
  additionalEarningsTitle: string
8465
+ /** @defaultValue `"Earnings entered here factor into the overtime multiplier used to calculate {{employeeName}}'s total pay."` */
8466
+ overtimeMultiplierEarningsAlert: string
8467
+ /** @defaultValue `"Included in overtime multiplier calculation"` */
8468
+ overtimeIncludedEarningsGroupLabel: string
8469
+ /** @defaultValue `"Not a factor for overtime calculation"` */
8470
+ overtimeExcludedEarningsGroupLabel: string
8431
8471
  /** @defaultValue `"Reimbursements"` */
8432
8472
  reimbursementTitle: string
8433
8473
  /** @defaultValue `"Description"` */
@@ -61,7 +61,7 @@ export type { UseSignEmployeeFormProps, UseSignEmployeeFormResult, UseSignEmploy
61
61
  export { useEmployeeList } from './components/Employee/EmployeeList/shared';
62
62
  export type { UseEmployeeListProps, UseEmployeeListResult, UseEmployeeListReady, EmployeeType, EmployeeAction, EmployeeWithActions, } from './components/Employee/EmployeeList/shared';
63
63
  export { usePayScheduleForm, PayScheduleErrorCodes, } from './components/Company/PaySchedule/shared/usePayScheduleForm';
64
- export type { PayScheduleOptionalFieldsToRequire, UsePayScheduleFormProps, UsePayScheduleFormResult, UsePayScheduleFormReady, PayScheduleFieldsMetadata, PayScheduleFormFields, PayScheduleErrorCode, PayScheduleFormData, PayScheduleField, PayScheduleFrequency, PayScheduleRequiredValidation, DayValidation, CustomNameFieldProps, FrequencyFieldProps, CustomTwicePerMonthFieldProps, AnchorPayDateFieldProps, AnchorEndOfPayPeriodFieldProps, Day1FieldProps, Day2FieldProps, } from './components/Company/PaySchedule/shared/usePayScheduleForm';
64
+ export type { PayScheduleOptionalFieldsToRequire, UsePayScheduleFormProps, UsePayScheduleFormResult, UsePayScheduleFormReady, PayScheduleFieldsMetadata, PayScheduleFormFields, PayScheduleErrorCode, PayScheduleFormData, PayScheduleField, PayScheduleFrequency, PayScheduleWorkweekStartDay, PayScheduleRequiredValidation, DayValidation, CustomNameFieldProps, FrequencyFieldProps, CustomTwicePerMonthFieldProps, AnchorPayDateFieldProps, AnchorEndOfPayPeriodFieldProps, Day1FieldProps, Day2FieldProps, WorkweekStartDayFieldProps, } from './components/Company/PaySchedule/shared/usePayScheduleForm';
65
65
  export { useSignCompanyForm, SignCompanyFormErrorCodes, } from './components/Company/DocumentSigner/shared/useSignCompanyForm';
66
66
  export type { SignCompanyFormOptionalFieldsToRequire, UseSignCompanyFormProps, UseSignCompanyFormResult, UseSignCompanyFormReady, SignCompanyFormFieldsMetadata, SignCompanyFormFields, SignCompanyFormErrorCode, SignCompanyFormData, SignCompanyFormField, SignCompanyFormRequiredValidation, SignatureFieldProps, ConfirmSignatureFieldProps, } from './components/Company/DocumentSigner/shared/useSignCompanyForm';
67
67
  export { useContractorDocumentsList } from './components/Contractor/Documents/shared/useContractorDocumentsList';
@@ -307,6 +307,7 @@ export type { PayrollUpdateState } from '@gusto/embedded-api/models/components/p
307
307
  export type { PayrollUpdateCustomWithholdings, PayrollUpdateDeductions, PayrollUpdateFederal, PayrollUpdateFixedCompensations, PayrollUpdateHourlyCompensations, } from '@gusto/embedded-api/models/components/payrollupdate';
308
308
  export { PayrollUpdateAmountType, PayrollUpdateEmployeeCompensationsAmountType, PayrollUpdateEmployeeCompensationsCustomWithholdingsAmountType, PayrollUpdateEmployeeCompensationsOverrideType, PayrollUpdateOverrideType, PayrollUpdatePaymentMethod, } from '@gusto/embedded-api/models/components/payrollupdate';
309
309
  export type { PayScheduleAutoPayrollEnablementBlocker, PayScheduleAutoPayrollEnablementBlockerMetadata, } from '@gusto/embedded-api/models/components/payscheduleautopayrollenablementblocker';
310
+ export { WorkweekStartDay } from '@gusto/embedded-api/models/components/payschedulecreaterequest';
310
311
  export { PayScheduleFrequency } from '@gusto/embedded-api/models/components/payschedulefrequency';
311
312
  export type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod';
312
313
  /** `PayScheduleWorkweekStartDay` entity from the Gusto Embedded API. */