@gusto/embedded-react-sdk 0.46.0 → 0.46.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +117 -0
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +2 -1
- package/dist/components/Common/DataView/DataCards/DataCards.js +14 -13
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +2 -1
- package/dist/components/Common/DataView/DataTable/DataTable.js +85 -80
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.module.scss.js +8 -0
- package/dist/components/Common/DataView/DataTable/DataTable.module.scss.js.map +1 -0
- package/dist/components/Common/DataView/DataView.d.ts +1 -0
- package/dist/components/Common/DataView/DataView.js.map +1 -1
- package/dist/components/Common/DataView/useDataView.d.ts +10 -1
- package/dist/components/Common/DataView/useDataView.js +20 -17
- package/dist/components/Common/DataView/useDataView.js.map +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.js +10 -10
- package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.module.scss.js +9 -9
- package/dist/components/Common/PaginationControl/PaginationControl.js +11 -10
- package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionList.js +11 -10
- package/dist/components/Common/UI/DescriptionList/DescriptionList.js.map +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +4 -4
- package/dist/components/Common/UI/Input/InputTypes.d.ts +1 -1
- package/dist/components/Common/UI/Input/InputTypes.js.map +1 -1
- package/dist/components/Common/UI/NumberInput/NumberInput.js +51 -48
- package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +3 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +3 -4
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +5 -6
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +3 -4
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +3 -4
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.js +4 -4
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +5 -6
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +6 -7
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +3 -4
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +3 -4
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +3 -4
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +5 -5
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +3 -4
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +3 -4
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Contractor/Address/useAddress.js +5 -6
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.js +33 -34
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.d.ts +9 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js +76 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js.map +1 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js +8 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js +60 -202
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js.map +1 -1
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.d.ts +25 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js +79 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js.map +1 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js +8 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.d.ts +18 -0
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js +171 -0
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js.map +1 -0
- package/dist/components/Employee/Compensation/management/index.d.ts +3 -0
- package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.d.ts +6 -1
- package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js +67 -209
- package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js.map +1 -1
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js +36 -36
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.d.ts +18 -0
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js +169 -0
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js.map +1 -0
- package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.d.ts +16 -0
- package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js +36 -30
- package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.d.ts +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js +4 -4
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +213 -191
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useJobForm/fields.js +6 -6
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.d.ts +6 -5
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +162 -131
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
- package/dist/components/Employee/Dashboard/BasicDetailsView.js +74 -88
- package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -1
- package/dist/components/Employee/Dashboard/Dashboard.js +86 -72
- package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +3 -3
- package/dist/components/Employee/Dashboard/DashboardComponents.js +138 -101
- package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -1
- package/dist/components/Employee/Dashboard/DocumentsView.js +17 -10
- package/dist/components/Employee/Dashboard/DocumentsView.js.map +1 -1
- package/dist/components/Employee/Dashboard/JobAndPayView.js +359 -313
- package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -1
- package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js +5 -3
- package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js.map +1 -1
- package/dist/components/Employee/Dashboard/TaxesView.js +114 -101
- package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -1
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js +147 -148
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -1
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.d.ts +6 -0
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js +37 -36
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js.map +1 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +2 -2
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +34 -35
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js +57 -57
- package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.d.ts +14 -5
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js +55 -36
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.js +8 -8
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js +18 -18
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.js +4 -4
- package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.d.ts +3 -3
- package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +3 -4
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/fields.js +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js +37 -40
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +1 -2
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +64 -71
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.d.ts +2 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.js +25 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.js.map +1 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.d.ts +13 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js +37 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js.map +1 -0
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.d.ts +6 -0
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js +69 -0
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js.map +1 -0
- package/dist/components/Employee/EmployeeListFlow/index.d.ts +3 -0
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js +4 -4
- package/dist/components/Employee/HomeAddress/management/HomeAddress.js +15 -12
- package/dist/components/Employee/HomeAddress/management/HomeAddress.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.d.ts +2 -1
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +170 -157
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js +56 -55
- package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +20 -20
- package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useBankForm/fields.js +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.js +4 -4
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.js +8 -8
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.js +5 -5
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.d.ts +0 -1
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js +11 -12
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.test.d.ts +1 -0
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.d.ts +6 -1
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js +95 -94
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js +4 -4
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.d.ts +6 -1
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js +87 -86
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js +18 -18
- package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +8 -8
- package/dist/components/Employee/Taxes/useTaxes.js +3 -4
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddress.js +14 -11
- package/dist/components/Employee/WorkAddress/management/WorkAddress.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.d.ts +2 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +96 -89
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js +61 -60
- package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js.map +1 -1
- package/dist/components/Employee/exports/employeeManagement.d.ts +2 -0
- package/dist/components/Employee/exports/employeeManagement.js +18 -16
- package/dist/components/Employee/exports/employeeManagement.js.map +1 -1
- package/dist/components/Employee/index.d.ts +2 -0
- package/dist/components/Employee/index.js +32 -30
- package/dist/components/Employee/index.js.map +1 -1
- package/dist/components/Flow/FlowHeader.js +34 -31
- package/dist/components/Flow/FlowHeader.js.map +1 -1
- package/dist/components/Flow/useFlow.d.ts +12 -0
- package/dist/components/Flow/useFlow.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +2 -3
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +2 -3
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyList.js +92 -69
- package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +23 -23
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js +73 -56
- package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +58 -58
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +91 -87
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +2 -0
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +91 -125
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +60 -91
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.module.scss.js +4 -4
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +0 -16
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +139 -225
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.d.ts +7 -3
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +78 -54
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.test.d.ts +1 -0
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js +12 -11
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +177 -147
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js +34 -34
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +38 -36
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTableTypes.d.ts +2 -0
- package/dist/helpers/breadcrumbHelpers.d.ts +1 -1
- package/dist/helpers/breadcrumbHelpers.js.map +1 -1
- package/dist/helpers/federalEin.d.ts +1 -0
- package/dist/helpers/federalEin.js.map +1 -1
- package/dist/helpers/mask.d.ts +8 -4
- package/dist/helpers/mask.js.map +1 -1
- package/dist/helpers/rem.d.ts +2 -1
- package/dist/helpers/rem.js.map +1 -1
- package/dist/hooks/useAsyncError.d.ts +1 -0
- package/dist/hooks/useAsyncError.js.map +1 -1
- package/dist/hooks/useForkRef/useForkRef.d.ts +1 -0
- package/dist/hooks/useForkRef/useForkRef.js.map +1 -1
- package/dist/i18n/I18n.d.ts +9 -1
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js +14 -14
- package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js +16 -22
- package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js.map +1 -1
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +17 -15
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -1
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +9 -9
- package/dist/i18n/en/Employee.Compensation.json.js +66 -58
- package/dist/i18n/en/Employee.Compensation.json.js.map +1 -1
- package/dist/i18n/en/Employee.Dashboard.json.js +28 -24
- package/dist/i18n/en/Employee.Dashboard.json.js.map +1 -1
- package/dist/i18n/en/Employee.HomeAddress.Management.json.js +12 -10
- package/dist/i18n/en/Employee.HomeAddress.Management.json.js.map +1 -1
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +32 -30
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -1
- package/dist/i18n/en/Employee.PaymentMethod.json.js +25 -25
- package/dist/i18n/en/Employee.StateTaxes.json.js +12 -10
- package/dist/i18n/en/Employee.StateTaxes.json.js.map +1 -1
- package/dist/i18n/en/Employee.WorkAddress.Management.json.js +16 -14
- package/dist/i18n/en/Employee.WorkAddress.Management.json.js.map +1 -1
- package/dist/i18n/en/common.json.d.ts +14 -0
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.js +33 -32
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
- package/dist/partner-hook-utils/types.d.ts +4 -0
- package/dist/shared/constants.d.ts +2 -0
- package/dist/shared/constants.js +13 -12
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/i18next.d.ts +30 -29
- package/dist/types/observability.d.ts +1 -1
- package/docs/reference/endpoint-inventory.json +24 -8
- package/package.json +30 -27
- package/dist/components/Employee/Dashboard/CompensationCard.d.ts +0 -13
package/dist/types/i18next.d.ts
CHANGED
|
@@ -573,32 +573,14 @@ export interface CompanyTimeOffSelectEmployees{
|
|
|
573
573
|
"description":string;
|
|
574
574
|
"holidayDescription":string;
|
|
575
575
|
"reassignmentWarning":string;
|
|
576
|
-
"policyTypeLabel_vacation":string;
|
|
577
|
-
"policyTypeLabel_sick":string;
|
|
578
576
|
"departmentColumn":string;
|
|
579
577
|
"startingBalanceColumn":string;
|
|
580
578
|
"backCta":string;
|
|
581
579
|
"continueCta":string;
|
|
580
|
+
"emptyState":string;
|
|
582
581
|
"errors":{
|
|
583
|
-
"removeEmployeesFailed":string;
|
|
584
582
|
"completePolicyFailed":string;
|
|
585
583
|
};
|
|
586
|
-
"removeConfirmDialog":{
|
|
587
|
-
"title_one":string;
|
|
588
|
-
"title_other":string;
|
|
589
|
-
"description_one":string;
|
|
590
|
-
"description_other":string;
|
|
591
|
-
"confirmCta":string;
|
|
592
|
-
"cancelCta":string;
|
|
593
|
-
};
|
|
594
|
-
"addConfirmDialog":{
|
|
595
|
-
"title_one":string;
|
|
596
|
-
"title_other":string;
|
|
597
|
-
"description_one":string;
|
|
598
|
-
"description_other":string;
|
|
599
|
-
"confirmCta":string;
|
|
600
|
-
"cancelCta":string;
|
|
601
|
-
};
|
|
602
584
|
};
|
|
603
585
|
export interface CompanyTimeOffSelectPolicyType{
|
|
604
586
|
"title":string;
|
|
@@ -656,6 +638,10 @@ export interface CompanyTimeOffTimeOffPolicies{
|
|
|
656
638
|
"holidayDeleted":string;
|
|
657
639
|
"invalidPolicyType":string;
|
|
658
640
|
};
|
|
641
|
+
"errors":{
|
|
642
|
+
"pendingRequestsBlockDeletion":string;
|
|
643
|
+
"deleteFailed":string;
|
|
644
|
+
};
|
|
659
645
|
};
|
|
660
646
|
export interface CompanyTimeOffTimeOffPolicyDetails{
|
|
661
647
|
"breadcrumb":string;
|
|
@@ -753,6 +739,10 @@ export interface CompanyTimeOffTimeOffPolicyDetails{
|
|
|
753
739
|
"hoursUnit":string;
|
|
754
740
|
"cancelCta":string;
|
|
755
741
|
"updateCta":string;
|
|
742
|
+
"errors":{
|
|
743
|
+
"balanceExceedsMax":string;
|
|
744
|
+
"updateFailed":string;
|
|
745
|
+
};
|
|
756
746
|
};
|
|
757
747
|
"removeEmployeeModal":{
|
|
758
748
|
"title":string;
|
|
@@ -1339,6 +1329,7 @@ export interface EmployeeBankAccount{
|
|
|
1339
1329
|
};
|
|
1340
1330
|
export interface EmployeeCompensation{
|
|
1341
1331
|
"addAnotherJobCta":string;
|
|
1332
|
+
"addAnotherJobTitle":string;
|
|
1342
1333
|
"adjustForMinimumWage":string;
|
|
1343
1334
|
"adjustForMinimumWageDescription":string;
|
|
1344
1335
|
"minimumWageLabel":string;
|
|
@@ -1377,6 +1368,9 @@ export interface EmployeeCompensation{
|
|
|
1377
1368
|
"Week":string;
|
|
1378
1369
|
"Year":string;
|
|
1379
1370
|
};
|
|
1371
|
+
"effectiveDate":string;
|
|
1372
|
+
"effectiveDateDescription":string;
|
|
1373
|
+
"hireDate":string;
|
|
1380
1374
|
"saveNewJobCta":string;
|
|
1381
1375
|
"submitCta":string;
|
|
1382
1376
|
"title":string;
|
|
@@ -1388,18 +1382,14 @@ export interface EmployeeCompensation{
|
|
|
1388
1382
|
"jobTitleLabel":string;
|
|
1389
1383
|
"wageLabel":string;
|
|
1390
1384
|
"wageFrequencyLabel":string;
|
|
1391
|
-
"
|
|
1392
|
-
"Hour":string;
|
|
1393
|
-
"Week":string;
|
|
1394
|
-
"Month":string;
|
|
1395
|
-
"Year":string;
|
|
1396
|
-
"Paycheck":string;
|
|
1397
|
-
};
|
|
1385
|
+
"hireDateLabel":string;
|
|
1398
1386
|
"twoPercentShareholderLabel":string;
|
|
1399
1387
|
"saveCta":string;
|
|
1400
|
-
"scheduledClassificationChangeNotification":string;
|
|
1401
1388
|
};
|
|
1402
1389
|
"validations":{
|
|
1390
|
+
"effectiveDate":string;
|
|
1391
|
+
"effectiveDateBeforeHire":string;
|
|
1392
|
+
"hireDate":string;
|
|
1403
1393
|
"classificationChangeNotification":string;
|
|
1404
1394
|
"exemptThreshold":string;
|
|
1405
1395
|
"paymentUnit":string;
|
|
@@ -1409,8 +1399,7 @@ export interface EmployeeCompensation{
|
|
|
1409
1399
|
"title":string;
|
|
1410
1400
|
"minimumWage":string;
|
|
1411
1401
|
"stateWcClassCode":string;
|
|
1412
|
-
"
|
|
1413
|
-
"effectiveDateBeforeHire":string;
|
|
1402
|
+
"effectiveDateBeforeMin":string;
|
|
1414
1403
|
"jobTitleSentence":string;
|
|
1415
1404
|
};
|
|
1416
1405
|
"stateWcCoveredLabel":string;
|
|
@@ -1425,7 +1414,9 @@ export interface EmployeeCompensation{
|
|
|
1425
1414
|
};
|
|
1426
1415
|
export interface EmployeeDashboard{
|
|
1427
1416
|
"title":string;
|
|
1417
|
+
"employeeRoleLabel":string;
|
|
1428
1418
|
"tabsLabel":string;
|
|
1419
|
+
"listEmptyPlaceholder":string;
|
|
1429
1420
|
"tabs":{
|
|
1430
1421
|
"basicDetails":string;
|
|
1431
1422
|
"jobAndPay":string;
|
|
@@ -1475,7 +1466,9 @@ export interface EmployeeDashboard{
|
|
|
1475
1466
|
"jobTitle":string;
|
|
1476
1467
|
"payType":string;
|
|
1477
1468
|
"effectiveDate":string;
|
|
1469
|
+
"status":string;
|
|
1478
1470
|
};
|
|
1471
|
+
"pendingStatus":string;
|
|
1479
1472
|
"deleteJobDialog":{
|
|
1480
1473
|
"title":string;
|
|
1481
1474
|
"description":string;
|
|
@@ -1573,6 +1566,7 @@ export interface EmployeeDashboard{
|
|
|
1573
1566
|
"title":string;
|
|
1574
1567
|
"editCta":string;
|
|
1575
1568
|
"noStateTaxes":string;
|
|
1569
|
+
"noWithholdingForState":string;
|
|
1576
1570
|
};
|
|
1577
1571
|
};
|
|
1578
1572
|
"documents":{
|
|
@@ -1610,11 +1604,13 @@ export interface EmployeeDashboard{
|
|
|
1610
1604
|
"deductionAdded":string;
|
|
1611
1605
|
"deductionUpdated":string;
|
|
1612
1606
|
"deductionDeleted":string;
|
|
1607
|
+
"jobAdded":string;
|
|
1613
1608
|
};
|
|
1614
1609
|
"compensationFlow":{
|
|
1615
1610
|
"addJobTitle":string;
|
|
1616
1611
|
"editTitle":string;
|
|
1617
1612
|
"addAnotherJobTitle":string;
|
|
1613
|
+
"saveCta":string;
|
|
1618
1614
|
};
|
|
1619
1615
|
};
|
|
1620
1616
|
export interface EmployeeDeductions{
|
|
@@ -1927,6 +1923,7 @@ export interface EmployeeHomeAddressManagement{
|
|
|
1927
1923
|
"startDateHelper":string;
|
|
1928
1924
|
"submitCta":string;
|
|
1929
1925
|
"cancelCta":string;
|
|
1926
|
+
"backCta":string;
|
|
1930
1927
|
"deleteModalTitle":string;
|
|
1931
1928
|
"deleteModalDescription":string;
|
|
1932
1929
|
"deleteModalConfirmCta":string;
|
|
@@ -2022,6 +2019,7 @@ export interface EmployeeLanding{
|
|
|
2022
2019
|
export interface EmployeeManagementEmployeeList{
|
|
2023
2020
|
"title":string;
|
|
2024
2021
|
"addEmployeeCta":string;
|
|
2022
|
+
"backToListCta":string;
|
|
2025
2023
|
"tabsLabel":string;
|
|
2026
2024
|
"tabs":{
|
|
2027
2025
|
"active":string;
|
|
@@ -2169,6 +2167,7 @@ export interface EmployeePaymentMethod{
|
|
|
2169
2167
|
"accountName":string;
|
|
2170
2168
|
"routingNumber":string;
|
|
2171
2169
|
"accountNumber":string;
|
|
2170
|
+
"accountNumberFormat":string;
|
|
2172
2171
|
};
|
|
2173
2172
|
};
|
|
2174
2173
|
export interface EmployeeProfile{
|
|
@@ -2229,6 +2228,7 @@ export interface EmployeeSplitPaycheck{
|
|
|
2229
2228
|
};
|
|
2230
2229
|
export interface EmployeeStateTaxes{
|
|
2231
2230
|
"stateTaxesTitle":string;
|
|
2231
|
+
"noWithholding":string;
|
|
2232
2232
|
"submitCta":string;
|
|
2233
2233
|
"saveCta":string;
|
|
2234
2234
|
"cancelCta":string;
|
|
@@ -2416,6 +2416,7 @@ export interface EmployeeWorkAddressManagement{
|
|
|
2416
2416
|
};
|
|
2417
2417
|
"submitCta":string;
|
|
2418
2418
|
"cancelCta":string;
|
|
2419
|
+
"backCta":string;
|
|
2419
2420
|
"deleteModalTitle":string;
|
|
2420
2421
|
"deleteModalDescription":string;
|
|
2421
2422
|
"deleteModalConfirmCta":string;
|
|
@@ -105,7 +105,7 @@ export interface ObservabilityHook {
|
|
|
105
105
|
onMetric?: (metric: ObservabilityMetric) => void;
|
|
106
106
|
/**
|
|
107
107
|
* Configuration for sanitizing data before sending to observability tools.
|
|
108
|
-
* Default: { enabled: true, includeRawError: false }
|
|
108
|
+
* Default: `{ enabled: true, includeRawError: false }`
|
|
109
109
|
*/
|
|
110
110
|
sanitization?: SanitizationConfig;
|
|
111
111
|
}
|
|
@@ -837,6 +837,10 @@
|
|
|
837
837
|
"method": "GET",
|
|
838
838
|
"path": "/v1/employees/:employeeId/home_addresses"
|
|
839
839
|
},
|
|
840
|
+
{
|
|
841
|
+
"method": "GET",
|
|
842
|
+
"path": "/v1/employees/:employeeId/jobs"
|
|
843
|
+
},
|
|
840
844
|
{
|
|
841
845
|
"method": "GET",
|
|
842
846
|
"path": "/v1/employees/:employeeId/pay_stubs"
|
|
@@ -1517,10 +1521,6 @@
|
|
|
1517
1521
|
{
|
|
1518
1522
|
"method": "PUT",
|
|
1519
1523
|
"path": "/v1/time_off_policies/:timeOffPolicyUuid/add_employees"
|
|
1520
|
-
},
|
|
1521
|
-
{
|
|
1522
|
-
"method": "PUT",
|
|
1523
|
-
"path": "/v1/time_off_policies/:timeOffPolicyUuid/remove_employees"
|
|
1524
1524
|
}
|
|
1525
1525
|
],
|
|
1526
1526
|
"variables": [
|
|
@@ -1560,10 +1560,6 @@
|
|
|
1560
1560
|
{
|
|
1561
1561
|
"method": "PUT",
|
|
1562
1562
|
"path": "/v1/companies/:companyUuid/holiday_pay_policy/add"
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
"method": "PUT",
|
|
1566
|
-
"path": "/v1/companies/:companyUuid/holiday_pay_policy/remove"
|
|
1567
1563
|
}
|
|
1568
1564
|
],
|
|
1569
1565
|
"variables": [
|
|
@@ -1990,6 +1986,10 @@
|
|
|
1990
1986
|
"method": "GET",
|
|
1991
1987
|
"path": "/v1/employees/:employeeId/home_addresses"
|
|
1992
1988
|
},
|
|
1989
|
+
{
|
|
1990
|
+
"method": "GET",
|
|
1991
|
+
"path": "/v1/employees/:employeeId/jobs"
|
|
1992
|
+
},
|
|
1993
1993
|
{
|
|
1994
1994
|
"method": "GET",
|
|
1995
1995
|
"path": "/v1/employees/:employeeId/pay_stubs"
|
|
@@ -2613,6 +2613,14 @@
|
|
|
2613
2613
|
"EmployeeOnboarding.PaymentMethod"
|
|
2614
2614
|
]
|
|
2615
2615
|
},
|
|
2616
|
+
"Employee.EmployeeListFlow": {
|
|
2617
|
+
"blocks": [
|
|
2618
|
+
"Employee.DashboardFlow",
|
|
2619
|
+
"Employee.OnboardingFlow",
|
|
2620
|
+
"Employee.TerminationFlow",
|
|
2621
|
+
"EmployeeManagement.EmployeeList"
|
|
2622
|
+
]
|
|
2623
|
+
},
|
|
2616
2624
|
"Employee.OnboardingFlow": {
|
|
2617
2625
|
"blocks": [
|
|
2618
2626
|
"Employee.Compensation",
|
|
@@ -2659,6 +2667,14 @@
|
|
|
2659
2667
|
"EmployeeOnboarding.PaymentMethod"
|
|
2660
2668
|
]
|
|
2661
2669
|
},
|
|
2670
|
+
"EmployeeManagement.EmployeeListFlow": {
|
|
2671
|
+
"blocks": [
|
|
2672
|
+
"EmployeeManagement.DashboardFlow",
|
|
2673
|
+
"EmployeeManagement.EmployeeList",
|
|
2674
|
+
"EmployeeManagement.TerminationFlow",
|
|
2675
|
+
"EmployeeOnboarding.OnboardingFlow"
|
|
2676
|
+
]
|
|
2677
|
+
},
|
|
2662
2678
|
"EmployeeManagement.TerminationFlow": {
|
|
2663
2679
|
"blocks": [
|
|
2664
2680
|
"EmployeeManagement.TerminateEmployee",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gusto/embedded-react-sdk",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.3",
|
|
4
4
|
"homepage": "https://github.com/Gusto/embedded-react-sdk",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/Gusto/embedded-react-sdk/issues"
|
|
@@ -43,11 +43,12 @@
|
|
|
43
43
|
"watch:translations": "node ./build/translationWatcher.js",
|
|
44
44
|
"dev": "node ./build/prompt.js && npm run i18n:generate && npm-run-all --parallel watch:vite watch:translations",
|
|
45
45
|
"dev:setup": "npm link ../gws-flows/node_modules/react ../gws-flows/node_modules/react-dom && (cd ../gws-flows && yarn link -r ../embedded-react-sdk)",
|
|
46
|
+
"docs": "npm --prefix docs-site start",
|
|
47
|
+
"docs:build": "npm --prefix docs-site run build",
|
|
48
|
+
"docs:clear": "npm --prefix docs-site run clear",
|
|
46
49
|
"docs:events": "npx tsx ./build/eventTypeDocsEmitter.ts",
|
|
47
|
-
"docs:
|
|
48
|
-
"docs": "
|
|
49
|
-
"docs:watch": "npx tsx .docs/src/preview/previewGenerator.ts --watch",
|
|
50
|
-
"docs:publish": "npx tsx .docs/src/publish/readmePublisher.ts",
|
|
50
|
+
"docs:install": "npm --prefix docs-site install",
|
|
51
|
+
"docs:serve": "npm --prefix docs-site run serve",
|
|
51
52
|
"format": "prettier . --write --log-level warn",
|
|
52
53
|
"format:check": "prettier . --check --log-level warn",
|
|
53
54
|
"format:staged": "prettier --write --log-level warn",
|
|
@@ -88,24 +89,26 @@
|
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
91
|
"@commitlint/cli": "^21.0.1",
|
|
91
|
-
"@commitlint/config-conventional": "^21.0.
|
|
92
|
+
"@commitlint/config-conventional": "^21.0.2",
|
|
92
93
|
"@eslint/js": "^9.39.2",
|
|
93
94
|
"@playwright/test": "^1.60.0",
|
|
94
|
-
"@release-it/conventional-changelog": "^11.0.
|
|
95
|
-
"@storybook/addon-a11y": "^10.4.
|
|
96
|
-
"@storybook/addon-docs": "^10.4.
|
|
97
|
-
"@storybook/addon-onboarding": "^10.4.
|
|
98
|
-
"@storybook/react-vite": "^10.4.
|
|
95
|
+
"@release-it/conventional-changelog": "^11.0.1",
|
|
96
|
+
"@storybook/addon-a11y": "^10.4.1",
|
|
97
|
+
"@storybook/addon-docs": "^10.4.1",
|
|
98
|
+
"@storybook/addon-onboarding": "^10.4.1",
|
|
99
|
+
"@storybook/react-vite": "^10.4.1",
|
|
99
100
|
"@storybook/test-runner": "^0.24.4",
|
|
100
101
|
"@testing-library/jest-dom": "^6.9.1",
|
|
101
102
|
"@testing-library/react": "^16.3.2",
|
|
102
103
|
"@testing-library/user-event": "^14.6.1",
|
|
104
|
+
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
103
105
|
"@types/jest": "^30.0.0",
|
|
104
106
|
"@types/jest-axe": "^3.5.9",
|
|
105
|
-
"@types/js-yaml": "^4.0.9",
|
|
106
107
|
"@types/pngjs": "^6.0.5",
|
|
107
108
|
"@types/react": "^19.2.15",
|
|
108
109
|
"@types/react-dom": "^19.2.3",
|
|
110
|
+
"@typescript-eslint/rule-tester": "^8.60.0",
|
|
111
|
+
"@typescript-eslint/utils": "^8.60.0",
|
|
109
112
|
"@vitejs/plugin-react-swc": "^4.3.1",
|
|
110
113
|
"@vitest/coverage-v8": "^4.1.7",
|
|
111
114
|
"ajv": "^8.20.0",
|
|
@@ -117,16 +120,16 @@
|
|
|
117
120
|
"eslint-plugin-react": "^7.37.5",
|
|
118
121
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
119
122
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
120
|
-
"eslint-plugin-storybook": "^10.4.
|
|
123
|
+
"eslint-plugin-storybook": "^10.4.1",
|
|
124
|
+
"eslint-plugin-tsdoc": "^0.5.2",
|
|
121
125
|
"fuse.js": "^7.3.0",
|
|
122
126
|
"globals": "^17.6.0",
|
|
123
127
|
"husky": "^9.1.7",
|
|
124
128
|
"jest-axe": "^9.0.0",
|
|
125
|
-
"js-yaml": "^4.1.1",
|
|
126
129
|
"jsdom": "^26.1.0",
|
|
127
130
|
"jsdom-testing-mocks": "^1.16.0",
|
|
128
131
|
"json-schema-to-typescript": "^15.0.4",
|
|
129
|
-
"lint-staged": "^17.0.
|
|
132
|
+
"lint-staged": "^17.0.7",
|
|
130
133
|
"msw": "^2.14.6",
|
|
131
134
|
"npm-run-all": "^4.1.5",
|
|
132
135
|
"pixelmatch": "^7.2.0",
|
|
@@ -135,16 +138,16 @@
|
|
|
135
138
|
"prism-react-renderer": "^2.4.1",
|
|
136
139
|
"react-dnd": "^16.0.1",
|
|
137
140
|
"react-dnd-html5-backend": "^16.0.1",
|
|
138
|
-
"react-router-dom": "^7.
|
|
139
|
-
"release-it": "^20.0
|
|
140
|
-
"sass-embedded": "^1.
|
|
141
|
+
"react-router-dom": "^7.16.0",
|
|
142
|
+
"release-it": "^20.2.0",
|
|
143
|
+
"sass-embedded": "^1.100.0",
|
|
141
144
|
"storybook": "^10.3.4",
|
|
142
145
|
"stylelint-config-standard": "^40.0.0",
|
|
143
146
|
"ts-morph": "^28.0.0",
|
|
144
147
|
"tsx": "^4.22.3",
|
|
145
|
-
"typescript-eslint": "^8.
|
|
148
|
+
"typescript-eslint": "^8.60.0",
|
|
146
149
|
"vite": "^6.4.2",
|
|
147
|
-
"vite-plugin-checker": "^0.
|
|
150
|
+
"vite-plugin-checker": "^0.14.1",
|
|
148
151
|
"vite-plugin-circular-dependency": "^0.6.0",
|
|
149
152
|
"vite-plugin-dts": "^4.5.3",
|
|
150
153
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
@@ -161,17 +164,17 @@
|
|
|
161
164
|
"dependencies": {
|
|
162
165
|
"@gusto/embedded-api": "0.13.0",
|
|
163
166
|
"@hookform/error-message": "^2.0.1",
|
|
164
|
-
"@hookform/resolvers": "^5.
|
|
165
|
-
"@internationalized/date": "^3.12.
|
|
166
|
-
"@internationalized/number": "^3.6.
|
|
167
|
+
"@hookform/resolvers": "^5.4.0",
|
|
168
|
+
"@internationalized/date": "^3.12.2",
|
|
169
|
+
"@internationalized/number": "^3.6.7",
|
|
167
170
|
"classnames": "^2.5.1",
|
|
168
171
|
"deepmerge": "^4.3.1",
|
|
169
|
-
"dompurify": "^3.4.
|
|
170
|
-
"i18next": "^26.
|
|
172
|
+
"dompurify": "^3.4.7",
|
|
173
|
+
"i18next": "^26.3.0",
|
|
171
174
|
"react-aria": "^3.47.0",
|
|
172
175
|
"react-aria-components": "1.16.0",
|
|
173
|
-
"react-error-boundary": "^6.1.
|
|
174
|
-
"react-hook-form": "^7.76.
|
|
176
|
+
"react-error-boundary": "^6.1.2",
|
|
177
|
+
"react-hook-form": "^7.76.1",
|
|
175
178
|
"react-i18next": "^17.0.8",
|
|
176
179
|
"react-robot": "^1.2.1",
|
|
177
180
|
"robot3": "^1.2.0",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Job } from '@gusto/embedded-api/models/components/job';
|
|
2
|
-
import { PendingCompensationChange } from './getPendingCompensationChanges';
|
|
3
|
-
export interface CompensationCardProps {
|
|
4
|
-
job?: Job;
|
|
5
|
-
pendingChanges: PendingCompensationChange[];
|
|
6
|
-
hasMultipleJobs: boolean;
|
|
7
|
-
employeeFirstName: string | null | undefined;
|
|
8
|
-
cancellingCompensationUuid: string | null;
|
|
9
|
-
onEditCompensation?: () => void;
|
|
10
|
-
onAddJob?: () => void;
|
|
11
|
-
onCancelChange: (pendingChange: PendingCompensationChange) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare function CompensationCard({ job, pendingChanges, hasMultipleJobs, employeeFirstName, cancellingCompensationUuid, onEditCompensation, onAddJob, onCancelChange, }: CompensationCardProps): import("react/jsx-runtime").JSX.Element;
|