@gusto/embedded-react-sdk 0.46.2 → 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 +67 -0
- package/dist/components/Common/DataView/DataTable/DataTable.js +76 -72
- 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/useDataView.d.ts +2 -0
- 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/EditCompensation/EditCompensation.js +14 -11
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js.map +1 -1
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js +0 -2
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js.map +1 -1
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js +18 -18
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.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/useCompensationForm/fields.js +4 -4
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +140 -140
- 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 +53 -51
- package/dist/components/Employee/Dashboard/Dashboard.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 +383 -357
- package/dist/components/Employee/Dashboard/JobAndPayView.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/getPendingCompensationChanges.js +36 -36
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.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/FederalTaxes/shared/useFederalTaxesForm/fields.js +4 -4
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +157 -147
- 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/WorkAddressView.js +5 -1
- 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/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/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +6 -7
- 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 +52 -68
- 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 -11
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +137 -163
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +36 -35
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.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/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 +12 -18
- package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js.map +1 -1
- package/dist/i18n/en/Employee.Compensation.json.js +24 -24
- package/dist/i18n/en/Employee.Dashboard.json.js +22 -20
- package/dist/i18n/en/Employee.Dashboard.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/style.css +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/i18next.d.ts +4 -17
- package/dist/types/observability.d.ts +1 -1
- package/package.json +30 -27
- package/dist/components/Employee/Dashboard/CompensationCard.d.ts +0 -13
package/dist/types/i18next.d.ts
CHANGED
|
@@ -573,8 +573,6 @@ 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;
|
|
@@ -583,14 +581,6 @@ export interface CompanyTimeOffSelectEmployees{
|
|
|
583
581
|
"errors":{
|
|
584
582
|
"completePolicyFailed":string;
|
|
585
583
|
};
|
|
586
|
-
"addConfirmDialog":{
|
|
587
|
-
"title_one":string;
|
|
588
|
-
"title_other":string;
|
|
589
|
-
"description_one":string;
|
|
590
|
-
"description_other":string;
|
|
591
|
-
"confirmCta":string;
|
|
592
|
-
"cancelCta":string;
|
|
593
|
-
};
|
|
594
584
|
};
|
|
595
585
|
export interface CompanyTimeOffSelectPolicyType{
|
|
596
586
|
"title":string;
|
|
@@ -1392,13 +1382,6 @@ export interface EmployeeCompensation{
|
|
|
1392
1382
|
"jobTitleLabel":string;
|
|
1393
1383
|
"wageLabel":string;
|
|
1394
1384
|
"wageFrequencyLabel":string;
|
|
1395
|
-
"wageFrequencyOptions":{
|
|
1396
|
-
"Hour":string;
|
|
1397
|
-
"Week":string;
|
|
1398
|
-
"Month":string;
|
|
1399
|
-
"Year":string;
|
|
1400
|
-
"Paycheck":string;
|
|
1401
|
-
};
|
|
1402
1385
|
"hireDateLabel":string;
|
|
1403
1386
|
"twoPercentShareholderLabel":string;
|
|
1404
1387
|
"saveCta":string;
|
|
@@ -1433,6 +1416,7 @@ export interface EmployeeDashboard{
|
|
|
1433
1416
|
"title":string;
|
|
1434
1417
|
"employeeRoleLabel":string;
|
|
1435
1418
|
"tabsLabel":string;
|
|
1419
|
+
"listEmptyPlaceholder":string;
|
|
1436
1420
|
"tabs":{
|
|
1437
1421
|
"basicDetails":string;
|
|
1438
1422
|
"jobAndPay":string;
|
|
@@ -1582,6 +1566,7 @@ export interface EmployeeDashboard{
|
|
|
1582
1566
|
"title":string;
|
|
1583
1567
|
"editCta":string;
|
|
1584
1568
|
"noStateTaxes":string;
|
|
1569
|
+
"noWithholdingForState":string;
|
|
1585
1570
|
};
|
|
1586
1571
|
};
|
|
1587
1572
|
"documents":{
|
|
@@ -2182,6 +2167,7 @@ export interface EmployeePaymentMethod{
|
|
|
2182
2167
|
"accountName":string;
|
|
2183
2168
|
"routingNumber":string;
|
|
2184
2169
|
"accountNumber":string;
|
|
2170
|
+
"accountNumberFormat":string;
|
|
2185
2171
|
};
|
|
2186
2172
|
};
|
|
2187
2173
|
export interface EmployeeProfile{
|
|
@@ -2242,6 +2228,7 @@ export interface EmployeeSplitPaycheck{
|
|
|
2242
2228
|
};
|
|
2243
2229
|
export interface EmployeeStateTaxes{
|
|
2244
2230
|
"stateTaxesTitle":string;
|
|
2231
|
+
"noWithholding":string;
|
|
2245
2232
|
"submitCta":string;
|
|
2246
2233
|
"saveCta":string;
|
|
2247
2234
|
"cancelCta":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
|
}
|
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;
|