@gusto/embedded-react-sdk 0.57.3 → 0.58.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 (264) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/dist/components/Common/DataView/DataCards/DataCards.js +98 -66
  3. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  4. package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js +11 -9
  5. package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js.map +1 -1
  6. package/dist/components/Common/DataView/DataTable/DataTable.js +86 -75
  7. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  8. package/dist/components/Common/DataView/DataView.js.map +1 -1
  9. package/dist/components/Common/DataView/getSortControls.js +22 -0
  10. package/dist/components/Common/DataView/getSortControls.js.map +1 -0
  11. package/dist/components/Common/DataView/useDataView.js +30 -24
  12. package/dist/components/Common/DataView/useDataView.js.map +1 -1
  13. package/dist/components/Common/UI/Table/Table.js +65 -25
  14. package/dist/components/Common/UI/Table/Table.js.map +1 -1
  15. package/dist/components/Common/UI/Table/Table.module.scss.js +8 -4
  16. package/dist/components/Common/UI/Table/Table.module.scss.js.map +1 -1
  17. package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
  18. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +3 -4
  19. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  20. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +3 -4
  21. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  22. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +5 -6
  23. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  24. package/dist/components/Company/BankAccount/BankAccountForm/context.js +3 -4
  25. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  26. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +3 -4
  27. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  28. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +5 -6
  29. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  30. package/dist/components/Company/Industry/Context.js +6 -7
  31. package/dist/components/Company/Industry/Context.js.map +1 -1
  32. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +3 -4
  33. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  34. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +3 -4
  35. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  36. package/dist/components/Company/OnboardingOverview/context.js +3 -4
  37. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  38. package/dist/components/Company/PaySchedule/PaySchedule.js +30 -45
  39. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  40. package/dist/components/Company/PaySchedule/PayScheduleComponents.js +11 -12
  41. package/dist/components/Company/PaySchedule/PayScheduleComponents.js.map +1 -1
  42. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js.map +1 -1
  43. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js.map +1 -1
  44. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js +78 -83
  45. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
  46. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +3 -4
  47. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  48. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +3 -4
  49. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  50. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +3 -4
  51. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
  52. package/dist/components/Contractor/Compensation/management/CompensationEditForm.js +45 -54
  53. package/dist/components/Contractor/Compensation/management/CompensationEditForm.js.map +1 -1
  54. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.js +17 -22
  55. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.js.map +1 -1
  56. package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js +1 -0
  57. package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js.map +1 -1
  58. package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js +122 -113
  59. package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js.map +1 -1
  60. package/dist/components/Contractor/ContractorList/shared/useContractorList.js +63 -54
  61. package/dist/components/Contractor/ContractorList/shared/useContractorList.js.map +1 -1
  62. package/dist/components/Contractor/PaymentMethod/onboarding/PaymentMethod.js +39 -48
  63. package/dist/components/Contractor/PaymentMethod/onboarding/PaymentMethod.js.map +1 -1
  64. package/dist/components/Contractor/Profile/onboarding/ContractorProfile.js +76 -69
  65. package/dist/components/Contractor/Profile/onboarding/ContractorProfile.js.map +1 -1
  66. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.js +27 -29
  67. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.js.map +1 -1
  68. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js +14 -12
  69. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js.map +1 -1
  70. package/dist/components/Contractor/shared/hourlyRate.js +14 -0
  71. package/dist/components/Contractor/shared/hourlyRate.js.map +1 -0
  72. package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.js +63 -63
  73. package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.js.map +1 -1
  74. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +3 -4
  75. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  76. package/dist/components/Employee/PaymentMethod/onboarding/ListView.js +65 -74
  77. package/dist/components/Employee/PaymentMethod/onboarding/ListView.js.map +1 -1
  78. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +16 -16
  79. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
  80. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +2 -3
  81. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  82. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +84 -82
  83. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  84. package/dist/components/Payroll/OffCycleTaxWithholdingTable/getDefaultWithholdingPayPeriod.js +8 -0
  85. package/dist/components/Payroll/OffCycleTaxWithholdingTable/getDefaultWithholdingPayPeriod.js.map +1 -0
  86. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +91 -88
  87. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  88. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +16 -16
  89. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  90. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +146 -134
  91. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  92. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js +14 -12
  93. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js.map +1 -1
  94. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +34 -33
  95. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  96. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js +49 -48
  97. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js.map +1 -1
  98. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
  99. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +0 -4
  100. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
  101. package/dist/components/Payroll/PayrollFlow/PayrollFlow.js.map +1 -1
  102. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js +51 -38
  103. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  104. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +121 -102
  105. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  106. package/dist/components/Payroll/PayrollLanding/PayrollLanding.js.map +1 -1
  107. package/dist/components/Payroll/PayrollList/PayrollList.js +79 -74
  108. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  109. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +92 -83
  110. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  111. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +23 -27
  112. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  113. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js +82 -75
  114. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js.map +1 -1
  115. package/dist/components/Payroll/RropPayrollEditEmployee/RropPayrollEditEmployee.js +416 -0
  116. package/dist/components/Payroll/RropPayrollEditEmployee/RropPayrollEditEmployee.js.map +1 -0
  117. package/dist/components/Payroll/{UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js → RropPayrollEditEmployee/RropPayrollEditEmployee.module.scss.js} +1 -1
  118. package/dist/components/Payroll/RropPayrollEditEmployee/RropPayrollEditEmployee.module.scss.js.map +1 -0
  119. package/dist/components/Payroll/TransitionConfiguration/TransitionConfiguration.js +97 -0
  120. package/dist/components/Payroll/TransitionConfiguration/TransitionConfiguration.js.map +1 -0
  121. package/dist/components/Payroll/TransitionConfiguration/TransitionConfigurationPresentation.js +106 -0
  122. package/dist/components/Payroll/TransitionConfiguration/TransitionConfigurationPresentation.js.map +1 -0
  123. package/dist/components/Payroll/{TransitionCreation/TransitionCreationPresentation.module.scss.js → TransitionConfiguration/TransitionConfigurationPresentation.module.scss.js} +1 -1
  124. package/dist/components/Payroll/TransitionConfiguration/TransitionConfigurationPresentation.module.scss.js.map +1 -0
  125. package/dist/components/Payroll/TransitionConfiguration/TransitionConfigurationTypes.js +10 -0
  126. package/dist/components/Payroll/TransitionConfiguration/TransitionConfigurationTypes.js.map +1 -0
  127. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +86 -64
  128. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
  129. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +126 -77
  130. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
  131. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.module.scss.js +8 -0
  132. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.module.scss.js.map +1 -0
  133. package/dist/components/Payroll/index.js +16 -20
  134. package/dist/components/Payroll/index.js.map +1 -1
  135. package/dist/components/Payroll/usePreparedPayrollData.js +2 -3
  136. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  137. package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js +11 -14
  138. package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js.map +1 -1
  139. package/dist/contexts/ApiProvider/ApiProvider.js +18 -17
  140. package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -1
  141. package/dist/contexts/ApiProvider/payScheduleCustomNameHook.js +31 -0
  142. package/dist/contexts/ApiProvider/payScheduleCustomNameHook.js.map +1 -0
  143. package/dist/contexts/FeaturesProvider/FeaturesProvider.js +14 -0
  144. package/dist/contexts/FeaturesProvider/FeaturesProvider.js.map +1 -0
  145. package/dist/contexts/FeaturesProvider/useFeature.js +7 -0
  146. package/dist/contexts/FeaturesProvider/useFeature.js.map +1 -0
  147. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +32 -30
  148. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  149. package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.js.map +1 -1
  150. package/dist/i18n/I18n.js +2 -3
  151. package/dist/i18n/I18n.js.map +1 -1
  152. package/dist/i18n/en/Contractor.Profile.json.js +1 -1
  153. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +29 -23
  154. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
  155. package/dist/i18n/en/Payroll.PayrollLanding.json.js +1 -1
  156. package/dist/i18n/en/{Payroll.UNSTABLE_PayrollEditEmployee.json.js → Payroll.RropPayrollEditEmployee.json.js} +42 -38
  157. package/dist/i18n/en/Payroll.RropPayrollEditEmployee.json.js.map +1 -0
  158. package/dist/i18n/en/Payroll.TransitionConfiguration.json.js +28 -0
  159. package/dist/i18n/en/Payroll.TransitionConfiguration.json.js.map +1 -0
  160. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +16 -12
  161. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js.map +1 -1
  162. package/dist/i18n/en/common.json.js +1 -1
  163. package/dist/package.json.js +1 -1
  164. package/dist/partner-hook-utils/form/composeSubmitHandler.js +55 -48
  165. package/dist/partner-hook-utils/form/composeSubmitHandler.js.map +1 -1
  166. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js +31 -29
  167. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -1
  168. package/dist/shared/constants.js +2 -1
  169. package/dist/shared/constants.js.map +1 -1
  170. package/dist/src/components/Common/DataView/DataCards/DataCards.d.ts +3 -1
  171. package/dist/src/components/Common/DataView/DataTable/DataTable.d.ts +3 -1
  172. package/dist/src/components/Common/DataView/DataView.d.ts +2 -0
  173. package/dist/src/components/Common/DataView/getSortControls.d.ts +24 -0
  174. package/dist/src/components/Common/DataView/useDataView.d.ts +22 -1
  175. package/dist/src/components/Common/UI/Table/TableTypes.d.ts +71 -2
  176. package/dist/src/components/Company/PaySchedule/PaySchedule.d.ts +1 -9
  177. package/dist/src/components/Company/PaySchedule/PayScheduleComponents.d.ts +0 -1
  178. package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/fields.d.ts +1 -1
  179. package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.d.ts +1 -1
  180. package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +3 -14
  181. package/dist/src/components/Contractor/ContractorList/management/ManagementContractorListView.d.ts +2 -2
  182. package/dist/src/components/Contractor/ContractorList/shared/index.d.ts +1 -1
  183. package/dist/src/components/Contractor/ContractorList/shared/useContractorList.d.ts +38 -0
  184. package/dist/src/components/Contractor/shared/hourlyRate.d.ts +23 -0
  185. package/dist/src/components/Payroll/OffCycleTaxWithholdingTable/getDefaultWithholdingPayPeriod.d.ts +9 -0
  186. package/dist/src/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +3 -1
  187. package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.d.ts +2 -0
  188. package/dist/src/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +8 -6
  189. package/dist/src/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +0 -8
  190. package/dist/src/components/Payroll/PayrollFlow/PayrollFlow.d.ts +5 -3
  191. package/dist/src/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +2 -3
  192. package/dist/src/components/Payroll/PayrollFlow/payrollStateMachine.d.ts +1 -1
  193. package/dist/src/components/Payroll/PayrollLanding/PayrollLanding.d.ts +18 -5
  194. package/dist/src/components/Payroll/PayrollList/PayrollList.d.ts +11 -5
  195. package/dist/src/components/Payroll/{UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.d.ts → RropPayrollEditEmployee/RropPayrollEditEmployee.d.ts} +9 -5
  196. package/dist/src/components/Payroll/TransitionConfiguration/TransitionConfiguration.d.ts +55 -0
  197. package/dist/src/components/Payroll/TransitionConfiguration/TransitionConfigurationPresentation.d.ts +9 -0
  198. package/dist/src/components/Payroll/TransitionConfiguration/TransitionConfigurationTypes.d.ts +52 -0
  199. package/dist/src/components/Payroll/TransitionConfiguration/index.d.ts +2 -0
  200. package/dist/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.d.ts +5 -2
  201. package/dist/src/components/Payroll/index.d.ts +2 -6
  202. package/dist/src/contexts/ApiProvider/payScheduleCustomNameHook.d.ts +14 -0
  203. package/dist/src/contexts/ApiProvider/payScheduleCustomNameHook.test.d.ts +1 -0
  204. package/dist/src/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -1
  205. package/dist/src/contexts/FeaturesProvider/FeaturesProvider.d.ts +21 -0
  206. package/dist/src/contexts/FeaturesProvider/useFeature.d.ts +53 -0
  207. package/dist/src/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +3 -0
  208. package/dist/src/contexts/UnstableFeaturesProvider/useUnstableFeature.d.ts +38 -10
  209. package/dist/src/contexts/index.d.ts +1 -0
  210. package/dist/src/i18n/en/common.json.d.ts +5 -1
  211. package/dist/src/i18n/types.d.ts +113 -66
  212. package/dist/src/partner-hook-utils/form/fields/RadioGroupHookField.d.ts +9 -7
  213. package/dist/src/shared/constants.d.ts +4 -2
  214. package/dist/src/test-utils/renderWithProviders.d.ts +2 -0
  215. package/dist/style.css +1 -1
  216. package/docs/guides/endpoint-inventory.json +24 -27
  217. package/package.json +15 -14
  218. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +0 -29
  219. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +0 -1
  220. package/dist/components/Payroll/Transition/TransitionFlow.js +0 -60
  221. package/dist/components/Payroll/Transition/TransitionFlow.js.map +0 -1
  222. package/dist/components/Payroll/Transition/TransitionFlowComponents.js +0 -31
  223. package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +0 -1
  224. package/dist/components/Payroll/Transition/transitionStateMachine.js +0 -49
  225. package/dist/components/Payroll/Transition/transitionStateMachine.js.map +0 -1
  226. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +0 -100
  227. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +0 -1
  228. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +0 -110
  229. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +0 -1
  230. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.module.scss.js.map +0 -1
  231. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js +0 -21
  232. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +0 -1
  233. package/dist/components/Payroll/TransitionPayroll/TransitionPayroll.js +0 -48
  234. package/dist/components/Payroll/TransitionPayroll/TransitionPayroll.js.map +0 -1
  235. package/dist/components/Payroll/TransitionPayroll/TransitionPayrollComponents.js +0 -35
  236. package/dist/components/Payroll/TransitionPayroll/TransitionPayrollComponents.js.map +0 -1
  237. package/dist/components/Payroll/TransitionPayroll/transitionPayrollStateMachine.js +0 -23
  238. package/dist/components/Payroll/TransitionPayroll/transitionPayrollStateMachine.js.map +0 -1
  239. package/dist/components/Payroll/TransitionPayroll/useResolveTransitionPayroll.js +0 -29
  240. package/dist/components/Payroll/TransitionPayroll/useResolveTransitionPayroll.js.map +0 -1
  241. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js +0 -411
  242. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js.map +0 -1
  243. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js.map +0 -1
  244. package/dist/i18n/en/Payroll.Transition.json.js +0 -8
  245. package/dist/i18n/en/Payroll.Transition.json.js.map +0 -1
  246. package/dist/i18n/en/Payroll.TransitionCreation.json.js +0 -26
  247. package/dist/i18n/en/Payroll.TransitionCreation.json.js.map +0 -1
  248. package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js.map +0 -1
  249. package/dist/src/components/Payroll/PayrollFlow/TransitionFlowContextual.d.ts +0 -7
  250. package/dist/src/components/Payroll/Transition/TransitionFlow.d.ts +0 -55
  251. package/dist/src/components/Payroll/Transition/TransitionFlowComponents.d.ts +0 -52
  252. package/dist/src/components/Payroll/Transition/index.d.ts +0 -2
  253. package/dist/src/components/Payroll/Transition/transitionStateMachine.d.ts +0 -29
  254. package/dist/src/components/Payroll/TransitionCreation/TransitionCreation.d.ts +0 -22
  255. package/dist/src/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +0 -9
  256. package/dist/src/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +0 -57
  257. package/dist/src/components/Payroll/TransitionCreation/index.d.ts +0 -2
  258. package/dist/src/components/Payroll/TransitionPayroll/TransitionPayroll.d.ts +0 -55
  259. package/dist/src/components/Payroll/TransitionPayroll/TransitionPayrollComponents.d.ts +0 -24
  260. package/dist/src/components/Payroll/TransitionPayroll/TransitionPayrollTypes.d.ts +0 -23
  261. package/dist/src/components/Payroll/TransitionPayroll/index.d.ts +0 -2
  262. package/dist/src/components/Payroll/TransitionPayroll/transitionPayrollStateMachine.d.ts +0 -15
  263. package/dist/src/components/Payroll/TransitionPayroll/useResolveTransitionPayroll.d.ts +0 -28
  264. /package/dist/src/components/{Payroll/Transition/transitionStateMachine.test.d.ts → Common/DataView/getSortControls.test.d.ts} +0 -0
