@gusto/embedded-react-sdk 0.55.7 → 0.55.8
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 +23 -0
- package/dist/components/Common/FadeIn/FadeIn.module.scss.js +4 -4
- package/dist/components/Common/FieldCaption/FieldCaption.js +22 -18
- package/dist/components/Common/FieldCaption/FieldCaption.js.map +1 -1
- package/dist/components/Common/Flex/Flex.js +17 -15
- package/dist/components/Common/Flex/Flex.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/components/Common/UI/FileInput/FileInput.js +1 -1
- package/dist/components/Common/UI/Heading/Heading.module.scss.js +7 -7
- package/dist/components/Common/UI/ProgressBar/ProgressBar.js +4 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +5 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +5 -4
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +7 -6
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +5 -4
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +5 -4
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +27 -27
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -9
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +8 -7
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +5 -4
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +5 -4
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +5 -4
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +45 -30
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleComponents.js +12 -11
- package/dist/components/Company/PaySchedule/PayScheduleComponents.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleForm.js +72 -55
- package/dist/components/Company/PaySchedule/PayScheduleForm.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +24 -20
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js +33 -29
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js +131 -115
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +5 -4
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +5 -4
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +5 -4
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
- package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js +31 -29
- package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js.map +1 -1
- package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js +110 -109
- package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js.map +1 -1
- package/dist/components/Contractor/ContractorList/onboarding/ContractorList.js +21 -19
- package/dist/components/Contractor/ContractorList/onboarding/ContractorList.js.map +1 -1
- package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js +56 -55
- package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js.map +1 -1
- package/dist/components/Contractor/Dashboard/Dashboard.js +34 -33
- package/dist/components/Contractor/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Contractor/Payments/CreateHistoricalPayment/CreateHistoricalPayment.js +117 -115
- package/dist/components/Contractor/Payments/CreateHistoricalPayment/CreateHistoricalPayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +77 -75
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +44 -43
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +40 -39
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/HistoricalPaymentSummary/HistoricalPaymentSummary.js +35 -29
- package/dist/components/Contractor/Payments/HistoricalPaymentSummary/HistoricalPaymentSummary.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js +21 -20
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +41 -40
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +21 -20
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +33 -32
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +80 -78
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +44 -43
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
- package/dist/components/Contractor/Submit/Submit.js +113 -105
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Contractor/Submit/SubmitDone.js +11 -11
- package/dist/components/Contractor/Submit/SubmitDone.js.map +1 -1
- package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js +20 -18
- package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js.map +1 -1
- package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js +18 -15
- package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js.map +1 -1
- package/dist/components/Employee/Dashboard/Dashboard.js +33 -32
- package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js +21 -19
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js.map +1 -1
- package/dist/components/Employee/Documents/management/DocumentManager.js +34 -26
- package/dist/components/Employee/Documents/management/DocumentManager.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +5 -4
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js +30 -29
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +54 -53
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js +29 -28
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js +16 -15
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js +27 -25
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +89 -80
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.js +22 -20
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js +25 -24
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js.map +1 -1
- package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js +1 -1
- package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +1 -1
- package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js +19 -17
- package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +80 -79
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js +4 -4
- package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +4 -4
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +40 -39
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +34 -33
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js +43 -41
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +22 -21
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js +19 -17
- package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +120 -116
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
- package/dist/components/Flow/Flow.js +1 -1
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +29 -29
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js +37 -36
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js +37 -36
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +35 -28
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +27 -26
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.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/OffCycleCreation/OffCycleCreation.js +52 -51
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +34 -33
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.js +23 -21
- package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.js +26 -19
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +14 -12
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +112 -109
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +67 -65
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +43 -41
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +225 -223
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js +78 -75
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.js +27 -27
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.js +19 -19
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js +51 -48
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +58 -48
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +58 -57
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +83 -69
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js +62 -60
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +119 -117
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +101 -99
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +120 -110
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +20 -14
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +39 -38
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js +24 -17
- package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js.map +1 -1
- package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js +17 -17
- package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js.map +1 -1
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js +88 -80
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js.map +1 -1
- package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js +26 -26
- package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +32 -32
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +50 -48
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +34 -33
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +28 -24
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js +255 -228
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js +8 -4
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +4 -3
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +5 -5
- package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -1
- package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +8 -7
- package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js +51 -50
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js +20 -18
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +51 -49
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js +20 -20
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyList.js +50 -49
- package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +34 -33
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettings.js +46 -45
- package/dist/components/TimeOff/PolicySettings/PolicySettings.js.map +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js +152 -143
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +14 -13
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +44 -35
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +88 -71
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +164 -155
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +57 -55
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +25 -24
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +94 -92
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +156 -155
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js +21 -19
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js.map +1 -1
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js +28 -26
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.js.map +1 -1
- package/dist/i18n/en/Company.PaySchedule.json.js +22 -20
- package/dist/i18n/en/Company.PaySchedule.json.js.map +1 -1
- package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js +62 -58
- package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js.map +1 -1
- package/dist/package.json.js +1 -1
- package/dist/src/components/Common/FieldCaption/FieldCaption.d.ts +2 -16
- package/dist/src/components/Common/FieldCaption/FieldCaptionTypes.d.ts +22 -0
- package/dist/src/components/Common/FieldCaption/index.d.ts +1 -0
- package/dist/src/components/Common/Flex/Flex.d.ts +3 -1
- package/dist/src/components/Company/PaySchedule/PaySchedule.d.ts +10 -2
- package/dist/src/components/Company/PaySchedule/PayScheduleComponents.d.ts +1 -0
- package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/fields.d.ts +9 -1
- package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/index.d.ts +2 -2
- package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.d.ts +21 -5
- package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +21 -3
- package/dist/src/components/Contractor/ContractorList/management/ManagementContractorListView.d.ts +3 -1
- package/dist/src/components/Contractor/ContractorList/onboarding/ContractorListView.d.ts +3 -1
- package/dist/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +3 -1
- package/dist/src/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +3 -1
- package/dist/src/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.d.ts +3 -1
- package/dist/src/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.d.ts +3 -1
- package/dist/src/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.d.ts +3 -1
- package/dist/src/components/Contractor/Submit/SubmitDone.d.ts +3 -1
- package/dist/src/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.d.ts +3 -1
- package/dist/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.d.ts +3 -1
- package/dist/src/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +3 -1
- package/dist/src/components/Employee/EmployeeList/onboarding/EmployeeListView.d.ts +3 -1
- package/dist/src/components/Employee/EmployeeList/shared/useEmployeeList.d.ts +4 -0
- package/dist/src/components/Employee/HomeAddress/management/HomeAddressView.d.ts +3 -1
- package/dist/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.d.ts +3 -1
- package/dist/src/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.d.ts +3 -1
- package/dist/src/components/Employee/WorkAddress/management/WorkAddressView.d.ts +3 -1
- package/dist/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +3 -1
- package/dist/src/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycleCreation/OffCycleCreationTypes.d.ts +2 -0
- package/dist/src/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts +3 -1
- package/dist/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +3 -1
- package/dist/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +3 -1
- package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.d.ts +9 -9
- package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.d.ts +2 -2
- package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.d.ts +4 -4
- package/dist/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +3 -1
- package/dist/src/components/Payroll/PayrollList/PayrollListPresentation.d.ts +3 -1
- package/dist/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +2 -1
- package/dist/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +2 -1
- package/dist/src/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +2 -0
- package/dist/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +3 -1
- package/dist/src/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.d.ts +1 -1
- package/dist/src/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +1 -1
- package/dist/src/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +1 -1
- package/dist/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailTypes.d.ts +2 -0
- package/dist/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormTypes.d.ts +2 -0
- package/dist/src/components/TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicyList/PolicyListTypes.d.ts +2 -0
- package/dist/src/components/TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicySettings/PolicySettingsTypes.d.ts +2 -0
- package/dist/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorTypes.d.ts +2 -0
- package/dist/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +2 -0
- package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +2 -0
- package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +2 -0
- package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +2 -0
- package/dist/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailTypes.d.ts +3 -0
- package/dist/src/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +1 -1
- package/dist/src/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayoutTypes.d.ts +2 -0
- package/dist/src/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -0
- package/dist/src/contexts/ComponentAdapter/useComponentContext.d.ts +4 -1
- package/dist/src/contexts/UnstableFeaturesProvider/useUnstableFeature.d.ts +4 -1
- package/dist/src/i18n/types.d.ts +28 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/models/external.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +16 -15
|
@@ -13,6 +13,8 @@ export interface EmployeeListViewProps extends Pick<Extract<UseEmployeeListResul
|
|
|
13
13
|
onAddEmployee: () => void;
|
|
14
14
|
onSkip: () => void;
|
|
15
15
|
showContinueButton: boolean;
|
|
16
|
+
/** CSS class name applied to the root element. */
|
|
17
|
+
className?: string;
|
|
16
18
|
}
|
|
17
19
|
/** @internal */
|
|
18
|
-
export declare function EmployeeListView({ employees, isFetching, pagination, status, onEdit, onDelete, onCancelSelfOnboarding, onReview, onAddEmployee, onSkip, showContinueButton, }: EmployeeListViewProps): import("react").JSX.Element;
|
|
20
|
+
export declare function EmployeeListView({ employees, isFetching, pagination, status, onEdit, onDelete, onCancelSelfOnboarding, onReview, onAddEmployee, onSkip, showContinueButton, className, }: EmployeeListViewProps): import("react").JSX.Element;
|
|
@@ -76,6 +76,10 @@ export type UseEmployeeListResult = HookLoadingResult | UseEmployeeListReady;
|
|
|
76
76
|
* `'active'` adds `dismiss`, `'terminated'` adds `rehire`, `'onboarding'` adds none. Omit it
|
|
77
77
|
* to list every employee.
|
|
78
78
|
*
|
|
79
|
+
* `'onboarding'` includes employees who haven't completed onboarding as well as employees who
|
|
80
|
+
* have completed onboarding but whose primary job's hire date hasn't arrived yet, so `onboarded`
|
|
81
|
+
* may be `true` for rows in this filter.
|
|
82
|
+
*
|
|
79
83
|
* Page changes use placeholder data: the previous page stays rendered while the next one loads,
|
|
80
84
|
* and `status.isFetching` flips to `true` during the request.
|
|
81
85
|
*
|
|
@@ -16,6 +16,8 @@ export interface HomeAddressViewProps {
|
|
|
16
16
|
onConfirmDelete: (homeAddressUuid: string) => Promise<boolean>;
|
|
17
17
|
onBack: () => void;
|
|
18
18
|
isDeletePending?: boolean;
|
|
19
|
+
/** CSS class name applied to the root element. */
|
|
20
|
+
className?: string;
|
|
19
21
|
}
|
|
20
22
|
/** @internal */
|
|
21
|
-
export declare function HomeAddressView({ editHomeAddressForm, createHomeAddressForm, employeeHomeAddresses, employeeDisplayName, editingHomeAddressUuid, onEditAddressTargetChange, onSaved, onConfirmDelete, onBack, isDeletePending, }: HomeAddressViewProps): import("react").JSX.Element;
|
|
23
|
+
export declare function HomeAddressView({ editHomeAddressForm, createHomeAddressForm, employeeHomeAddresses, employeeDisplayName, editingHomeAddressUuid, onEditAddressTargetChange, onSaved, onConfirmDelete, onBack, isDeletePending, className, }: HomeAddressViewProps): import("react").JSX.Element;
|
|
@@ -6,7 +6,9 @@ interface TerminateEmployeePresentationProps {
|
|
|
6
6
|
onSubmit: (data: TerminateEmployeeFormData) => void;
|
|
7
7
|
onCancel: () => void;
|
|
8
8
|
isLoading: boolean;
|
|
9
|
+
/** CSS class name applied to the root element. */
|
|
10
|
+
className?: string;
|
|
9
11
|
}
|
|
10
12
|
/** @internal */
|
|
11
|
-
export declare function TerminateEmployeePresentation({ employeeName, existingTermination, onSubmit, onCancel, isLoading, }: TerminateEmployeePresentationProps): import("react").JSX.Element;
|
|
13
|
+
export declare function TerminateEmployeePresentation({ employeeName, existingTermination, onSubmit, onCancel, isLoading, className, }: TerminateEmployeePresentationProps): import("react").JSX.Element;
|
|
12
14
|
export {};
|
|
@@ -15,7 +15,9 @@ interface TerminationSummaryPresentationProps {
|
|
|
15
15
|
onDialogClose: () => void;
|
|
16
16
|
onDialogConfirm: () => void;
|
|
17
17
|
isCancelling: boolean;
|
|
18
|
+
/** CSS class name applied to the root element. */
|
|
19
|
+
className?: string;
|
|
18
20
|
}
|
|
19
21
|
/** @internal */
|
|
20
|
-
export declare function TerminationSummaryPresentation({ employeeName, effectiveDate, canCancel, canEdit, showRunPayroll, showRunOffCyclePayroll, showSuccessAlert, onCancelClick, onEditDismissal, onRunDismissalPayroll, onRunOffCyclePayroll, isLoading, isCancelDialogOpen, onDialogClose, onDialogConfirm, isCancelling, }: TerminationSummaryPresentationProps): import("react").JSX.Element;
|
|
22
|
+
export declare function TerminationSummaryPresentation({ employeeName, effectiveDate, canCancel, canEdit, showRunPayroll, showRunOffCyclePayroll, showSuccessAlert, onCancelClick, onEditDismissal, onRunDismissalPayroll, onRunOffCyclePayroll, isLoading, isCancelDialogOpen, onDialogClose, onDialogConfirm, isCancelling, className, }: TerminationSummaryPresentationProps): import("react").JSX.Element;
|
|
21
23
|
export {};
|
|
@@ -14,6 +14,8 @@ export interface WorkAddressViewProps {
|
|
|
14
14
|
onWorkAddressSaved: (result: HookSubmitResult<EmployeeWorkAddress>) => void;
|
|
15
15
|
onBack: () => void;
|
|
16
16
|
isDeletePending?: boolean;
|
|
17
|
+
/** CSS class name applied to the root element. */
|
|
18
|
+
className?: string;
|
|
17
19
|
}
|
|
18
20
|
/** @internal */
|
|
19
|
-
export declare function WorkAddressView({ editWorkAddressForm, changeWorkAddressForm, workAddresses, editTargetUuid, onEditTargetUuidChange, employeeDisplayName, onConfirmDelete, onWorkAddressSaved, onBack, isDeletePending, }: WorkAddressViewProps): import("react").JSX.Element;
|
|
21
|
+
export declare function WorkAddressView({ editWorkAddressForm, changeWorkAddressForm, workAddresses, editTargetUuid, onEditTargetUuidChange, employeeDisplayName, onConfirmDelete, onWorkAddressSaved, onBack, isDeletePending, className, }: WorkAddressViewProps): import("react").JSX.Element;
|
|
@@ -11,6 +11,8 @@ export interface DismissalPayPeriodSelectionPresentationProps {
|
|
|
11
11
|
onSubmit: () => void;
|
|
12
12
|
/** Whether the submit action is in flight. */
|
|
13
13
|
isPending: boolean;
|
|
14
|
+
/** CSS class name applied to the root element. */
|
|
15
|
+
className?: string;
|
|
14
16
|
}
|
|
15
17
|
/** @internal */
|
|
16
|
-
export declare function DismissalPayPeriodSelectionPresentation({ payPeriodOptions, selectedPeriodKey, onSelectPeriod, onSubmit, isPending, }: DismissalPayPeriodSelectionPresentationProps): import("react").JSX.Element;
|
|
18
|
+
export declare function DismissalPayPeriodSelectionPresentation({ payPeriodOptions, selectedPeriodKey, onSelectPeriod, onSubmit, isPending, className, }: DismissalPayPeriodSelectionPresentationProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { OffCycleCreationPresentationProps } from './OffCycleCreationTypes';
|
|
2
2
|
/** @internal */
|
|
3
|
-
export declare function OffCycleCreationPresentation({ employees, isPending, minCheckDate, minCheckOnlyDate, maxDate, minPayPeriodDate, taxWithholdingConfig, isTaxWithholdingModalOpen, onTaxWithholdingEditClick, onTaxWithholdingModalDone, onTaxWithholdingModalCancel, }: OffCycleCreationPresentationProps): import("react").JSX.Element;
|
|
3
|
+
export declare function OffCycleCreationPresentation({ employees, isPending, minCheckDate, minCheckOnlyDate, maxDate, minPayPeriodDate, taxWithholdingConfig, isTaxWithholdingModalOpen, onTaxWithholdingEditClick, onTaxWithholdingModalDone, onTaxWithholdingModalCancel, className, }: OffCycleCreationPresentationProps): import("react").JSX.Element;
|
|
@@ -53,4 +53,6 @@ export interface OffCycleCreationPresentationProps {
|
|
|
53
53
|
onTaxWithholdingModalDone: (config: OffCycleTaxWithholdingConfig) => void;
|
|
54
54
|
/** Fires when the user dismisses the tax withholding modal without saving. */
|
|
55
55
|
onTaxWithholdingModalCancel: () => void;
|
|
56
|
+
/** CSS class name applied to the root element. */
|
|
57
|
+
className?: string;
|
|
56
58
|
}
|
package/dist/src/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { OffCycleReason } from './types';
|
|
|
2
2
|
interface OffCycleReasonSelectionPresentationProps {
|
|
3
3
|
name: string;
|
|
4
4
|
onChange?: (value: OffCycleReason) => void;
|
|
5
|
+
/** CSS class name applied to the root element. */
|
|
6
|
+
className?: string;
|
|
5
7
|
}
|
|
6
8
|
/** @internal */
|
|
7
|
-
export declare function OffCycleReasonSelectionPresentation({ name, onChange, }: OffCycleReasonSelectionPresentationProps): import("react").JSX.Element;
|
|
9
|
+
export declare function OffCycleReasonSelectionPresentation({ name, onChange, className, }: OffCycleReasonSelectionPresentationProps): import("react").JSX.Element;
|
|
8
10
|
export {};
|
package/dist/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { PayrollCategory } from '../payrollTypes';
|
|
|
7
7
|
import { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers';
|
|
8
8
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
9
9
|
interface PayrollConfigurationPresentationProps {
|
|
10
|
+
/** CSS class name applied to the root element. */
|
|
11
|
+
className?: string;
|
|
10
12
|
employeeCompensations: PayrollEmployeeCompensationsType[];
|
|
11
13
|
employeeDetails: Employee[];
|
|
12
14
|
payPeriod?: PayrollPayPeriodType;
|
|
@@ -32,5 +34,5 @@ interface PayrollConfigurationPresentationProps {
|
|
|
32
34
|
onGrossUpSelect?: (employeeUuid: string) => void;
|
|
33
35
|
}
|
|
34
36
|
/** @internal */
|
|
35
|
-
export declare const PayrollConfigurationPresentation: ({ employeeCompensations, employeeDetails, payPeriod, paySchedule, onEdit, onToggleExclude, onCalculatePayroll, onViewBlockers, payrollCategory, alerts, payrollAlert, isPending, isCalculating, payrollBlockers, pagination, withReimbursements, isCalculateDisabled, grossUpEnabled, onGrossUpSelect, }: PayrollConfigurationPresentationProps) => import("react").JSX.Element;
|
|
37
|
+
export declare const PayrollConfigurationPresentation: ({ className, employeeCompensations, employeeDetails, payPeriod, paySchedule, onEdit, onToggleExclude, onCalculatePayroll, onViewBlockers, payrollCategory, alerts, payrollAlert, isPending, isCalculating, payrollBlockers, pagination, withReimbursements, isCalculateDisabled, grossUpEnabled, onGrossUpSelect, }: PayrollConfigurationPresentationProps) => import("react").JSX.Element;
|
|
36
38
|
export {};
|
package/dist/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api/models
|
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { PayrollCategory } from '../payrollTypes';
|
|
7
7
|
interface PayrollEditEmployeeProps {
|
|
8
|
+
/** CSS class name applied to the root element. */
|
|
9
|
+
className?: string;
|
|
8
10
|
onSave: (updatedCompensation: PayrollEmployeeCompensationsType) => void;
|
|
9
11
|
onCancel: () => void;
|
|
10
12
|
employee: Employee;
|
|
@@ -21,5 +23,5 @@ interface PayrollEditEmployeeProps {
|
|
|
21
23
|
/** @internal */
|
|
22
24
|
export type PayrollEditEmployeeFormValues = { hourlyCompensations: Record<string, Record<string, string | undefined>>; timeOffCompensations: Record<string, string | undefined>; finalPayoutCompensations: Record<string, string | undefined>; fixedCompensations: Record<string, string | undefined>; reimbursements: { description: string; amount: string; uuid?: string | null | undefined; recurring?: boolean | undefined; }[]; paymentMethod?: "Check" | "Historical" | "Direct Deposit" | undefined; };
|
|
23
25
|
/** @internal */
|
|
24
|
-
export declare const PayrollEditEmployeePresentation: ({ onSave, onCancel, employee, employeeCompensation, isPending, fixedCompensationTypes, payPeriodStartDate, paySchedule, payrollCategory, withReimbursements, hasDirectDepositSetup, }: PayrollEditEmployeeProps) => import("react").JSX.Element;
|
|
26
|
+
export declare const PayrollEditEmployeePresentation: ({ className, onSave, onCancel, employee, employeeCompensation, isPending, fixedCompensationTypes, payPeriodStartDate, paySchedule, payrollCategory, withReimbursements, hasDirectDepositSetup, }: PayrollEditEmployeeProps) => import("react").JSX.Element;
|
|
25
27
|
export {};
|
|
@@ -111,10 +111,10 @@ export interface TimeOffEntry {
|
|
|
111
111
|
remaining: number | null;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* One entry in the flat `
|
|
114
|
+
* One entry in the flat `overtimeExcludedEarnings` section.
|
|
115
115
|
*
|
|
116
116
|
* @remarks
|
|
117
|
-
* Intentionally opaque: `
|
|
117
|
+
* Intentionally opaque: `overtimeExcludedEarnings` collects earnings that are not overtime-affecting
|
|
118
118
|
* and whose input type the partner does not need to reason about. Render each
|
|
119
119
|
* entry's `Field` keyed by `key`; use `id` as a reach-in handle for labeling.
|
|
120
120
|
*
|
|
@@ -138,8 +138,8 @@ export interface OtherEntry {
|
|
|
138
138
|
* The value type is the signal — array is flat, object is split by workweek; use
|
|
139
139
|
* {@link isSplitByWorkweek} to discriminate. `title` is the job's display title
|
|
140
140
|
* (entity data, not copy) for rendering a per-job heading. Earnings are not
|
|
141
|
-
* job-scoped: they live in the employee-level `
|
|
142
|
-
* `
|
|
141
|
+
* job-scoped: they live in the employee-level `overtimeIncludedEarnings` and
|
|
142
|
+
* `overtimeExcludedEarnings` sections on {@link PayrollEditEmployeeFields}.
|
|
143
143
|
*
|
|
144
144
|
* @public
|
|
145
145
|
*/
|
|
@@ -217,8 +217,8 @@ export interface ReimbursementRow {
|
|
|
217
217
|
* @remarks
|
|
218
218
|
* Hours are grouped under `jobs`, one entry per job, so multi-job employees
|
|
219
219
|
* render correctly. All earnings and the remaining sections are employee-scoped
|
|
220
|
-
* and stay top-level: `
|
|
221
|
-
* `
|
|
220
|
+
* and stay top-level: `overtimeIncludedEarnings` (overtime-affecting) and
|
|
221
|
+
* `overtimeExcludedEarnings` (non-overtime) each render as a single section spanning every
|
|
222
222
|
* job, alongside time off, final payout, payment method, and reimbursements.
|
|
223
223
|
*
|
|
224
224
|
* @public
|
|
@@ -231,9 +231,9 @@ export interface PayrollEditEmployeeFields {
|
|
|
231
231
|
* section. Flat `Entry[]` when unsplit, or `Record<workweekStart, Entry[]>`
|
|
232
232
|
* when split by workweek; use {@link isSplitByWorkweek} to discriminate.
|
|
233
233
|
*/
|
|
234
|
-
|
|
234
|
+
overtimeIncludedEarnings: EarningEntry[] | Record<string, EarningEntry[]>;
|
|
235
235
|
/** Non-overtime earnings (e.g. tips), always flat; opaque render entries. */
|
|
236
|
-
|
|
236
|
+
overtimeExcludedEarnings: OtherEntry[];
|
|
237
237
|
/** Time-off inputs (never workweek-breakdown). */
|
|
238
238
|
timeOff: TimeOffEntry[];
|
|
239
239
|
/** Final-payout inputs, present only for dismissal payrolls. */
|
|
@@ -317,7 +317,7 @@ export declare function computeTimeOffRemaining(accrualBalance: string | undefin
|
|
|
317
317
|
* compensations are split by whether their earning type is included in the
|
|
318
318
|
* regular-rate-of-pay overtime calculation (`overtimeEarningNames`): included
|
|
319
319
|
* earnings become each job's additional earnings, the rest become the flat,
|
|
320
|
-
* employee-level `
|
|
320
|
+
* employee-level `overtimeExcludedEarnings` section. Time off comes from the paid-time-off list,
|
|
321
321
|
* final payout is added only for dismissal payrolls, and the payment-method
|
|
322
322
|
* selector appears only when direct deposit is set up.
|
|
323
323
|
*
|
|
@@ -40,7 +40,7 @@ export declare function normalizeWorkweeks(workweeks: Array<{
|
|
|
40
40
|
/**
|
|
41
41
|
* Collects the names of earning types included in the regular-rate-of-pay
|
|
42
42
|
* overtime calculation. These earnings render in the workweek-breakdown
|
|
43
|
-
* additional-earnings section; all others fall into the flat `
|
|
43
|
+
* additional-earnings section; all others fall into the flat `overtimeExcludedEarnings` section.
|
|
44
44
|
*
|
|
45
45
|
* @param earningTypeList - The company's default and custom earning types.
|
|
46
46
|
* @returns A set of earning-type names with `includedInOvertimePay` set.
|
|
@@ -60,7 +60,7 @@ export declare function collectOvertimeEarningNames(earningTypeList: EarningType
|
|
|
60
60
|
* handled elsewhere or never shown as additional earnings
|
|
61
61
|
* ({@link EXCLUDED_ADDITIONAL_EARNINGS}) and inactive types are skipped. The
|
|
62
62
|
* result is sorted alphabetically by name. The regular-rate-of-pay split between
|
|
63
|
-
* additional earnings and `
|
|
63
|
+
* additional earnings and `overtimeExcludedEarnings` happens downstream via `overtimeEarningNames`;
|
|
64
64
|
* this helper only decides which earning lines exist.
|
|
65
65
|
*
|
|
66
66
|
* @param existingFixedCompensations - The prepared compensation's fixed compensations.
|
|
@@ -47,13 +47,13 @@ export declare const reimbursementDraftSchema: z.ZodObject<{
|
|
|
47
47
|
* Overtime-affecting values are keyed by workweek internally: hours and
|
|
48
48
|
* additional earnings are job-then-name-then-workweekStart records, so the
|
|
49
49
|
* single-workweek (or not-yet-split) case is just the degenerate one-key form
|
|
50
|
-
* of the multi-workweek shape. Non-overtime earnings (
|
|
50
|
+
* of the multi-workweek shape. Non-overtime earnings (`overtimeExcludedEarnings`) are flat
|
|
51
51
|
* job-then-name-to-amount records with no per-workweek breakdown, since they do
|
|
52
52
|
* not feed the blended rate. Time off and final payout are keyed by
|
|
53
53
|
* compensation name. This keeps one schema and one submit path.
|
|
54
54
|
*
|
|
55
55
|
* A `superRefine` enforces per-row completeness on `hours` and
|
|
56
|
-
* `
|
|
56
|
+
* `overtimeIncludedEarnings`: once any workweek cell in a job+name row is filled, every
|
|
57
57
|
* other cell in that row must be filled too, surfaced per empty cell as
|
|
58
58
|
* {@link PayrollEditEmployeeErrorCodes.REQUIRED_WORKWEEK}. A row with nothing
|
|
59
59
|
* filled is left alone (still submittable as untouched). This needs no
|
|
@@ -66,8 +66,8 @@ export declare const reimbursementDraftSchema: z.ZodObject<{
|
|
|
66
66
|
*/
|
|
67
67
|
export declare function createPayrollEditEmployeeSchema(): z.ZodObject<{
|
|
68
68
|
hours: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
overtimeIncludedEarnings: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
70
|
+
overtimeExcludedEarnings: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
71
71
|
timeOff: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
72
|
finalPayout: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
73
73
|
reimbursements: z.ZodArray<z.ZodObject<{
|
|
@@ -3,6 +3,8 @@ import { WireInRequest } from '@gusto/embedded-api/models/components/wireinreque
|
|
|
3
3
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
4
4
|
import { UseDateRangeFilterResult } from '../../../hooks/useDateRangeFilter/useDateRangeFilter';
|
|
5
5
|
interface PayrollHistoryPresentationProps {
|
|
6
|
+
/** CSS class name applied to the root element. */
|
|
7
|
+
className?: string;
|
|
6
8
|
payrollHistory: Payroll[];
|
|
7
9
|
wireInRequests: WireInRequest[];
|
|
8
10
|
pagination: PaginationControlProps;
|
|
@@ -16,5 +18,5 @@ interface PayrollHistoryPresentationProps {
|
|
|
16
18
|
dateRangeFilter: UseDateRangeFilterResult;
|
|
17
19
|
}
|
|
18
20
|
/** @internal */
|
|
19
|
-
export declare const PayrollHistoryPresentation: ({ payrollHistory, wireInRequests, pagination, onViewSummary, onViewReceipt, onCancelPayroll, cancelDialogItem, onCancelDialogOpen, onCancelDialogClose, isLoading, dateRangeFilter, }: PayrollHistoryPresentationProps) => import("react").JSX.Element;
|
|
21
|
+
export declare const PayrollHistoryPresentation: ({ className, payrollHistory, wireInRequests, pagination, onViewSummary, onViewReceipt, onCancelPayroll, cancelDialogItem, onCancelDialogOpen, onCancelDialogClose, isLoading, dateRangeFilter, }: PayrollHistoryPresentationProps) => import("react").JSX.Element;
|
|
20
22
|
export {};
|
|
@@ -5,6 +5,8 @@ import { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers';
|
|
|
5
5
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
6
6
|
import { UseDateRangeFilterResult } from '../../../hooks/useDateRangeFilter/useDateRangeFilter';
|
|
7
7
|
interface PayrollListPresentationProps {
|
|
8
|
+
/** CSS class name applied to the root element. */
|
|
9
|
+
className?: string;
|
|
8
10
|
onRunPayroll: ({ payrollUuid, payPeriod }: Pick<Payroll, 'payrollUuid' | 'payPeriod'>) => void;
|
|
9
11
|
onSubmitPayroll: ({ payrollUuid, payPeriod }: Pick<Payroll, 'payrollUuid' | 'payPeriod'>) => void;
|
|
10
12
|
onSkipPayroll: ({ payrollUuid }: Pick<Payroll, 'payrollUuid'>) => void;
|
|
@@ -26,5 +28,5 @@ interface PayrollListPresentationProps {
|
|
|
26
28
|
withOffcyclePayroll?: boolean;
|
|
27
29
|
}
|
|
28
30
|
/** @internal */
|
|
29
|
-
export declare const PayrollListPresentation: ({ onRunPayroll, onSubmitPayroll, onSkipPayroll, onDeletePayroll, onRunOffCyclePayroll, payrolls, pagination, paySchedules, showSkipSuccessAlert, onDismissSkipSuccessAlert, showDeleteSuccessAlert, onDismissDeleteSuccessAlert, skippingPayrollId, deletingPayrollId, blockers, wireInRequests, dateRangeFilter, hasUnprocessedTransitions, withOffcyclePayroll, }: PayrollListPresentationProps) => import("react").JSX.Element;
|
|
31
|
+
export declare const PayrollListPresentation: ({ className, onRunPayroll, onSubmitPayroll, onSkipPayroll, onDeletePayroll, onRunOffCyclePayroll, payrolls, pagination, paySchedules, showSkipSuccessAlert, onDismissSkipSuccessAlert, showDeleteSuccessAlert, onDismissDeleteSuccessAlert, skippingPayrollId, deletingPayrollId, blockers, wireInRequests, dateRangeFilter, hasUnprocessedTransitions, withOffcyclePayroll, }: PayrollListPresentationProps) => import("react").JSX.Element;
|
|
30
32
|
export {};
|
|
@@ -6,6 +6,7 @@ import { PayrollFlowAlert } from '../PayrollFlow/PayrollFlowComponents';
|
|
|
6
6
|
import { PayrollOverviewStatus } from './PayrollOverviewTypes';
|
|
7
7
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
8
8
|
interface PayrollOverviewProps {
|
|
9
|
+
className?: string;
|
|
9
10
|
payrollData: PayrollShow;
|
|
10
11
|
employeeFlsaStatusByUuid?: Record<string, string | undefined>;
|
|
11
12
|
bankAccount?: CompanyBankAccount;
|
|
@@ -34,5 +35,5 @@ interface PayrollOverviewProps {
|
|
|
34
35
|
downloadingEmployeeIds?: ReadonlySet<string>;
|
|
35
36
|
}
|
|
36
37
|
/** @internal */
|
|
37
|
-
export declare const PayrollOverviewPresentation: ({ onEdit, onSubmit, onCancel, onPayrollReceipt, onPaystubDownload, payrollData, employeeFlsaStatusByUuid, bankAccount, taxes, status, isProcessed, canCancel, canEdit, alerts, submissionBlockers, selectedUnblockOptions, onUnblockOptionChange, wireInConfirmationRequest, printChecksBanner, withReimbursements, paymentSpeed, pagination, downloadingEmployeeIds, }: PayrollOverviewProps) => import("react").JSX.Element;
|
|
38
|
+
export declare const PayrollOverviewPresentation: ({ className, onEdit, onSubmit, onCancel, onPayrollReceipt, onPaystubDownload, payrollData, employeeFlsaStatusByUuid, bankAccount, taxes, status, isProcessed, canCancel, canEdit, alerts, submissionBlockers, selectedUnblockOptions, onUnblockOptionChange, wireInConfirmationRequest, printChecksBanner, withReimbursements, paymentSpeed, pagination, downloadingEmployeeIds, }: PayrollOverviewProps) => import("react").JSX.Element;
|
|
38
39
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PayrollReceipt } from '@gusto/embedded-api/models/components/payrollreceipt';
|
|
2
2
|
interface PayrollReceiptsPresentationProps {
|
|
3
|
+
className?: string;
|
|
3
4
|
receiptData: PayrollReceipt;
|
|
4
5
|
withReimbursements?: boolean;
|
|
5
6
|
}
|
|
6
7
|
/** @internal */
|
|
7
|
-
export declare const PayrollReceiptsPresentation: ({ receiptData, withReimbursements, }: PayrollReceiptsPresentationProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const PayrollReceiptsPresentation: ({ className, receiptData, withReimbursements, }: PayrollReceiptsPresentationProps) => import("react").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -6,4 +6,4 @@ import { TransitionCreationPresentationProps } from './TransitionCreationTypes';
|
|
|
6
6
|
* @returns The transition payroll creation form layout.
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
export declare function TransitionCreationPresentation({ startDate, endDate, payScheduleName, isPending, taxWithholdingConfig, isTaxWithholdingModalOpen, onTaxWithholdingEditClick, onTaxWithholdingModalDone, onTaxWithholdingModalCancel, }: TransitionCreationPresentationProps): import("react").JSX.Element;
|
|
9
|
+
export declare function TransitionCreationPresentation({ className, startDate, endDate, payScheduleName, isPending, taxWithholdingConfig, isTaxWithholdingModalOpen, onTaxWithholdingEditClick, onTaxWithholdingModalDone, onTaxWithholdingModalCancel, }: TransitionCreationPresentationProps): import("react").JSX.Element;
|
|
@@ -34,6 +34,8 @@ export declare function createTransitionCreationSchema(t: (key: string, options?
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
/** @internal */
|
|
36
36
|
export interface TransitionCreationPresentationProps {
|
|
37
|
+
/** CSS class name applied to the component's root element. */
|
|
38
|
+
className?: string;
|
|
37
39
|
/** The start date of the transition pay period (YYYY-MM-DD). */
|
|
38
40
|
startDate: string;
|
|
39
41
|
/** The end date of the transition pay period (YYYY-MM-DD). */
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { LoaderComponentType } from '../../Base/Base';
|
|
1
2
|
import { OnEventType } from '../../Base/useBase';
|
|
2
3
|
import { EventType } from '../../../shared/constants';
|
|
3
4
|
interface TransitionPayrollAlertProps {
|
|
4
5
|
companyId: string;
|
|
5
6
|
onEvent: OnEventType<EventType, unknown>;
|
|
7
|
+
LoaderComponent?: LoaderComponentType;
|
|
6
8
|
}
|
|
7
9
|
/** @internal */
|
|
8
|
-
export declare function TransitionPayrollAlert({ companyId, onEvent }: TransitionPayrollAlertProps): import("react").JSX.Element;
|
|
10
|
+
export declare function TransitionPayrollAlert({ companyId, onEvent, LoaderComponent, }: TransitionPayrollAlertProps): import("react").JSX.Element;
|
|
9
11
|
export {};
|
package/dist/src/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { PayrollEditEmployeeProps } from '../PayrollEditEmployee/PayrollEditEmpl
|
|
|
6
6
|
* Gated behind the `payrollRegularRateOfPay` unstable feature flag and not part of the public
|
|
7
7
|
* SDK surface. `PayrollEditEmployee` renders this in place of the stable editor when the flag is
|
|
8
8
|
* enabled. Consumes {@link usePayrollEditEmployeeForm} and renders the header, the hours /
|
|
9
|
-
* additional-earnings / time-off /
|
|
9
|
+
* additional-earnings / time-off / payment-method sections, and the
|
|
10
10
|
* `Cancel`/`Save` controls, performing a real payroll update on save. For an overtime-eligible
|
|
11
11
|
* employee on a multi-workweek payroll, Overtime/Double-overtime rows start hidden behind a single,
|
|
12
12
|
* employee-level "Add overtime" control (`form.data.withOvertime` / `form.actions.addOvertime`)
|
|
@@ -21,4 +21,4 @@ export interface AddEmployeesHolidayProps extends BaseComponentInterface<never>
|
|
|
21
21
|
* @returns The rendered holiday employee selection screen.
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
export declare function AddEmployeesHoliday(props: AddEmployeesHolidayProps): import("react").JSX.Element;
|
|
24
|
+
export declare function AddEmployeesHoliday({ className, ...props }: AddEmployeesHolidayProps): import("react").JSX.Element;
|
|
@@ -50,4 +50,4 @@ export interface AddEmployeesToPolicyProps extends BaseComponentInterface<never>
|
|
|
50
50
|
* }
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
|
-
export declare function AddEmployeesToPolicy(props: AddEmployeesToPolicyProps): import("react").JSX.Element;
|
|
53
|
+
export declare function AddEmployeesToPolicy({ className, ...props }: AddEmployeesToPolicyProps): import("react").JSX.Element;
|
package/dist/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HolidayPolicyDetailPresentationProps } from './HolidayPolicyDetailTypes';
|
|
2
2
|
/** @internal */
|
|
3
|
-
export declare function HolidayPolicyDetailPresentation({ title, subtitle, onBack, backLabel, actions, holidays, selectedTabId, onTabChange, employees, onAddEmployee, removeDialog, successAlert, onDismissAlert, }: HolidayPolicyDetailPresentationProps): import("react").JSX.Element;
|
|
3
|
+
export declare function HolidayPolicyDetailPresentation({ title, subtitle, onBack, backLabel, actions, holidays, selectedTabId, onTabChange, employees, onAddEmployee, removeDialog, successAlert, onDismissAlert, className, }: HolidayPolicyDetailPresentationProps): import("react").JSX.Element;
|
|
@@ -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 {};
|
package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts
CHANGED
|
@@ -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;
|
package/dist/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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 `
|
|
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. */
|
|
@@ -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
|
-
/**
|
|
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
|
/**
|