@gusto/embedded-react-sdk 0.48.0 → 0.48.2
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 +34 -0
- package/dist/components/Common/DocumentList/DocumentList.js +12 -12
- package/dist/components/Common/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Common/DocumentList/DocumentList.module.scss.js +3 -5
- package/dist/components/Common/DocumentList/DocumentList.module.scss.js.map +1 -1
- package/dist/components/Common/EmptyData/EmptyData.d.ts +1 -1
- package/dist/components/Common/EmptyData/EmptyData.js +10 -12
- package/dist/components/Common/EmptyData/EmptyData.js.map +1 -1
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js +6 -10
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js.map +1 -1
- package/dist/components/Common/Form/Form.d.ts +1 -1
- package/dist/components/Common/Form/Form.js +8 -7
- package/dist/components/Common/Form/Form.js.map +1 -1
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes.d.ts +1 -0
- package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +7 -3
- package/dist/components/Common/PayrollLoading/PayrollLoadingTypes.d.ts +1 -0
- package/dist/components/Common/UI/Alert/AlertTypes.d.ts +1 -0
- package/dist/components/Common/UI/Alert/AlertTypes.js.map +1 -1
- package/dist/components/Common/UI/Badge/BadgeTypes.d.ts +1 -0
- package/dist/components/Common/UI/Badge/BadgeTypes.js.map +1 -1
- package/dist/components/Common/UI/Banner/BannerTypes.d.ts +1 -0
- package/dist/components/Common/UI/Banner/BannerTypes.js.map +1 -1
- package/dist/components/Common/UI/Box/BoxTypes.d.ts +1 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.d.ts +1 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +2 -0
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonTypes.d.ts +4 -2
- package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
- package/dist/components/Common/UI/CalendarPreview/CalendarPreviewTypes.d.ts +3 -2
- package/dist/components/Common/UI/Card/Card.js +8 -8
- package/dist/components/Common/UI/Card/Card.js.map +1 -1
- package/dist/components/Common/UI/Card/Card.module.scss.js +5 -3
- package/dist/components/Common/UI/Card/Card.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Card/CardTypes.d.ts +1 -0
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +1 -0
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.js.map +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +2 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +2 -0
- package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +1 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +2 -0
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +2 -0
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
- package/dist/components/Common/UI/Dialog/DialogTypes.d.ts +1 -0
- package/dist/components/Common/UI/Dialog/DialogTypes.js.map +1 -1
- package/dist/components/Common/UI/FileInput/FileInputTypes.d.ts +1 -0
- package/dist/components/Common/UI/FileInput/FileInputTypes.js.map +1 -1
- package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +1 -0
- package/dist/components/Common/UI/Link/LinkTypes.d.ts +4 -3
- package/dist/components/Common/UI/List/ListTypes.d.ts +13 -4
- package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.d.ts +1 -0
- package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.js.map +1 -1
- package/dist/components/Common/UI/Menu/MenuTypes.d.ts +2 -0
- package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -1
- package/dist/components/Common/UI/Modal/ModalTypes.d.ts +1 -0
- package/dist/components/Common/UI/Modal/ModalTypes.js.map +1 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +2 -0
- package/dist/components/Common/UI/NumberInput/NumberInputTypes.d.ts +1 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBarTypes.d.ts +1 -0
- package/dist/components/Common/UI/Radio/RadioTypes.d.ts +1 -0
- package/dist/components/Common/UI/Radio/RadioTypes.js.map +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +2 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/Select/SelectTypes.d.ts +2 -0
- package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +1 -0
- package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -1
- package/dist/components/Common/UI/Table/TableTypes.d.ts +3 -0
- package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
- package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +2 -0
- package/dist/components/Common/UI/Text/TextTypes.d.ts +1 -0
- package/dist/components/Common/UI/Text/TextTypes.js.map +1 -1
- package/dist/components/Common/UI/TextArea/TextAreaTypes.d.ts +1 -0
- package/dist/components/Common/UI/TextArea/TextAreaTypes.js.map +1 -1
- package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +1 -0
- package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -1
- 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/shared/useSignCompanyForm/fields.js +4 -4
- 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/Industry/IndustrySelect.js +6 -8
- package/dist/components/Company/Industry/IndustrySelect.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/PayScheduleForm.js +3 -1
- package/dist/components/Company/PaySchedule/PayScheduleForm.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +5 -5
- 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/Contractor/Address/useAddress.js +7 -6
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.js +26 -27
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js +6 -6
- package/dist/components/Employee/Compensation/shared/useJobForm/fields.js +10 -10
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.js +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.js +2 -2
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.d.ts +25 -5
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/index.d.ts +3 -0
- 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/I9SignatureForm/I9SignatureForm.d.ts +28 -5
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.js +3 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/index.d.ts +3 -0
- package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.d.ts +26 -5
- package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.js +3 -1
- package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/Documents/shared/SignatureForm/index.d.ts +3 -0
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/fields.js +2 -2
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.js +4 -4
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.js +8 -8
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.js +6 -6
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js +4 -4
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +8 -8
- package/dist/components/Employee/exports/employeeOnboarding.d.ts +3 -0
- package/dist/components/Employee/exports/employeeOnboarding.js +28 -22
- package/dist/components/Employee/exports/employeeOnboarding.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.d.ts +36 -2
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/index.d.ts +1 -1
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.d.ts +22 -2
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestList/index.d.ts +1 -1
- package/dist/components/InformationRequests/InformationRequests.d.ts +29 -2
- package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestsComponents.d.ts +2 -0
- package/dist/components/InformationRequests/InformationRequestsComponents.js.map +1 -1
- package/dist/components/InformationRequests/index.d.ts +3 -3
- package/dist/components/InformationRequests/informationRequestsStateMachine.d.ts +2 -0
- package/dist/components/InformationRequests/informationRequestsStateMachine.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.d.ts +36 -3
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js +6 -2
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.d.ts +1 -0
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsComponents.d.ts +14 -0
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsComponents.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.d.ts +1 -8
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +1 -2
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.d.ts +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js +0 -1
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/confirmWireDetailsStateMachine.d.ts +11 -0
- package/dist/components/Payroll/ConfirmWireDetails/confirmWireDetailsStateMachine.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/index.d.ts +1 -2
- package/dist/components/Payroll/ConfirmWireDetails/types.d.ts +23 -0
- package/dist/components/Payroll/Dismissal/DismissalFlow.d.ts +18 -0
- package/dist/components/Payroll/Dismissal/DismissalFlow.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +15 -0
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +24 -0
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +7 -0
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/Dismissal/dismissalStateMachine.d.ts +2 -0
- package/dist/components/Payroll/Dismissal/dismissalStateMachine.js.map +1 -1
- package/dist/components/Payroll/Dismissal/index.d.ts +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -0
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +2 -3
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModalTypes.d.ts +5 -0
- package/dist/components/Payroll/GrossUpModal/index.d.ts +0 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +31 -0
- package/dist/components/Payroll/OffCycle/OffCycleFlow.js.map +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +20 -0
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
- package/dist/components/Payroll/OffCycle/offCycleStateMachine.d.ts +2 -0
- package/dist/components/Payroll/OffCycle/offCycleStateMachine.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.d.ts +20 -0
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -0
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationTypes.d.ts +24 -0
- package/dist/components/Payroll/OffCycleCreation/index.d.ts +1 -1
- package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.d.ts +16 -0
- package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.js.map +1 -1
- package/dist/components/Payroll/OffCycleDeductionsSetting/types.d.ts +13 -0
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.d.ts +1 -0
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.d.ts +18 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.d.ts +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js +0 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.d.ts +15 -0
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts +1 -0
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/types.d.ts +43 -0
- package/dist/components/Payroll/OffCycleReasonSelection/types.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.d.ts +1 -0
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModalTypes.d.ts +5 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/index.d.ts +0 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.d.ts +1 -0
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.d.ts +14 -0
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/index.d.ts +0 -2
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.d.ts +3 -0
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.d.ts +19 -5
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/index.d.ts +0 -1
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.d.ts +17 -11
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +0 -2
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +31 -3
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +1 -2
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +1 -0
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/grossUpHelpers.d.ts +2 -0
- package/dist/components/Payroll/PayrollConfiguration/grossUpHelpers.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -0
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.d.ts +42 -3
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +1 -2
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +3 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +0 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +8 -6
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +0 -1
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +65 -0
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/index.d.ts +0 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +2 -0
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.d.ts +1 -0
- package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.d.ts +1 -0
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +38 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +27 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.d.ts +1 -0
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.d.ts +2 -0
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +25 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +1 -2
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +1 -0
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +33 -4
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.js +1 -2
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +19 -0
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.d.ts +2 -0
- package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.d.ts +32 -13
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +1 -0
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +65 -68
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/types.d.ts +1 -0
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +39 -3
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +1 -2
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +1 -0
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewTypes.d.ts +1 -0
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewTypes.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +1 -0
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.d.ts +1 -0
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.d.ts +26 -3
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +2 -7
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +1 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollStatusBadges/PayrollStatusBadges.d.ts +1 -0
- package/dist/components/Payroll/PayrollStatusBadges/PayrollStatusBadges.js.map +1 -1
- package/dist/components/Payroll/PayrollStatusBadges/index.d.ts +0 -2
- package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.d.ts +26 -0
- package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.js.map +1 -1
- package/dist/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.d.ts +2 -0
- package/dist/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCases.d.ts +21 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCases.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.d.ts +5 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.d.ts +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.d.ts +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/index.d.ts +0 -1
- package/dist/components/Payroll/RecoveryCases/recoveryCasesStateMachine.d.ts +5 -0
- package/dist/components/Payroll/RecoveryCases/recoveryCasesStateMachine.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.d.ts +5 -0
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
- package/dist/components/Payroll/Transition/TransitionFlow.d.ts +21 -0
- package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
- package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +23 -0
- package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
- package/dist/components/Payroll/Transition/transitionStateMachine.d.ts +2 -0
- package/dist/components/Payroll/Transition/transitionStateMachine.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.d.ts +20 -0
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +7 -0
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +27 -0
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +1 -0
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.d.ts +5 -0
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
- package/dist/components/Payroll/helpers.d.ts +157 -26
- package/dist/components/Payroll/helpers.js +0 -1
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/index.d.ts +11 -2
- package/dist/components/Payroll/payrollTypes.d.ts +24 -0
- package/dist/components/Payroll/payrollTypes.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.d.ts +12 -0
- package/dist/components/Payroll/usePreparedPayrollData.js +4 -3
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.d.ts +7 -0
- package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js.map +1 -1
- package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +19 -0
- package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -1
- package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +44 -0
- package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.d.ts +4 -0
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +1 -0
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailTypes.d.ts +28 -2
- package/dist/components/TimeOff/HolidayPolicyDetail/index.d.ts +0 -2
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +26 -0
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +1 -0
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormTypes.d.ts +10 -0
- package/dist/components/TimeOff/PolicyList/PolicyList.d.ts +25 -0
- package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -0
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyListTypes.d.ts +17 -0
- package/dist/components/TimeOff/PolicySettings/PolicySettings.d.ts +22 -0
- package/dist/components/TimeOff/PolicySettings/PolicySettings.js.map +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +14 -0
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettingsTypes.d.ts +31 -0
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +23 -0
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -0
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorTypes.d.ts +10 -0
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlow.d.ts +42 -0
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +26 -0
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.d.ts +15 -2
- package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js +1 -6
- package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.d.ts +1 -0
- package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +29 -0
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -0
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +59 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/index.d.ts +0 -3
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +1 -0
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -0
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +43 -42
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +2 -0
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +1 -0
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.d.ts +3 -0
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.d.ts +9 -0
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.d.ts +25 -0
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +14 -0
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailTypes.d.ts +97 -6
- package/dist/components/TimeOff/TimeOffPolicyDetail/index.d.ts +1 -5
- package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +23 -0
- package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -1
- package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.d.ts +22 -0
- package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.js.map +1 -1
- package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +22 -0
- package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -1
- package/dist/components/TimeOff/index.d.ts +8 -2
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -0
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +48 -49
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTableTypes.d.ts +66 -0
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +1 -0
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -1
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayoutTypes.d.ts +28 -0
- package/dist/components/TimeOff/shared/PolicyDetailLayout/index.d.ts +0 -1
- package/dist/components/TimeOff/shared/holidayHelpers.d.ts +5 -0
- package/dist/components/TimeOff/shared/holidayHelpers.js.map +1 -1
- package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +4 -4
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +39 -39
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +42 -42
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/i18n/en/common.json.d.ts +0 -1
- package/dist/i18n/en/common.json.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +206 -205
- package/dist/node_modules/react-dnd/dist/core/DndProvider.js +1 -1
- package/dist/node_modules/react-dnd/dist/core/DndProvider.js.map +1 -1
- package/dist/partner-hook-utils/composeErrorHandler.js +3 -1
- package/dist/partner-hook-utils/composeErrorHandler.js.map +1 -1
- package/dist/shared/constants.d.ts +12 -1
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +0 -1
- package/docs/reference/endpoint-inventory.json +55 -0
- package/package.json +24 -11
- package/dist/assets/icons/feature-icon-check.svg.js +0 -10
- package/dist/assets/icons/feature-icon-check.svg.js.map +0 -1
- package/dist/assets/icons/magnifyingGlass.png.js +0 -5
- package/dist/assets/icons/magnifyingGlass.png.js.map +0 -1
- package/dist/components/Payroll/PayrollEditEmployee/index.d.ts +0 -4
- package/dist/components/Payroll/PayrollFlow/index.d.ts +0 -3
- package/dist/components/TimeOff/TimeOffFlow/index.d.ts +0 -3
- package/dist/components/TimeOff/shared/EmployeeTable/index.d.ts +0 -4
|
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
4
4
|
* Option entry rendered as a single checkbox within a {@link CheckboxGroupProps | CheckboxGroup}.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Utility Types
|
|
7
8
|
*/
|
|
8
9
|
export interface CheckboxGroupOption {
|
|
9
10
|
/**
|
|
@@ -28,6 +29,7 @@ export interface CheckboxGroupOption {
|
|
|
28
29
|
* Renders a form field wrapping multiple `<input type="checkbox" />` elements with a label, optional description, and error message.
|
|
29
30
|
*
|
|
30
31
|
* @public
|
|
32
|
+
* @group Component Props
|
|
31
33
|
*/
|
|
32
34
|
export interface CheckboxGroupProps extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {
|
|
33
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroupTypes.js","sources":["../../../../../src/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.ts"],"sourcesContent":["import type { FieldsetHTMLAttributes, Ref } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Option entry rendered as a single checkbox within a {@link CheckboxGroupProps | CheckboxGroup}.\n *\n * @public\n */\nexport interface CheckboxGroupOption {\n /**\n * Label text or content for the checkbox option\n */\n label: React.ReactNode\n /**\n * Value of the option that will be passed to onChange\n */\n value: string\n /**\n * Disables this specific checkbox option\n */\n isDisabled?: boolean\n /**\n * Optional description text for the checkbox option\n */\n description?: React.ReactNode\n}\n\n/**\n * Props your `CheckboxGroup` implementation must accept from the component adapter.\n * Renders a form field wrapping multiple `<input type=\"checkbox\" />` elements with a label, optional description, and error message.\n *\n * @public\n */\nexport interface CheckboxGroupProps\n extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {\n /**\n * Indicates if the checkbox group is in an invalid state\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables all checkbox options in the group\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Array of checkbox options to display\n */\n options: Array<CheckboxGroupOption>\n /**\n * Array of currently selected values\n */\n value?: string[]\n /**\n * Callback when selection changes\n */\n onChange?: (value: string[]) => void\n /**\n * React ref for the first checkbox input element\n */\n inputRef?: Ref<HTMLInputElement>\n}\n\n/**\n * Default prop values for the CheckboxGroup component.\n *\n * @internal\n */\nexport const CheckboxGroupDefaults = {\n isRequired: false,\n isInvalid: false,\n isDisabled: false,\n shouldVisuallyHideLabel: false,\n} as const satisfies Partial<CheckboxGroupProps>\n"],"names":["CheckboxGroupDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckboxGroupTypes.js","sources":["../../../../../src/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.ts"],"sourcesContent":["import type { FieldsetHTMLAttributes, Ref } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Option entry rendered as a single checkbox within a {@link CheckboxGroupProps | CheckboxGroup}.\n *\n * @public\n * @group Utility Types\n */\nexport interface CheckboxGroupOption {\n /**\n * Label text or content for the checkbox option\n */\n label: React.ReactNode\n /**\n * Value of the option that will be passed to onChange\n */\n value: string\n /**\n * Disables this specific checkbox option\n */\n isDisabled?: boolean\n /**\n * Optional description text for the checkbox option\n */\n description?: React.ReactNode\n}\n\n/**\n * Props your `CheckboxGroup` implementation must accept from the component adapter.\n * Renders a form field wrapping multiple `<input type=\"checkbox\" />` elements with a label, optional description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface CheckboxGroupProps\n extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {\n /**\n * Indicates if the checkbox group is in an invalid state\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables all checkbox options in the group\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Array of checkbox options to display\n */\n options: Array<CheckboxGroupOption>\n /**\n * Array of currently selected values\n */\n value?: string[]\n /**\n * Callback when selection changes\n */\n onChange?: (value: string[]) => void\n /**\n * React ref for the first checkbox input element\n */\n inputRef?: Ref<HTMLInputElement>\n}\n\n/**\n * Default prop values for the CheckboxGroup component.\n *\n * @internal\n */\nexport const CheckboxGroupDefaults = {\n isRequired: false,\n isInvalid: false,\n isDisabled: false,\n shouldVisuallyHideLabel: false,\n} as const satisfies Partial<CheckboxGroupProps>\n"],"names":["CheckboxGroupDefaults"],"mappings":"AAwEO,MAAMA,IAAwB;AAAA,EACnC,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,yBAAyB;AAC3B;"}
|
|
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
4
4
|
* Option entry for the ComboBox dropdown list.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Utility Types
|
|
7
8
|
*/
|
|
8
9
|
export interface ComboBoxOption {
|
|
9
10
|
/**
|
|
@@ -20,6 +21,7 @@ export interface ComboBoxOption {
|
|
|
20
21
|
* Renders a form field wrapping a filterable `<input />` for single-option selection, optionally allowing free-form values.
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
24
|
+
* @group Component Props
|
|
23
25
|
* @see {@link MultiSelectComboBoxProps}
|
|
24
26
|
*/
|
|
25
27
|
export interface ComboBoxProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'className' | 'id' | 'name' | 'placeholder'> {
|
|
@@ -5,6 +5,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
5
5
|
* Renders a form field wrapping an `<input type="date" />` with a calendar picker popover, optional min/max bounds, and per-date disabling.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
|
+
* @group Component Props
|
|
8
9
|
*/
|
|
9
10
|
export interface DatePickerProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'className' | 'id' | 'name'> {
|
|
10
11
|
/**
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Inclusive start/end pair representing a selected date range.
|
|
3
3
|
*
|
|
4
4
|
* @public
|
|
5
|
+
* @group Utility Types
|
|
5
6
|
*/
|
|
6
7
|
export interface DateRange {
|
|
7
8
|
/**
|
|
@@ -18,6 +19,7 @@ export interface DateRange {
|
|
|
18
19
|
* Renders a form field wrapping paired `<input type="date" />` elements for selecting an inclusive date range.
|
|
19
20
|
*
|
|
20
21
|
* @public
|
|
22
|
+
* @group Component Props
|
|
21
23
|
*/
|
|
22
24
|
export interface DateRangePickerProps {
|
|
23
25
|
/**
|
|
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
* Single term/description pair rendered as a row within a {@link DescriptionListProps | DescriptionList}.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
|
+
* @group Utility Types
|
|
6
7
|
*/
|
|
7
8
|
export interface DescriptionListItem {
|
|
8
9
|
/**
|
|
@@ -19,6 +20,7 @@ export interface DescriptionListItem {
|
|
|
19
20
|
* Renders an HTML `<dl>` of term/description pairs in either a stacked or horizontal layout.
|
|
20
21
|
*
|
|
21
22
|
* @public
|
|
23
|
+
* @group Component Props
|
|
22
24
|
*/
|
|
23
25
|
export interface DescriptionListProps {
|
|
24
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescriptionListTypes.js","sources":["../../../../../src/components/Common/UI/DescriptionList/DescriptionListTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Single term/description pair rendered as a row within a {@link DescriptionListProps | DescriptionList}.\n *\n * @public\n */\nexport interface DescriptionListItem {\n /**\n * Term content (the `<dt>`). Pass an array to render multiple `<dt>` elements for the same description.\n */\n term: ReactNode | ReactNode[]\n /**\n * Description content (the `<dd>`). Pass an array to render multiple `<dd>` elements for the same term.\n */\n description: ReactNode | ReactNode[]\n}\n\n/**\n * Props your `DescriptionList` implementation must accept from the component adapter.\n * Renders an HTML `<dl>` of term/description pairs in either a stacked or horizontal layout.\n *\n * @public\n */\nexport interface DescriptionListProps {\n /**\n * Term/description pairs to render in order.\n */\n items: DescriptionListItem[]\n /**\n * Visual arrangement of each term/description pair. Defaults to `'stacked'`.\n *\n * @defaultValue `'stacked'`\n */\n layout?: 'stacked' | 'horizontal'\n /**\n * Whether to render dividers between rows. Defaults to `true`.\n *\n * @defaultValue `true`\n */\n showSeparators?: boolean\n /**\n * Additional class name applied to the root `<dl>`.\n */\n className?: string\n}\n\n/**\n * Default prop values for the DescriptionList component.\n *\n * @internal\n */\nexport const DescriptionListDefaults = {\n layout: 'stacked',\n showSeparators: true,\n} as const satisfies Partial<DescriptionListProps>\n"],"names":["DescriptionListDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DescriptionListTypes.js","sources":["../../../../../src/components/Common/UI/DescriptionList/DescriptionListTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Single term/description pair rendered as a row within a {@link DescriptionListProps | DescriptionList}.\n *\n * @public\n * @group Utility Types\n */\nexport interface DescriptionListItem {\n /**\n * Term content (the `<dt>`). Pass an array to render multiple `<dt>` elements for the same description.\n */\n term: ReactNode | ReactNode[]\n /**\n * Description content (the `<dd>`). Pass an array to render multiple `<dd>` elements for the same term.\n */\n description: ReactNode | ReactNode[]\n}\n\n/**\n * Props your `DescriptionList` implementation must accept from the component adapter.\n * Renders an HTML `<dl>` of term/description pairs in either a stacked or horizontal layout.\n *\n * @public\n * @group Component Props\n */\nexport interface DescriptionListProps {\n /**\n * Term/description pairs to render in order.\n */\n items: DescriptionListItem[]\n /**\n * Visual arrangement of each term/description pair. Defaults to `'stacked'`.\n *\n * @defaultValue `'stacked'`\n */\n layout?: 'stacked' | 'horizontal'\n /**\n * Whether to render dividers between rows. Defaults to `true`.\n *\n * @defaultValue `true`\n */\n showSeparators?: boolean\n /**\n * Additional class name applied to the root `<dl>`.\n */\n className?: string\n}\n\n/**\n * Default prop values for the DescriptionList component.\n *\n * @internal\n */\nexport const DescriptionListDefaults = {\n layout: 'stacked',\n showSeparators: true,\n} as const satisfies Partial<DescriptionListProps>\n"],"names":["DescriptionListDefaults"],"mappings":"AAsDO,MAAMA,IAA0B;AAAA,EACrC,QAAQ;AAAA,EACR,gBAAgB;AAClB;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTypes.js","sources":["../../../../../src/components/Common/UI/Dialog/DialogTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Dialog` implementation must accept from the component adapter.\n * Renders a modal confirmation dialog with a primary action and a cancel action.\n *\n * @public\n */\nexport interface DialogProps {\n /**\n * Controls whether the dialog is open or closed\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback function called when the dialog should be closed\n */\n onClose?: () => void\n /**\n * Callback function called when the primary action button is clicked\n */\n onPrimaryActionClick?: () => void\n /**\n * Whether the primary action is destructive (changes button style to error variant)\n * @defaultValue `false`\n */\n isDestructive?: boolean\n /**\n * Whether the primary action button is in loading state\n * @defaultValue `false`\n */\n isPrimaryActionLoading?: boolean\n /**\n * Text label for the primary action button\n */\n primaryActionLabel: string\n /**\n * Text label for the close/cancel action button\n */\n closeActionLabel: string\n /**\n * Optional title content to be displayed at the top of the dialog\n */\n title?: ReactNode\n /**\n * Optional children content to be rendered in the dialog body\n */\n children?: ReactNode\n /**\n * Whether clicking the backdrop should close the dialog\n * @defaultValue `false`\n */\n shouldCloseOnBackdropClick?: boolean\n}\n\n/**\n * Default prop values for the Dialog component.\n *\n * @internal\n */\nexport const DialogDefaults = {\n isOpen: false,\n isDestructive: false,\n isPrimaryActionLoading: false,\n shouldCloseOnBackdropClick: false,\n} as const satisfies Partial<DialogProps>\n"],"names":["DialogDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DialogTypes.js","sources":["../../../../../src/components/Common/UI/Dialog/DialogTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Dialog` implementation must accept from the component adapter.\n * Renders a modal confirmation dialog with a primary action and a cancel action.\n *\n * @public\n * @group Component Props\n */\nexport interface DialogProps {\n /**\n * Controls whether the dialog is open or closed\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback function called when the dialog should be closed\n */\n onClose?: () => void\n /**\n * Callback function called when the primary action button is clicked\n */\n onPrimaryActionClick?: () => void\n /**\n * Whether the primary action is destructive (changes button style to error variant)\n * @defaultValue `false`\n */\n isDestructive?: boolean\n /**\n * Whether the primary action button is in loading state\n * @defaultValue `false`\n */\n isPrimaryActionLoading?: boolean\n /**\n * Text label for the primary action button\n */\n primaryActionLabel: string\n /**\n * Text label for the close/cancel action button\n */\n closeActionLabel: string\n /**\n * Optional title content to be displayed at the top of the dialog\n */\n title?: ReactNode\n /**\n * Optional children content to be rendered in the dialog body\n */\n children?: ReactNode\n /**\n * Whether clicking the backdrop should close the dialog\n * @defaultValue `false`\n */\n shouldCloseOnBackdropClick?: boolean\n}\n\n/**\n * Default prop values for the Dialog component.\n *\n * @internal\n */\nexport const DialogDefaults = {\n isOpen: false,\n isDestructive: false,\n isPrimaryActionLoading: false,\n shouldCloseOnBackdropClick: false,\n} as const satisfies Partial<DialogProps>\n"],"names":["DialogDefaults"],"mappings":"AA6DO,MAAMA,IAAiB;AAAA,EAC5B,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,wBAAwB;AAAA,EACxB,4BAA4B;AAC9B;"}
|
|
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
4
4
|
* Renders a form field wrapping an `<input type="file" />` with a label, description, error message, and optional file type restrictions.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
9
|
export interface FileInputProps extends Omit<SharedFieldLayoutProps, 'shouldVisuallyHideLabel'> {
|
|
9
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInputTypes.js","sources":["../../../../../src/components/Common/UI/FileInput/FileInputTypes.ts"],"sourcesContent":["import type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `FileInput` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"file\" />` with a label, description, error message, and optional file type restrictions.\n *\n * @public\n */\nexport interface FileInputProps extends Omit<SharedFieldLayoutProps, 'shouldVisuallyHideLabel'> {\n /**\n * ID for the file input element\n */\n id?: string\n /**\n * Currently selected file\n */\n value: File | null\n /**\n * Callback when file selection changes\n */\n onChange: (file: File | null) => void\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Accepted file types (MIME types or extensions)\n * @example ['image/jpeg', 'image/png', 'application/pdf']\n * @example ['.jpg', '.png', '.pdf']\n */\n accept?: string[]\n /**\n * Indicates that the field has an error\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the input and prevents interaction\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Additional CSS class name\n */\n className?: string\n /**\n * Aria-describedby attribute for accessibility\n */\n 'aria-describedby'?: string\n}\n\n/**\n * Default prop values for the FileInput component.\n *\n * @internal\n */\nexport const FileInputDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<FileInputProps>\n"],"names":["FileInputDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FileInputTypes.js","sources":["../../../../../src/components/Common/UI/FileInput/FileInputTypes.ts"],"sourcesContent":["import type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `FileInput` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"file\" />` with a label, description, error message, and optional file type restrictions.\n *\n * @public\n * @group Component Props\n */\nexport interface FileInputProps extends Omit<SharedFieldLayoutProps, 'shouldVisuallyHideLabel'> {\n /**\n * ID for the file input element\n */\n id?: string\n /**\n * Currently selected file\n */\n value: File | null\n /**\n * Callback when file selection changes\n */\n onChange: (file: File | null) => void\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Accepted file types (MIME types or extensions)\n * @example ['image/jpeg', 'image/png', 'application/pdf']\n * @example ['.jpg', '.png', '.pdf']\n */\n accept?: string[]\n /**\n * Indicates that the field has an error\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the input and prevents interaction\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Additional CSS class name\n */\n className?: string\n /**\n * Aria-describedby attribute for accessibility\n */\n 'aria-describedby'?: string\n}\n\n/**\n * Default prop values for the FileInput component.\n *\n * @internal\n */\nexport const FileInputDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<FileInputProps>\n"],"names":["FileInputDefaults"],"mappings":"AAyDO,MAAMA,IAAoB;AAAA,EAC/B,WAAW;AAAA,EACX,YAAY;AACd;"}
|
|
@@ -4,6 +4,7 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
* Renders an HTML heading (`<h1>`–`<h6>`) whose visual style level is controlled independently from its semantic level.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
9
|
export interface HeadingProps extends Pick<HTMLAttributes<HTMLHeadingElement>, 'className' | 'id'> {
|
|
9
10
|
/**
|
|
@@ -4,8 +4,9 @@ import { AnchorHTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
* Renders an HTML anchor (`<a>`) for inline navigation.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
|
-
export
|
|
9
|
+
export interface LinkProps extends Pick<AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
9
10
|
/**
|
|
10
11
|
* URL that the link points to
|
|
11
12
|
*/
|
|
@@ -53,9 +54,9 @@ export type LinkProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
|
53
54
|
/**
|
|
54
55
|
* Title text shown on hover
|
|
55
56
|
*/
|
|
56
|
-
| 'title'>
|
|
57
|
+
| 'title'> {
|
|
57
58
|
/**
|
|
58
59
|
* Content to be displayed inside the link
|
|
59
60
|
*/
|
|
60
61
|
children?: ReactNode;
|
|
61
|
-
}
|
|
62
|
+
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Shared props accepted by both `OrderedList` and `UnorderedList` implementations.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
* @group Utility Types
|
|
7
|
+
*/
|
|
8
|
+
export interface BaseListProps {
|
|
3
9
|
/**
|
|
4
10
|
* The list items to render
|
|
5
11
|
*/
|
|
@@ -26,13 +32,16 @@ interface BaseListProps {
|
|
|
26
32
|
* Renders an unordered (bulleted) list of items.
|
|
27
33
|
*
|
|
28
34
|
* @public
|
|
35
|
+
* @group Component Props
|
|
29
36
|
*/
|
|
30
|
-
export
|
|
37
|
+
export interface UnorderedListProps extends BaseListProps {
|
|
38
|
+
}
|
|
31
39
|
/**
|
|
32
40
|
* Props your `OrderedList` implementation must accept from the component adapter.
|
|
33
41
|
* Renders an ordered (numbered) list of items.
|
|
34
42
|
*
|
|
35
43
|
* @public
|
|
44
|
+
* @group Component Props
|
|
36
45
|
*/
|
|
37
|
-
export
|
|
38
|
-
|
|
46
|
+
export interface OrderedListProps extends BaseListProps {
|
|
47
|
+
}
|
|
@@ -4,6 +4,7 @@ import { HTMLAttributes } from 'react';
|
|
|
4
4
|
* Renders a spinner indicating that content is loading.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
9
|
export interface LoadingSpinnerProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className' | 'id' | 'aria-label'> {
|
|
9
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingSpinnerTypes.js","sources":["../../../../../src/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.ts"],"sourcesContent":["import type { HTMLAttributes } from 'react'\n\n/**\n * Props your `LoadingSpinner` implementation must accept from the component adapter.\n * Renders a spinner indicating that content is loading.\n *\n * @public\n */\nexport interface LoadingSpinnerProps extends Pick<\n HTMLAttributes<HTMLDivElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Size of the spinner\n *\n * @defaultValue `'lg'`\n */\n size?: 'lg' | 'sm'\n /**\n * Display style of the spinner\n *\n * @defaultValue `'block'`\n */\n style?: 'inline' | 'block'\n}\n\n/**\n * Default prop values for the {@link LoadingSpinner} component.\n *\n * @internal\n */\nexport const LoadingSpinnerDefaults = {\n size: 'lg',\n style: 'block',\n} as const satisfies Partial<LoadingSpinnerProps>\n"],"names":["LoadingSpinnerDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"LoadingSpinnerTypes.js","sources":["../../../../../src/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.ts"],"sourcesContent":["import type { HTMLAttributes } from 'react'\n\n/**\n * Props your `LoadingSpinner` implementation must accept from the component adapter.\n * Renders a spinner indicating that content is loading.\n *\n * @public\n * @group Component Props\n */\nexport interface LoadingSpinnerProps extends Pick<\n HTMLAttributes<HTMLDivElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Size of the spinner\n *\n * @defaultValue `'lg'`\n */\n size?: 'lg' | 'sm'\n /**\n * Display style of the spinner\n *\n * @defaultValue `'block'`\n */\n style?: 'inline' | 'block'\n}\n\n/**\n * Default prop values for the {@link LoadingSpinner} component.\n *\n * @internal\n */\nexport const LoadingSpinnerDefaults = {\n size: 'lg',\n style: 'block',\n} as const satisfies Partial<LoadingSpinnerProps>\n"],"names":["LoadingSpinnerDefaults"],"mappings":"AAgCO,MAAMA,IAAyB;AAAA,EACpC,MAAM;AAAA,EACN,OAAO;AACT;"}
|
|
@@ -5,6 +5,7 @@ import { DataAttributes } from '../../../../types/Helpers';
|
|
|
5
5
|
* from the component adapter.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
|
+
* @group Utility Types
|
|
8
9
|
*/
|
|
9
10
|
export interface MenuItem extends DataAttributes {
|
|
10
11
|
/**
|
|
@@ -33,6 +34,7 @@ export interface MenuItem extends DataAttributes {
|
|
|
33
34
|
* Renders a popover menu of actions anchored to a trigger element.
|
|
34
35
|
*
|
|
35
36
|
* @public
|
|
37
|
+
* @group Component Props
|
|
36
38
|
*/
|
|
37
39
|
export interface MenuProps extends DataAttributes {
|
|
38
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuTypes.js","sources":["../../../../../src/components/Common/UI/Menu/MenuTypes.ts"],"sourcesContent":["import type { ReactNode, RefObject } from 'react'\nimport type { DataAttributes } from '@/types/Helpers'\n\n/**\n * Action entry your `Menu` implementation must accept for each entry in its `items` array\n * from the component adapter.\n *\n * @public\n */\nexport interface MenuItem extends DataAttributes {\n /**\n * Text label for the menu item\n */\n label: string\n /**\n * Optional icon to display before the label\n */\n icon?: ReactNode\n /**\n * Callback function when the menu item is clicked\n */\n onClick: () => void\n /**\n * Disables the menu item and prevents interaction\n */\n isDisabled?: boolean\n /**\n * Optional URL to navigate to when clicked\n */\n href?: string\n}\n\n/**\n * Props your `Menu` implementation must accept from the component adapter.\n * Renders a popover menu of actions anchored to a trigger element.\n *\n * @public\n */\nexport interface MenuProps extends DataAttributes {\n /**\n * Reference to the element that triggers the menu\n */\n triggerRef?: RefObject<Element | null>\n /**\n * Array of menu items to display\n */\n items?: MenuItem[]\n /**\n * Controls whether the menu is currently open\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback when the menu is closed\n */\n onClose?: () => void\n /**\n * Accessible label describing the menu's purpose\n */\n 'aria-label': string\n /**\n * Element to use as the portal container for the menu popover.\n * Overrides the default SDK root container from context.\n */\n portalContainer?: HTMLElement\n /**\n * Controls the placement of the menu popover relative to the trigger\n *\n * @defaultValue `'bottom start'`\n */\n placement?:\n | 'top'\n | 'top start'\n | 'top end'\n | 'bottom'\n | 'bottom start'\n | 'bottom end'\n | 'left'\n | 'right'\n}\n\n/**\n * Default prop values for the {@link Menu} component.\n *\n * @internal\n */\nexport const MenuDefaults = {\n isOpen: false,\n placement: 'bottom start',\n} as const satisfies Partial<MenuProps>\n"],"names":["MenuDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuTypes.js","sources":["../../../../../src/components/Common/UI/Menu/MenuTypes.ts"],"sourcesContent":["import type { ReactNode, RefObject } from 'react'\nimport type { DataAttributes } from '@/types/Helpers'\n\n/**\n * Action entry your `Menu` implementation must accept for each entry in its `items` array\n * from the component adapter.\n *\n * @public\n * @group Utility Types\n */\nexport interface MenuItem extends DataAttributes {\n /**\n * Text label for the menu item\n */\n label: string\n /**\n * Optional icon to display before the label\n */\n icon?: ReactNode\n /**\n * Callback function when the menu item is clicked\n */\n onClick: () => void\n /**\n * Disables the menu item and prevents interaction\n */\n isDisabled?: boolean\n /**\n * Optional URL to navigate to when clicked\n */\n href?: string\n}\n\n/**\n * Props your `Menu` implementation must accept from the component adapter.\n * Renders a popover menu of actions anchored to a trigger element.\n *\n * @public\n * @group Component Props\n */\nexport interface MenuProps extends DataAttributes {\n /**\n * Reference to the element that triggers the menu\n */\n triggerRef?: RefObject<Element | null>\n /**\n * Array of menu items to display\n */\n items?: MenuItem[]\n /**\n * Controls whether the menu is currently open\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback when the menu is closed\n */\n onClose?: () => void\n /**\n * Accessible label describing the menu's purpose\n */\n 'aria-label': string\n /**\n * Element to use as the portal container for the menu popover.\n * Overrides the default SDK root container from context.\n */\n portalContainer?: HTMLElement\n /**\n * Controls the placement of the menu popover relative to the trigger\n *\n * @defaultValue `'bottom start'`\n */\n placement?:\n | 'top'\n | 'top start'\n | 'top end'\n | 'bottom'\n | 'bottom start'\n | 'bottom end'\n | 'left'\n | 'right'\n}\n\n/**\n * Default prop values for the {@link Menu} component.\n *\n * @internal\n */\nexport const MenuDefaults = {\n isOpen: false,\n placement: 'bottom start',\n} as const satisfies Partial<MenuProps>\n"],"names":["MenuDefaults"],"mappings":"AAyFO,MAAMA,IAAe;AAAA,EAC1B,QAAQ;AAAA,EACR,WAAW;AACb;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalTypes.js","sources":["../../../../../src/components/Common/UI/Modal/ModalTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Modal` implementation must accept from the component adapter.\n * Renders a modal overlay with body and footer content.\n *\n * @public\n */\nexport interface ModalProps {\n /**\n * Controls whether the modal is open or closed\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback function called when the modal should be closed\n */\n onClose?: () => void\n /**\n * Whether clicking the backdrop should close the modal\n *\n * @defaultValue `false`\n */\n shouldCloseOnBackdropClick?: boolean\n /**\n * Main content to be rendered in the modal body\n */\n children?: ReactNode\n /**\n * Footer content to be rendered at the bottom of the modal\n */\n footer?: ReactNode\n /**\n * Optional ref to the backdrop container\n */\n containerRef?: React.RefObject<HTMLDivElement | null>\n}\n\n/**\n * Default prop values for the {@link Modal} component.\n *\n * @internal\n */\nexport const ModalDefaults = {\n isOpen: false,\n shouldCloseOnBackdropClick: false,\n} as const satisfies Partial<ModalProps>\n"],"names":["ModalDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModalTypes.js","sources":["../../../../../src/components/Common/UI/Modal/ModalTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Modal` implementation must accept from the component adapter.\n * Renders a modal overlay with body and footer content.\n *\n * @public\n * @group Component Props\n */\nexport interface ModalProps {\n /**\n * Controls whether the modal is open or closed\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback function called when the modal should be closed\n */\n onClose?: () => void\n /**\n * Whether clicking the backdrop should close the modal\n *\n * @defaultValue `false`\n */\n shouldCloseOnBackdropClick?: boolean\n /**\n * Main content to be rendered in the modal body\n */\n children?: ReactNode\n /**\n * Footer content to be rendered at the bottom of the modal\n */\n footer?: ReactNode\n /**\n * Optional ref to the backdrop container\n */\n containerRef?: React.RefObject<HTMLDivElement | null>\n}\n\n/**\n * Default prop values for the {@link Modal} component.\n *\n * @internal\n */\nexport const ModalDefaults = {\n isOpen: false,\n shouldCloseOnBackdropClick: false,\n} as const satisfies Partial<ModalProps>\n"],"names":["ModalDefaults"],"mappings":"AA6CO,MAAMA,IAAgB;AAAA,EAC3B,QAAQ;AAAA,EACR,4BAA4B;AAC9B;"}
|
|
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
4
4
|
* Option entry for a `MultiSelectComboBox` dropdown list.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Utility Types
|
|
7
8
|
*/
|
|
8
9
|
export interface MultiSelectComboBoxOption {
|
|
9
10
|
/**
|
|
@@ -20,6 +21,7 @@ export interface MultiSelectComboBoxOption {
|
|
|
20
21
|
* Renders a form field wrapping a typeahead input for multi-option selection.
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
24
|
+
* @group Component Props
|
|
23
25
|
* @see {@link ComboBoxProps}
|
|
24
26
|
*/
|
|
25
27
|
export interface MultiSelectComboBoxProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'className' | 'id' | 'name' | 'placeholder'> {
|
|
@@ -6,6 +6,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
6
6
|
* Renders a form field wrapping a numeric `<input />` for currency, decimal, or percent values, with optional start/end adornments.
|
|
7
7
|
*
|
|
8
8
|
* @public
|
|
9
|
+
* @group Component Props
|
|
9
10
|
*/
|
|
10
11
|
export interface NumberInputProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'min' | 'max' | 'name' | 'id' | 'placeholder' | 'className'> {
|
|
11
12
|
/**
|
|
@@ -5,6 +5,7 @@ import { SharedHorizontalFieldLayoutProps } from '../../HorizontalFieldLayout/Ho
|
|
|
5
5
|
* Renders a form field wrapping an `<input type="radio" />` with a label, optional description, and error message.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
|
+
* @group Component Props
|
|
8
9
|
*/
|
|
9
10
|
export interface RadioProps extends SharedHorizontalFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className' | 'onBlur'> {
|
|
10
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioTypes.js","sources":["../../../../../src/components/Common/UI/Radio/RadioTypes.ts"],"sourcesContent":["import type { InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Radio` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"radio\" />` with a label, optional description, and error message.\n *\n * @public\n */\nexport interface RadioProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className' | 'onBlur'> {\n /**\n * Current checked state of the radio button\n */\n value?: boolean\n /**\n * Callback when radio button state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * React ref for the radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the radio button and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n}\n\n/**\n * Default prop values for the Radio component.\n *\n * @internal\n */\nexport const RadioDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<RadioProps>\n"],"names":["RadioDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioTypes.js","sources":["../../../../../src/components/Common/UI/Radio/RadioTypes.ts"],"sourcesContent":["import type { InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Radio` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"radio\" />` with a label, optional description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface RadioProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className' | 'onBlur'> {\n /**\n * Current checked state of the radio button\n */\n value?: boolean\n /**\n * Callback when radio button state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * React ref for the radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the radio button and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n}\n\n/**\n * Default prop values for the Radio component.\n *\n * @internal\n */\nexport const RadioDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<RadioProps>\n"],"names":["RadioDefaults"],"mappings":"AA6CO,MAAMA,IAAgB;AAAA,EAC3B,WAAW;AAAA,EACX,YAAY;AACd;"}
|
|
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
4
4
|
* Option entry your `RadioGroup` implementation receives in the `options` array when rendering each radio button.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Utility Types
|
|
7
8
|
*/
|
|
8
9
|
export interface RadioGroupOption {
|
|
9
10
|
/**
|
|
@@ -28,6 +29,7 @@ export interface RadioGroupOption {
|
|
|
28
29
|
* Renders a form field wrapping multiple `<input type="radio" />` elements with a label, optional description, and error message.
|
|
29
30
|
*
|
|
30
31
|
* @public
|
|
32
|
+
* @group Component Props
|
|
31
33
|
*/
|
|
32
34
|
export interface RadioGroupProps extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {
|
|
33
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroupTypes.js","sources":["../../../../../src/components/Common/UI/RadioGroup/RadioGroupTypes.ts"],"sourcesContent":["import type { FieldsetHTMLAttributes, Ref } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Option entry your `RadioGroup` implementation receives in the `options` array when rendering each radio button.\n *\n * @public\n */\nexport interface RadioGroupOption {\n /**\n * Label text or content for the radio option\n */\n label: React.ReactNode\n /**\n * Value of the option that will be passed to onChange\n */\n value: string\n /**\n * Disables this specific radio option\n */\n isDisabled?: boolean\n /**\n * Optional description text for the radio option\n */\n description?: React.ReactNode\n}\n\n/**\n * Props your `RadioGroup` implementation must accept from the component adapter.\n * Renders a form field wrapping multiple `<input type=\"radio\" />` elements with a label, optional description, and error message.\n *\n * @public\n */\nexport interface RadioGroupProps\n extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables all radio options in the group\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Array of radio options to display\n */\n options: Array<RadioGroupOption>\n /**\n * Currently selected value\n */\n value?: string | null\n /**\n * Initially selected value\n */\n defaultValue?: string\n /**\n * Callback when selection changes\n */\n onChange?: (value: string) => void\n /**\n * React ref for the first radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n}\n\n/**\n * Default prop values for the RadioGroup component.\n *\n * @internal\n */\nexport const RadioGroupDefaults = {\n isRequired: false,\n isInvalid: false,\n isDisabled: false,\n shouldVisuallyHideLabel: false,\n} as const satisfies Partial<RadioGroupProps>\n"],"names":["RadioGroupDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioGroupTypes.js","sources":["../../../../../src/components/Common/UI/RadioGroup/RadioGroupTypes.ts"],"sourcesContent":["import type { FieldsetHTMLAttributes, Ref } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Option entry your `RadioGroup` implementation receives in the `options` array when rendering each radio button.\n *\n * @public\n * @group Utility Types\n */\nexport interface RadioGroupOption {\n /**\n * Label text or content for the radio option\n */\n label: React.ReactNode\n /**\n * Value of the option that will be passed to onChange\n */\n value: string\n /**\n * Disables this specific radio option\n */\n isDisabled?: boolean\n /**\n * Optional description text for the radio option\n */\n description?: React.ReactNode\n}\n\n/**\n * Props your `RadioGroup` implementation must accept from the component adapter.\n * Renders a form field wrapping multiple `<input type=\"radio\" />` elements with a label, optional description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface RadioGroupProps\n extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables all radio options in the group\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Array of radio options to display\n */\n options: Array<RadioGroupOption>\n /**\n * Currently selected value\n */\n value?: string | null\n /**\n * Initially selected value\n */\n defaultValue?: string\n /**\n * Callback when selection changes\n */\n onChange?: (value: string) => void\n /**\n * React ref for the first radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n}\n\n/**\n * Default prop values for the RadioGroup component.\n *\n * @internal\n */\nexport const RadioGroupDefaults = {\n isRequired: false,\n isInvalid: false,\n isDisabled: false,\n shouldVisuallyHideLabel: false,\n} as const satisfies Partial<RadioGroupProps>\n"],"names":["RadioGroupDefaults"],"mappings":"AA4EO,MAAMA,IAAqB;AAAA,EAChC,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,yBAAyB;AAC3B;"}
|
|
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
4
4
|
* Option entry your `Select` implementation receives in the `options` array when rendering each item in the dropdown.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Utility Types
|
|
7
8
|
*/
|
|
8
9
|
export interface SelectOption {
|
|
9
10
|
/**
|
|
@@ -20,6 +21,7 @@ export interface SelectOption {
|
|
|
20
21
|
* Renders a form field wrapping a single-select dropdown with a label, description, and error message.
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
24
|
+
* @group Component Props
|
|
23
25
|
*/
|
|
24
26
|
export interface SelectProps extends SharedFieldLayoutProps, Pick<SelectHTMLAttributes<HTMLSelectElement>, 'id' | 'name' | 'className'> {
|
|
25
27
|
/**
|
|
@@ -5,6 +5,7 @@ import { SharedHorizontalFieldLayoutProps } from '../../HorizontalFieldLayout/Ho
|
|
|
5
5
|
* Renders a form field wrapping an `<input type="checkbox" />` styled as a boolean on/off toggle.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
|
+
* @group Component Props
|
|
8
9
|
*/
|
|
9
10
|
export interface SwitchProps extends SharedHorizontalFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id'>, Pick<AriaAttributes, 'aria-controls'> {
|
|
10
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchTypes.js","sources":["../../../../../src/components/Common/UI/Switch/SwitchTypes.ts"],"sourcesContent":["import type { AriaAttributes, InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Switch` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"checkbox\" />` styled as a boolean on/off toggle.\n *\n * @public\n */\nexport interface SwitchProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id'>,\n Pick<AriaAttributes, 'aria-controls'> {\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Callback when switch state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * Current checked state of the switch\n */\n value?: boolean\n /**\n * React ref for the switch input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the switch and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Additional CSS class name for the switch container\n */\n className?: string\n /**\n * Label text for the switch\n */\n label: string\n}\n\n/**\n * Default prop values for the Switch component.\n *\n * @internal\n */\nexport const SwitchDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<SwitchProps>\n"],"names":["SwitchDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SwitchTypes.js","sources":["../../../../../src/components/Common/UI/Switch/SwitchTypes.ts"],"sourcesContent":["import type { AriaAttributes, InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Switch` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"checkbox\" />` styled as a boolean on/off toggle.\n *\n * @public\n * @group Component Props\n */\nexport interface SwitchProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id'>,\n Pick<AriaAttributes, 'aria-controls'> {\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Callback when switch state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * Current checked state of the switch\n */\n value?: boolean\n /**\n * React ref for the switch input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the switch and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Additional CSS class name for the switch container\n */\n className?: string\n /**\n * Label text for the switch\n */\n label: string\n}\n\n/**\n * Default prop values for the Switch component.\n *\n * @internal\n */\nexport const SwitchDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<SwitchProps>\n"],"names":["SwitchDefaults"],"mappings":"AA0DO,MAAMA,IAAiB;AAAA,EAC5B,WAAW;AAAA,EACX,YAAY;AACd;"}
|
|
@@ -3,6 +3,7 @@ import { ReactNode, TableHTMLAttributes } from 'react';
|
|
|
3
3
|
* Shape of a single cell your `Table` implementation receives for headers, rows, and footers.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
|
+
* @group Utility Types
|
|
6
7
|
*/
|
|
7
8
|
export interface TableData {
|
|
8
9
|
/**
|
|
@@ -18,6 +19,7 @@ export interface TableData {
|
|
|
18
19
|
* Shape of a single row your `Table` implementation receives, containing an ordered list of cells.
|
|
19
20
|
*
|
|
20
21
|
* @public
|
|
22
|
+
* @group Utility Types
|
|
21
23
|
*/
|
|
22
24
|
export interface TableRow {
|
|
23
25
|
/**
|
|
@@ -34,6 +36,7 @@ export interface TableRow {
|
|
|
34
36
|
* Renders a table with column headers, body rows, an optional footer row, and an optional empty state.
|
|
35
37
|
*
|
|
36
38
|
* @public
|
|
39
|
+
* @group Component Props
|
|
37
40
|
*/
|
|
38
41
|
export interface TableProps extends Pick<TableHTMLAttributes<HTMLTableElement>, 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'> {
|
|
39
42
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableTypes.js","sources":["../../../../../src/components/Common/UI/Table/TableTypes.ts"],"sourcesContent":["import type { ReactNode, TableHTMLAttributes } from 'react'\n\n/**\n * Shape of a single cell your `Table` implementation receives for headers, rows, and footers.\n *\n * @public\n */\nexport interface TableData {\n /**\n * Unique identifier for the table cell\n */\n key: string\n /**\n * Content to be displayed in the table cell\n */\n content: ReactNode\n}\n\n/**\n * Shape of a single row your `Table` implementation receives, containing an ordered list of cells.\n *\n * @public\n */\nexport interface TableRow {\n /**\n * Unique identifier for the table row\n */\n key: string\n /**\n * Array of cells to be displayed in the row\n */\n data: TableData[]\n}\n\n/**\n * Props your `Table` implementation must accept from the component adapter.\n * Renders a table with column headers, body rows, an optional footer row, and an optional empty state.\n *\n * @public\n */\nexport interface TableProps extends Pick<\n TableHTMLAttributes<HTMLTableElement>,\n 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'\n> {\n /**\n * Array of header cells for the table\n */\n headers: TableData[]\n /**\n * Array of rows to be displayed in the table\n */\n rows: TableRow[]\n /**\n * Array of footer cells for the table\n */\n footer?: TableData[]\n /**\n * Content to display when the table has no rows\n */\n emptyState?: ReactNode\n /**\n * Removes borders and background for use inside a Box component\n *\n * @defaultValue `false`\n */\n isWithinBox?: boolean\n /**\n * Whether the first column contains checkboxes (affects which column gets leading variant)\n *\n * @defaultValue `false`\n */\n hasCheckboxColumn?: boolean\n}\n\n/**\n * Default prop values for the Table component.\n *\n * @internal\n */\nexport const TableDefaults = {\n isWithinBox: false,\n hasCheckboxColumn: false,\n} as const satisfies Partial<TableProps>\n"],"names":["TableDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableTypes.js","sources":["../../../../../src/components/Common/UI/Table/TableTypes.ts"],"sourcesContent":["import type { ReactNode, TableHTMLAttributes } from 'react'\n\n/**\n * Shape of a single cell your `Table` implementation receives for headers, rows, and footers.\n *\n * @public\n * @group Utility Types\n */\nexport interface TableData {\n /**\n * Unique identifier for the table cell\n */\n key: string\n /**\n * Content to be displayed in the table cell\n */\n content: ReactNode\n}\n\n/**\n * Shape of a single row your `Table` implementation receives, containing an ordered list of cells.\n *\n * @public\n * @group Utility Types\n */\nexport interface TableRow {\n /**\n * Unique identifier for the table row\n */\n key: string\n /**\n * Array of cells to be displayed in the row\n */\n data: TableData[]\n}\n\n/**\n * Props your `Table` implementation must accept from the component adapter.\n * Renders a table with column headers, body rows, an optional footer row, and an optional empty state.\n *\n * @public\n * @group Component Props\n */\nexport interface TableProps extends Pick<\n TableHTMLAttributes<HTMLTableElement>,\n 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'\n> {\n /**\n * Array of header cells for the table\n */\n headers: TableData[]\n /**\n * Array of rows to be displayed in the table\n */\n rows: TableRow[]\n /**\n * Array of footer cells for the table\n */\n footer?: TableData[]\n /**\n * Content to display when the table has no rows\n */\n emptyState?: ReactNode\n /**\n * Removes borders and background for use inside a Box component\n *\n * @defaultValue `false`\n */\n isWithinBox?: boolean\n /**\n * Whether the first column contains checkboxes (affects which column gets leading variant)\n *\n * @defaultValue `false`\n */\n hasCheckboxColumn?: boolean\n}\n\n/**\n * Default prop values for the Table component.\n *\n * @internal\n */\nexport const TableDefaults = {\n isWithinBox: false,\n hasCheckboxColumn: false,\n} as const satisfies Partial<TableProps>\n"],"names":["TableDefaults"],"mappings":"AAkFO,MAAMA,IAAgB;AAAA,EAC3B,aAAa;AAAA,EACb,mBAAmB;AACrB;"}
|
|
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
* Shape of a single tab configuration your `Tabs` implementation receives in its `tabs` prop.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
|
+
* @group Utility Types
|
|
6
7
|
*/
|
|
7
8
|
export interface TabProps {
|
|
8
9
|
/**
|
|
@@ -27,6 +28,7 @@ export interface TabProps {
|
|
|
27
28
|
* Renders tabbed navigation with associated content panels.
|
|
28
29
|
*
|
|
29
30
|
* @public
|
|
31
|
+
* @group Component Props
|
|
30
32
|
*/
|
|
31
33
|
export interface TabsProps {
|
|
32
34
|
/**
|
|
@@ -4,6 +4,7 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
* Renders body text as `<p>`, `<span>`, `<div>`, or `<pre>`, with size, weight, alignment, and variant options.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
9
|
export interface TextProps extends Pick<HTMLAttributes<HTMLParagraphElement>, 'className' | 'id'> {
|
|
9
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextTypes.js","sources":["../../../../../src/components/Common/UI/Text/TextTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Text` implementation must accept from the component adapter.\n * Renders body text as `<p>`, `<span>`, `<div>`, or `<pre>`, with size, weight, alignment, and variant options.\n *\n * @public\n */\nexport interface TextProps extends Pick<HTMLAttributes<HTMLParagraphElement>, 'className' | 'id'> {\n /**\n * HTML element to render the text as\n *\n * @defaultValue `'p'`\n */\n as?: 'p' | 'span' | 'div' | 'pre'\n /**\n * Size variant of the text\n *\n * @defaultValue `'md'`\n */\n size?: 'xs' | 'sm' | 'md' | 'lg'\n /**\n * Text alignment within the container\n */\n textAlign?: 'start' | 'center' | 'end'\n /**\n * Font weight of the text\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold'\n /**\n * Content to be displayed\n */\n children?: ReactNode\n /**\n * Visual style variant of the text\n */\n variant?: 'supporting' | 'leading'\n}\n\n/**\n * Default prop values for the Text component.\n *\n * @internal\n */\nexport const TextDefaults = {\n as: 'p',\n size: 'md',\n} as const satisfies Partial<TextProps>\n"],"names":["TextDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextTypes.js","sources":["../../../../../src/components/Common/UI/Text/TextTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Text` implementation must accept from the component adapter.\n * Renders body text as `<p>`, `<span>`, `<div>`, or `<pre>`, with size, weight, alignment, and variant options.\n *\n * @public\n * @group Component Props\n */\nexport interface TextProps extends Pick<HTMLAttributes<HTMLParagraphElement>, 'className' | 'id'> {\n /**\n * HTML element to render the text as\n *\n * @defaultValue `'p'`\n */\n as?: 'p' | 'span' | 'div' | 'pre'\n /**\n * Size variant of the text\n *\n * @defaultValue `'md'`\n */\n size?: 'xs' | 'sm' | 'md' | 'lg'\n /**\n * Text alignment within the container\n */\n textAlign?: 'start' | 'center' | 'end'\n /**\n * Font weight of the text\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold'\n /**\n * Content to be displayed\n */\n children?: ReactNode\n /**\n * Visual style variant of the text\n */\n variant?: 'supporting' | 'leading'\n}\n\n/**\n * Default prop values for the Text component.\n *\n * @internal\n */\nexport const TextDefaults = {\n as: 'p',\n size: 'md',\n} as const satisfies Partial<TextProps>\n"],"names":["TextDefaults"],"mappings":"AA6CO,MAAMA,IAAe;AAAA,EAC1B,IAAI;AAAA,EACJ,MAAM;AACR;"}
|
|
@@ -5,6 +5,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
5
5
|
* Renders a form field wrapping a `<textarea>` with a label, description, and error message.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
|
+
* @group Component Props
|
|
8
9
|
*/
|
|
9
10
|
export interface TextAreaProps extends SharedFieldLayoutProps, Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'name' | 'id' | 'placeholder' | 'className' | 'cols'>, Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-describedby'> {
|
|
10
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextAreaTypes.js","sources":["../../../../../src/components/Common/UI/TextArea/TextAreaTypes.ts"],"sourcesContent":["import type { Ref, TextareaHTMLAttributes } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextArea` implementation must accept from the component adapter.\n * Renders a form field wrapping a `<textarea>` with a label, description, and error message.\n *\n * @public\n */\nexport interface TextAreaProps\n extends\n SharedFieldLayoutProps,\n Pick<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'cols'\n >,\n Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-describedby'> {\n /**\n * React ref for the textarea element\n */\n inputRef?: Ref<HTMLTextAreaElement>\n /**\n * Current value of the textarea\n */\n value?: string\n /**\n * Callback when textarea value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the textarea and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Number of visible text rows\n *\n * @defaultValue `4`\n */\n rows?: number\n}\n\n/**\n * Default prop values for the TextArea component.\n *\n * @internal\n */\nexport const TextAreaDefaults = {\n isInvalid: false,\n isDisabled: false,\n rows: 4,\n} as const satisfies Partial<TextAreaProps>\n"],"names":["TextAreaDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextAreaTypes.js","sources":["../../../../../src/components/Common/UI/TextArea/TextAreaTypes.ts"],"sourcesContent":["import type { Ref, TextareaHTMLAttributes } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextArea` implementation must accept from the component adapter.\n * Renders a form field wrapping a `<textarea>` with a label, description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface TextAreaProps\n extends\n SharedFieldLayoutProps,\n Pick<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'cols'\n >,\n Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-describedby'> {\n /**\n * React ref for the textarea element\n */\n inputRef?: Ref<HTMLTextAreaElement>\n /**\n * Current value of the textarea\n */\n value?: string\n /**\n * Callback when textarea value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the textarea and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Number of visible text rows\n *\n * @defaultValue `4`\n */\n rows?: number\n}\n\n/**\n * Default prop values for the TextArea component.\n *\n * @internal\n */\nexport const TextAreaDefaults = {\n isInvalid: false,\n isDisabled: false,\n rows: 4,\n} as const satisfies Partial<TextAreaProps>\n"],"names":["TextAreaDefaults"],"mappings":"AA2DO,MAAMA,IAAmB;AAAA,EAC9B,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,MAAM;AACR;"}
|
|
@@ -6,6 +6,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
|
|
|
6
6
|
* Renders a form field wrapping an `<input />` with a label, description, error message, and start/end adornment slots.
|
|
7
7
|
*
|
|
8
8
|
* @public
|
|
9
|
+
* @group Component Props
|
|
9
10
|
*/
|
|
10
11
|
export interface TextInputProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'>, Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'aria-labelledby'> {
|
|
11
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputTypes.js","sources":["../../../../../src/components/Common/UI/TextInput/TextInputTypes.ts"],"sourcesContent":["import type { Ref, InputHTMLAttributes } from 'react'\nimport type { InputProps } from '../Input/InputTypes'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextInput` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input />` with a label, description, error message, and start/end adornment slots.\n *\n * @public\n */\nexport interface TextInputProps\n extends\n SharedFieldLayoutProps,\n Pick<\n InputHTMLAttributes<HTMLInputElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'\n >,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'aria-labelledby'> {\n /**\n * React ref for the input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Current value of the input\n */\n value?: string\n /**\n * Callback when input value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the input and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Element to display at the start of the input\n */\n adornmentStart?: InputProps['adornmentStart']\n /**\n * Element to display at the end of the input\n */\n adornmentEnd?: InputProps['adornmentEnd']\n}\n\n/**\n * Default prop values for the TextInput component.\n *\n * @internal\n */\nexport const TextInputDefaults = {\n type: 'text',\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<TextInputProps>\n"],"names":["TextInputDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextInputTypes.js","sources":["../../../../../src/components/Common/UI/TextInput/TextInputTypes.ts"],"sourcesContent":["import type { Ref, InputHTMLAttributes } from 'react'\nimport type { InputProps } from '../Input/InputTypes'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextInput` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input />` with a label, description, error message, and start/end adornment slots.\n *\n * @public\n * @group Component Props\n */\nexport interface TextInputProps\n extends\n SharedFieldLayoutProps,\n Pick<\n InputHTMLAttributes<HTMLInputElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'\n >,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'aria-labelledby'> {\n /**\n * React ref for the input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Current value of the input\n */\n value?: string\n /**\n * Callback when input value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the input and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Element to display at the start of the input\n */\n adornmentStart?: InputProps['adornmentStart']\n /**\n * Element to display at the end of the input\n */\n adornmentEnd?: InputProps['adornmentEnd']\n}\n\n/**\n * Default prop values for the TextInput component.\n *\n * @internal\n */\nexport const TextInputDefaults = {\n type: 'text',\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<TextInputProps>\n"],"names":["TextInputDefaults"],"mappings":"AA8DO,MAAMA,IAAoB;AAAA,EAC/B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,YAAY;AACd;"}
|
|
@@ -9,13 +9,14 @@ import "@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror";
|
|
|
9
9
|
import "@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror";
|
|
10
10
|
import "@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror";
|
|
11
11
|
import "@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors";
|
|
12
|
+
import "dompurify";
|
|
13
|
+
import "../../../../contexts/LocaleProvider/useLocale.js";
|
|
12
14
|
import "../../../../shared/constants.js";
|
|
13
15
|
import "../../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
14
|
-
import "../../../../contexts/LoadingIndicatorProvider/useLoadingIndicator.js";
|
|
15
16
|
import { createCompoundContext as t } from "../../../Base/createCompoundContext.js";
|
|
16
|
-
const [
|
|
17
|
+
const [u, f] = t("CreateSignatoryContext");
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
f as CreateSignatoryProvider,
|
|
20
|
+
u as useCreateSignatory
|
|
20
21
|
};
|
|
21
22
|
//# sourceMappingURL=useCreateSignatory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\nexport type CreateSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title' | 'phone' | 'birthday'> &\n Pick<\n NonNullable<Signatory['homeAddress']>,\n 'street1' | 'street2' | 'city' | 'state' | 'zip'\n > & {\n ssn?: string\n }\n>\ntype CreateSignatoryContextType = {\n isPending: boolean\n currentSignatory?: Signatory\n}\n\nconst [useCreateSignatory, CreateSignatoryProvider] =\n createCompoundContext<CreateSignatoryContextType>('CreateSignatoryContext')\n\nexport { useCreateSignatory, CreateSignatoryProvider }\n"],"names":["useCreateSignatory","CreateSignatoryProvider","createCompoundContext"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCreateSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\nexport type CreateSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title' | 'phone' | 'birthday'> &\n Pick<\n NonNullable<Signatory['homeAddress']>,\n 'street1' | 'street2' | 'city' | 'state' | 'zip'\n > & {\n ssn?: string\n }\n>\ntype CreateSignatoryContextType = {\n isPending: boolean\n currentSignatory?: Signatory\n}\n\nconst [useCreateSignatory, CreateSignatoryProvider] =\n createCompoundContext<CreateSignatoryContextType>('CreateSignatoryContext')\n\nexport { useCreateSignatory, CreateSignatoryProvider }\n"],"names":["useCreateSignatory","CreateSignatoryProvider","createCompoundContext"],"mappings":";;;;;;;;;;;;;;;;AAkBA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
|
|
@@ -9,13 +9,14 @@ import "@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror";
|
|
|
9
9
|
import "@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror";
|
|
10
10
|
import "@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror";
|
|
11
11
|
import "@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors";
|
|
12
|
+
import "dompurify";
|
|
13
|
+
import "../../../../contexts/LocaleProvider/useLocale.js";
|
|
12
14
|
import "../../../../shared/constants.js";
|
|
13
15
|
import "../../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
14
|
-
import "../../../../contexts/LoadingIndicatorProvider/useLoadingIndicator.js";
|
|
15
16
|
import { createCompoundContext as t } from "../../../Base/createCompoundContext.js";
|
|
16
|
-
const [
|
|
17
|
+
const [d, s] = t("InviteSignatoryContext");
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
s as InviteSignatoryProvider,
|
|
20
|
+
d as useInviteSignatory
|
|
20
21
|
};
|
|
21
22
|
//# sourceMappingURL=useInviteSignatory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInviteSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\ntype InviteSignatoryContextType = {\n isPending: boolean\n}\n\nexport type InviteSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title'> & {\n confirmEmail: string\n }\n>\n\nconst [useInviteSignatory, InviteSignatoryProvider] =\n createCompoundContext<InviteSignatoryContextType>('InviteSignatoryContext')\n\nexport { useInviteSignatory, InviteSignatoryProvider }\n"],"names":["useInviteSignatory","InviteSignatoryProvider","createCompoundContext"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useInviteSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\ntype InviteSignatoryContextType = {\n isPending: boolean\n}\n\nexport type InviteSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title'> & {\n confirmEmail: string\n }\n>\n\nconst [useInviteSignatory, InviteSignatoryProvider] =\n createCompoundContext<InviteSignatoryContextType>('InviteSignatoryContext')\n\nexport { useInviteSignatory, InviteSignatoryProvider }\n"],"names":["useInviteSignatory","InviteSignatoryProvider","createCompoundContext"],"mappings":";;;;;;;;;;;;;;;;AAcA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
|