@@ -4,24 +4,52 @@
4
4
  * @remarks
5
5
  * Pass to {@link GustoProvider} via the `unstableFeatures` prop to enable a feature ahead of its
6
6
  * public release. Every flag defaults to disabled when omitted. When a feature graduates to
7
- * public release, its flag is deleted from this interface along with the conditional checks that
8
- * read it — there is no deprecation step. This interface may have no flags at all at any given
9
- * time — e.g. immediately after the last active flag graduates and before the next one is added —
10
- * the opt-in mechanism itself is permanent even when nothing is currently gated behind it.
7
+ * public release, its flag is deleted from this interface — there is no deprecation step. The
8
+ * conditional checks that read it are deleted too, or moved to a {@link Features} flag when the
9
+ * released feature still needs a way to turn it off. This interface may have no flags at all
10
+ * at any given time — e.g. immediately after the last active flag graduates and before the next
11
+ * one is added — the opt-in mechanism itself is permanent even when nothing is currently gated
12
+ * behind it.
11
13
  *
12
14
  * @alpha
13
15
  */
14
16
  export interface UnstableFeatures {
15
- /** Enables recording past payments to contractors within the `ContractorManagement` flows. */
17
+ /**
18
+ * Recording contractor payments that were made outside of Gusto.
19
+ *
20
+ * When `true`, `ContractorManagement.PaymentsList` (and `ContractorManagement.PaymentFlow`, which
21
+ * renders it) shows a "Record a historical payment" call to action that opens the historical
22
+ * payment flow. `ContractorManagement.HistoricalPaymentFlow`,
23
+ * `ContractorManagement.CreateHistoricalPayment`, and
24
+ * `ContractorManagement.HistoricalPaymentSummary` can be mounted.
25
+ *
26
+ * When `false`, the call to action is hidden and those three components throw when mounted.
27
+ *
28
+ * @defaultValue `false`
29
+ */
16
30
  historicalPayments?: boolean;
17
31
  /**
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.
32
+ * Managing pay schedules and their employee assignments after onboarding.
33
+ *
34
+ * When `true`, `CompanyManagement.PaySchedule` and `CompanyManagement.PayScheduleAssignment` can
35
+ * be mounted.
36
+ *
37
+ * When `false`, both components throw when mounted. `CompanyOnboarding.PaySchedule` is not
38
+ * affected.
39
+ *
40
+ * @defaultValue `false`
20
41
  */
21
- payrollRegularRateOfPay?: boolean;
22
- /** Enables the in-development `CompanyManagement.PaySchedule` flow for managing pay schedules and their assignments after onboarding. */
23
42
  managePaySchedules?: boolean;
24
- /** Enables the in-development `CompanyManagement.TaxPaymentsFlow` for reviewing a company's tax payments and their liabilities. */
43
+ /**
44
+ * Reviewing a company's tax payments and their liabilities.
45
+ *
46
+ * When `true`, `CompanyManagement.TaxPaymentsFlow`, `CompanyManagement.TaxPaymentsList`, and
47
+ * `CompanyManagement.TaxPaymentDetail` can be mounted.
48
+ *
49
+ * When `false`, all three components throw when mounted.
50
+ *
51
+ * @defaultValue `false`
52
+ */
25
53
  taxPayments?: boolean;
26
54
  }
27
55
  /**
@@ -6,3 +6,4 @@ export * from './ComponentAdapter/componentAdapterTypes';
6
6
  export type { GustoSDKTheme, GustoSDKThemeColors } from './ThemeProvider/theme';
7
7
  export { useNonce } from './NonceProvider';
8
8
  export type { UnstableFeatures } from './UnstableFeaturesProvider/useUnstableFeature';
9
+ export type { Features } from './FeaturesProvider/useFeature';
@@ -160,7 +160,11 @@ declare const _default: {
160
160
  },
161
161
  "card": {
162
162
  "selectRowLabel": "Select row",
163
- "selectAllRowsLabel": "Select all rows"
163
+ "selectAllRowsLabel": "Select all rows",
164
+ "sortByLabel": "Sort by",
165
+ "sortDefaultOption": "Default order",
166
+ "sortAscendingOption": "{{column}} (A\u2013Z)",
167
+ "sortDescendingOption": "{{column}} (Z\u2013A)"
164
168
  },
165
169
  "signatoryTitles": {
166
170
  "owner": "Owner",
@@ -258,14 +258,12 @@ export interface Resources {
258
258
  'Payroll.RecoveryCasesList': Translations.PayrollRecoveryCasesList
259
259
  /** */
260
260
  'Payroll.RecoveryCasesResubmit': Translations.PayrollRecoveryCasesResubmit
261
+ /** @internal */
262
+ 'Payroll.RropPayrollEditEmployee': Translations.PayrollRropPayrollEditEmployee
261
263
  /** */
262
- 'Payroll.Transition': Translations.PayrollTransition
263
- /** */
264
- 'Payroll.TransitionCreation': Translations.PayrollTransitionCreation
264
+ 'Payroll.TransitionConfiguration': Translations.PayrollTransitionConfiguration
265
265
  /** */
266
266
  'Payroll.TransitionPayrollAlert': Translations.PayrollTransitionPayrollAlert
267
- /** @internal */
268
- 'Payroll.UNSTABLE_PayrollEditEmployee': Translations.PayrollUNSTABLE_PayrollEditEmployee
269
267
  /** */
270
268
  'Payroll.WireInstructions': Translations.PayrollWireInstructions
271
269
  /** */
@@ -4077,6 +4075,14 @@ export namespace Translations {
4077
4075
  wageType: {
4078
4076
  /** @defaultValue `"Wage Type"` */
4079
4077
  label: string
4078
+ /** @defaultValue `"Fixed"` */
4079
+ fixedLabel: string
4080
+ /** @defaultValue `"Hourly"` */
4081
+ hourlyLabel: string
4082
+ /** @defaultValue `"Pay a fixed amount each pay period."` */
4083
+ fixedDescription: string
4084
+ /** @defaultValue `"Pay based on hours worked."` */
4085
+ hourlyDescription: string
4080
4086
  }
4081
4087
  hourlyRate: {
4082
4088
  /** @defaultValue `"Hourly Rate"` */
@@ -8146,6 +8152,12 @@ export namespace Translations {
8146
8152
  /** @defaultValue `"Hours must be less than or equal to 99,999"` */
8147
8153
  maxHours: string
8148
8154
  }
8155
+ /** @defaultValue `"Preapproved hours"` */
8156
+ preapprovedHoursColumn: string
8157
+ /** @defaultValue `"Additional hours"` */
8158
+ additionalHoursColumn: string
8159
+ /** @defaultValue `"Type"` */
8160
+ timeOffTypeColumn: string
8149
8161
  }
8150
8162
  /** Translation keys for the `Payroll.PayrollFlow` i18n namespace. */
8151
8163
  export interface PayrollPayrollFlow {
@@ -8246,6 +8258,8 @@ export namespace Translations {
8246
8258
  breadcrumbs: {
8247
8259
  /** @defaultValue `"Run payroll"` */
8248
8260
  landing: string
8261
+ /** @defaultValue `"Transition payroll"` */
8262
+ transitionConfiguration: string
8249
8263
  /** @defaultValue `"Summary for {{startDate}}-{{endDate}}"` */
8250
8264
  overview: string
8251
8265
  /** @defaultValue `"Payroll receipt for {{startDate}}-{{endDate}}"` */
@@ -8849,67 +8863,8 @@ export namespace Translations {
8849
8863
  }
8850
8864
  }
8851
8865
  }
8852
- /** Translation keys for the `Payroll.Transition` i18n namespace. */
8853
- export interface PayrollTransition {
8854
- /** @defaultValue `"Transition Payroll"` */
8855
- breadcrumbLabel: string
8856
- }
8857
- /** Translation keys for the `Payroll.TransitionCreation` i18n namespace. */
8858
- export interface PayrollTransitionCreation {
8859
- /** @defaultValue `"Transition Payroll"` */
8860
- breadcrumbLabel: string
8861
- /** @defaultValue `"Transition Payroll"` */
8862
- pageTitle: string
8863
- /** @defaultValue `"A transition payroll covers the gap between your old and new pay schedules."` */
8864
- pageDescription: string
8865
- /** @defaultValue `"When a pay schedule changes, there may be workdays that fall between the end of the old schedule and the start of the new one. This transition payroll ensures employees are paid for those days."` */
8866
- transitionExplanation: string
8867
- /** @defaultValue `"Transition Details"` */
8868
- detailsHeading: string
8869
- /** @defaultValue `"Pay period"` */
8870
- payPeriodLabel: string
8871
- /** @defaultValue `"Pay schedule"` */
8872
- payScheduleLabel: string
8873
- /** @defaultValue `"Check date"` */
8874
- checkDateLabel: string
8875
- /** @defaultValue `"Continue"` */
8876
- continueCta: string
8877
- errors: {
8878
- /** @defaultValue `"Transition payroll was created but no payroll ID was returned"` */
8879
- missingPayrollId: string
8880
- /** @defaultValue `"Check date is required"` */
8881
- checkDateRequired: string
8882
- /** @defaultValue `"Check date must be at least {{count}} business day from today"` */
8883
- checkDateAchLeadTime_one: string
8884
- /** @defaultValue `"Check date must be at least {{count}} business days from today"` */
8885
- checkDateAchLeadTime_other: string
8886
- }
8887
- }
8888
- /** Translation keys for the `Payroll.TransitionPayrollAlert` i18n namespace. */
8889
- export interface PayrollTransitionPayrollAlert {
8890
- /** @defaultValue `"Transition payroll - {{dateRange}}"` */
8891
- alertTitle: string
8892
- /** @defaultValue `"Because you changed your pay schedule, you'll need to run some transition payrolls. Transition payrolls let you pay employees for any workdays during gaps between pay schedules. You may choose to skip them, but it is your responsibility to ensure employees are paid properly. Regular payroll functionality is blocked until you either run or skip transition payrolls."` */
8893
- alertDescription: string
8894
- /** @defaultValue `"Run Transition Payroll"` */
8895
- runPayroll: string
8896
- /** @defaultValue `"Skip this payroll"` */
8897
- skipPayroll: string
8898
- /** @defaultValue `"Transition payroll skipped"` */
8899
- skipSuccessAlert: string
8900
- skipDialog: {
8901
- /** @defaultValue `"Skip {{dateRange}} transition payroll?"` */
8902
- title: string
8903
- /** @defaultValue `"Skipping this payroll means employees will not be paid for the transition period. It is your responsibility to ensure employees are paid properly."` */
8904
- body: string
8905
- /** @defaultValue `"Skip payroll"` */
8906
- confirmCta: string
8907
- /** @defaultValue `"Cancel"` */
8908
- cancelCta: string
8909
- }
8910
- }
8911
- /** Translation keys for the `Payroll.UNSTABLE_PayrollEditEmployee` i18n namespace. @internal */
8912
- export interface PayrollUNSTABLE_PayrollEditEmployee {
8866
+ /** Translation keys for the `Payroll.RropPayrollEditEmployee` i18n namespace. @internal */
8867
+ export interface PayrollRropPayrollEditEmployee {
8913
8868
  /** @defaultValue `"Edit payroll for {{employeeName}}"` */
8914
8869
  pageTitle: string
8915
8870
  /** @defaultValue `"{{firstName}} {{lastName}}"` */
@@ -9042,6 +8997,90 @@ export namespace Translations {
9042
8997
  /** @defaultValue `"Hours must be less than or equal to 99,999"` */
9043
8998
  maxHours: string
9044
8999
  }
9000
+ /** @defaultValue `"Preapproved hours"` */
9001
+ preapprovedHoursColumn: string
9002
+ /** @defaultValue `"Additional hours"` */
9003
+ additionalHoursColumn: string
9004
+ }
9005
+ /** Translation keys for the `Payroll.TransitionConfiguration` i18n namespace. */
9006
+ export interface PayrollTransitionConfiguration {
9007
+ /** @defaultValue `"Edit transition payroll"` */
9008
+ pageTitle: string
9009
+ /** @defaultValue `"A transition payroll covers the gap between your old and new pay schedules."` */
9010
+ pageDescription: string
9011
+ /** @defaultValue `"When a pay schedule changes, there may be workdays that fall between the end of the old schedule and the start of the new one. This transition payroll ensures employees are paid for those days."` */
9012
+ transitionExplanation: string
9013
+ /** @defaultValue `"Transition Details"` */
9014
+ detailsHeading: string
9015
+ /** @defaultValue `"Pay period"` */
9016
+ payPeriodLabel: string
9017
+ /** @defaultValue `"Pay schedule"` */
9018
+ payScheduleLabel: string
9019
+ /** @defaultValue `"Payment date"` */
9020
+ checkDateLabel: string
9021
+ /** @defaultValue `"Continue"` */
9022
+ continueCta: string
9023
+ errors: {
9024
+ /** @defaultValue `"This transition payroll has no employees to update, so its settings could not be saved."` */
9025
+ noEmployeeCompensations: string
9026
+ }
9027
+ deductions: {
9028
+ /** @defaultValue `"Deductions and contributions"` */
9029
+ title: string
9030
+ /** @defaultValue `"Employers often block deductions and contributions from certain checks (i.e. bonus checks), since they are calculated on a per-pay-period basis. Deductions and contributions include loan repayments, garnishments, benefits, etc. Taxes will be included regardless of what is chosen."` */
9031
+ description: string
9032
+ options: {
9033
+ /** @defaultValue `"Make all the regular deductions and contributions."` */
9034
+ include: string
9035
+ /** @defaultValue `"Block all deductions and contributions, except 401(k). Taxes will be included."` */
9036
+ skip: string
9037
+ }
9038
+ }
9039
+ wageTypeGroups: {
9040
+ regular: {
9041
+ /** @defaultValue `"Regular hours, regular wages, and tips"` */
9042
+ label: string
9043
+ /** @defaultValue `"These earnings should be taxed at a rate that matches your employees' regular pay schedule."` */
9044
+ description: string
9045
+ }
9046
+ supplemental: {
9047
+ /** @defaultValue `"Supplemental wages, bonus wages, commission"` */
9048
+ label: string
9049
+ /** @defaultValue `"These are typically taxed at the rate required by the IRS for federal income taxes and by the state for state income taxes."` */
9050
+ description: string
9051
+ }
9052
+ reimbursement: {
9053
+ /** @defaultValue `"Reimbursements"` */
9054
+ label: string
9055
+ }
9056
+ }
9057
+ }
9058
+ /** Translation keys for the `Payroll.TransitionPayrollAlert` i18n namespace. */
9059
+ export interface PayrollTransitionPayrollAlert {
9060
+ /** @defaultValue `"Transition payroll - {{dateRange}}"` */
9061
+ alertTitle: string
9062
+ /** @defaultValue `"You have {{count}} transition payrolls to run or skip"` */
9063
+ multipleAlertTitle: string
9064
+ /** @defaultValue `"Because you changed your pay schedule, you'll need to run some transition payrolls. Transition payrolls let you pay employees for any workdays during gaps between pay schedules. You may choose to skip them, but it is your responsibility to ensure employees are paid properly. Regular payroll functionality is blocked until you either run or skip transition payrolls."` */
9065
+ alertDescription: string
9066
+ /** @defaultValue `"Run Transition Payroll"` */
9067
+ runPayroll: string
9068
+ /** @defaultValue `"Review and submit"` */
9069
+ reviewPayroll: string
9070
+ /** @defaultValue `"Skip this payroll"` */
9071
+ skipPayroll: string
9072
+ /** @defaultValue `"Transition payroll skipped"` */
9073
+ skipSuccessAlert: string
9074
+ skipDialog: {
9075
+ /** @defaultValue `"Skip {{dateRange}} transition payroll?"` */
9076
+ title: string
9077
+ /** @defaultValue `"Skipping this payroll means employees will not be paid for the transition period. It is your responsibility to ensure employees are paid properly."` */
9078
+ body: string
9079
+ /** @defaultValue `"Skip payroll"` */
9080
+ confirmCta: string
9081
+ /** @defaultValue `"Cancel"` */
9082
+ cancelCta: string
9083
+ }
9045
9084
  }
9046
9085
  /** Translation keys for the `Payroll.WireInstructions` i18n namespace. */
9047
9086
  export interface PayrollWireInstructions {
@@ -9399,6 +9438,14 @@ export namespace Translations {
9399
9438
  selectRowLabel: string
9400
9439
  /** @defaultValue `"Select all rows"` */
9401
9440
  selectAllRowsLabel: string
9441
+ /** @defaultValue `"Sort by"` */
9442
+ sortByLabel: string
9443
+ /** @defaultValue `"Default order"` */
9444
+ sortDefaultOption: string
9445
+ /** @defaultValue `"{{column}} (A–Z)"` */
9446
+ sortAscendingOption: string
9447
+ /** @defaultValue `"{{column}} (Z–A)"` */
9448
+ sortDescendingOption: string
9402
9449
  }
9403
9450
  signatoryTitles: {
9404
9451
  /** @defaultValue `"Owner"` */
@@ -1,14 +1,14 @@
1
- import { ComponentType } from 'react';
1
+ import { ComponentType, ReactNode } from 'react';
2
2
  import { BaseFieldProps, ValidationMessages, FormHookResult } from '../../types';
3
3
  import { RadioGroupProps } from '../../../components/Common/UI/RadioGroup/RadioGroupTypes';
4
4
  /**
5
5
  * Props accepted by a radio group field surfaced through a form hook.
6
- * Exposes `getOptionLabel` to customize how option entries are rendered as labels,
7
- * and `validationMessages` for custom error text alongside the shared base field
6
+ * Exposes `getOptionLabel` and `getOptionDescription` to customize how option entries are
7
+ * rendered, and `validationMessages` for custom error text alongside the shared base field
8
8
  * attributes (`label`, `description`).
9
9
  *
10
10
  * @typeParam TErrorCode - Validation error code keys mapped via `validationMessages`.
11
- * @typeParam TEntry - Shape of each option entry consumed by `getOptionLabel`.
11
+ * @typeParam TEntry - Shape of each option entry consumed by `getOptionLabel` and `getOptionDescription`.
12
12
  * @public
13
13
  * @group Hook field props
14
14
  */
@@ -21,6 +21,8 @@ export interface RadioGroupHookFieldProps<TErrorCode extends string = never, TEn
21
21
  validationMessages?: ValidationMessages<TErrorCode>;
22
22
  /** Maps a raw option entry to its display label; when omitted, options use the labels provided by the hook. */
23
23
  getOptionLabel?: (entry: TEntry) => string;
24
+ /** Maps a raw option entry to supporting text rendered beneath that radio option; when omitted, no per-option description is rendered. */
25
+ getOptionDescription?: (entry: TEntry) => ReactNode;
24
26
  /** Replaces the default radio group UI component; must accept the same props as `RadioGroupProps`. */
25
27
  FieldComponent?: ComponentType<RadioGroupProps>;
26
28
  }
@@ -28,9 +30,9 @@ export interface RadioGroupHookFieldProps<TErrorCode extends string = never, TEn
28
30
  * Radio group field connected to a partner form hook result via `useHookFieldResolution`.
29
31
  *
30
32
  * @typeParam TErrorCode - Validation error code keys mapped via `validationMessages`.
31
- * @typeParam TEntry - Shape of each option entry consumed by `getOptionLabel`.
32
- * @param props - Field configuration including `name`, `formHookResult`, and an optional `getOptionLabel`.
33
+ * @typeParam TEntry - Shape of each option entry consumed by `getOptionLabel` and `getOptionDescription`.
34
+ * @param props - Field configuration including `name`, `formHookResult`, and optional `getOptionLabel` / `getOptionDescription`.
33
35
  * @returns The rendered radio group field wrapped in the field element registry.
34
36
  * @internal
35
37
  */
36
- export declare function RadioGroupHookField<TErrorCode extends string, TEntry = unknown>({ name, formHookResult, label, description, validationMessages, getOptionLabel, FieldComponent, }: RadioGroupHookFieldProps<TErrorCode, TEntry>): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
38
+ export declare function RadioGroupHookField<TErrorCode extends string, TEntry = unknown>({ name, formHookResult, label, description, validationMessages, getOptionLabel, getOptionDescription, FieldComponent, }: RadioGroupHookFieldProps<TErrorCode, TEntry>): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
@@ -475,8 +475,9 @@ export declare const offCycleEvents: {
475
475
  readonly OFF_CYCLE_CREATED: "offCycle/created";
476
476
  readonly OFF_CYCLE_BLOCKERS_VIEW_ALL: "offCycle/blockers/viewAll";
477
477
  readonly DISMISSAL_PAY_PERIOD_SELECTED: "dismissal/payPeriod/selected";
478
- readonly TRANSITION_CREATED: "transition/created";
478
+ readonly TRANSITION_CONFIGURED: "transition/configured";
479
479
  readonly RUN_TRANSITION_PAYROLL: "transition/runPayroll";
480
+ readonly TRANSITION_PAYROLL_SELECTED: "transition/payrollSelected";
480
481
  readonly TRANSITION_PAYROLL_SKIPPED: "transition/payrollSkipped";
481
482
  };
482
483
  /**
@@ -589,8 +590,9 @@ export declare const componentEvents: {
589
590
  readonly OFF_CYCLE_CREATED: "offCycle/created";
590
591
  readonly OFF_CYCLE_BLOCKERS_VIEW_ALL: "offCycle/blockers/viewAll";
591
592
  readonly DISMISSAL_PAY_PERIOD_SELECTED: "dismissal/payPeriod/selected";
592
- readonly TRANSITION_CREATED: "transition/created";
593
+ readonly TRANSITION_CONFIGURED: "transition/configured";
593
594
  readonly RUN_TRANSITION_PAYROLL: "transition/runPayroll";
595
+ readonly TRANSITION_PAYROLL_SELECTED: "transition/payrollSelected";
594
596
  readonly TRANSITION_PAYROLL_SKIPPED: "transition/payrollSkipped";
595
597
  readonly CONTRACTOR_HISTORICAL_PAYMENT_CREATE: "contractor/historicalPayments/create";
596
598
  readonly CONTRACTOR_HISTORICAL_PAYMENT_EDIT: "contractor/historicalPayments/edit";
@@ -1,6 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { RenderOptions } from '@testing-library/react';
3
3
  import { UnstableFeatures } from '../contexts/UnstableFeaturesProvider/useUnstableFeature';
4
+ import { Features } from '../contexts/FeaturesProvider/useFeature';
4
5
  /**
5
6
  * Custom render function that wraps the component with necessary providers
6
7
  * - ComponentsProvider: Provides UI components
@@ -8,5 +9,6 @@ import { UnstableFeatures } from '../contexts/UnstableFeaturesProvider/useUnstab
8
9
  * - I18nextProvider: Provides translation functions
9
10
  */
10
11
  export declare const renderWithProviders: (ui: ReactElement, options?: Omit<RenderOptions, "wrapper"> & {
12
+ features?: Features;
11
13
  unstableFeatures?: UnstableFeatures;
12
14
  }) => import('@testing-library/react').RenderResult<typeof import('@testing-library/dom/types/queries'), HTMLElement, HTMLElement>;