@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.48.2](https://github.com/Gusto/embedded-react-sdk/compare/v0.48.1...v0.48.2) (2026-06-17)
|
|
4
|
+
|
|
5
|
+
### Features & Enhancements
|
|
6
|
+
|
|
7
|
+
- **Employee:** export DocumentSigner sub-components from EmployeeOnboarding ([#2192](https://github.com/Gusto/embedded-react-sdk/issues/2192)) ([5749f99](https://github.com/Gusto/embedded-react-sdk/commit/5749f99d720bd7c0614d97bef8270020150b3ab5))
|
|
8
|
+
|
|
9
|
+
### Fixes
|
|
10
|
+
|
|
11
|
+
- **Payroll:** use EmptyData for PayrollList empty state ([#2189](https://github.com/Gusto/embedded-react-sdk/issues/2189)) ([ac0514a](https://github.com/Gusto/embedded-react-sdk/commit/ac0514a367445e308e128eeb688e1b6a381f992a))
|
|
12
|
+
- **TimeOff:** use empty data component for empty states ([#2188](https://github.com/Gusto/embedded-react-sdk/issues/2188)) ([890e155](https://github.com/Gusto/embedded-react-sdk/commit/890e15554306147ef042c5e753ef678ff81070c0))
|
|
13
|
+
|
|
14
|
+
### Chores & Maintenance
|
|
15
|
+
|
|
16
|
+
- add STANDALONE_PAGES routing to sdk-router (1/4) ([#2172](https://github.com/Gusto/embedded-react-sdk/issues/2172)) ([0442494](https://github.com/Gusto/embedded-react-sdk/commit/044249425647ccda5d3b1cc322262e163cc000f1))
|
|
17
|
+
- **deps-dev:** bump @storybook/react-vite from 10.4.4 to 10.4.6 ([#2185](https://github.com/Gusto/embedded-react-sdk/issues/2185)) ([6611fdc](https://github.com/Gusto/embedded-react-sdk/commit/6611fdc06e89c1e01f3029dbbe9310a1abfd5bff))
|
|
18
|
+
- **deps-dev:** bump @typescript-eslint/parser from 8.61.0 to 8.61.1 ([#2182](https://github.com/Gusto/embedded-react-sdk/issues/2182)) ([bd19b5f](https://github.com/Gusto/embedded-react-sdk/commit/bd19b5f89359252d92ffd5785e7ada92a093e880))
|
|
19
|
+
- **deps-dev:** bump @vitest/coverage-v8 from 4.1.8 to 4.1.9 ([#2183](https://github.com/Gusto/embedded-react-sdk/issues/2183)) ([e2174fa](https://github.com/Gusto/embedded-react-sdk/commit/e2174fa840b332f9bed3d10837e936e272f950ea))
|
|
20
|
+
- **deps-dev:** bump vitest from 4.1.8 to 4.1.9 ([#2184](https://github.com/Gusto/embedded-react-sdk/issues/2184)) ([0d1acf7](https://github.com/Gusto/embedded-react-sdk/commit/0d1acf744b7386cefa186825f74794170ee65fe7))
|
|
21
|
+
- **DocumentList:** unify empty and error states via EmptyData ([#2190](https://github.com/Gusto/embedded-react-sdk/issues/2190)) ([6324058](https://github.com/Gusto/embedded-react-sdk/commit/6324058d200a1b2a799dd59026743a454be847fa))
|
|
22
|
+
- export utility types, add TSDoc [@group](https://github.com/group) tags (2/4) ([#2173](https://github.com/Gusto/embedded-react-sdk/issues/2173)) ([75c3668](https://github.com/Gusto/embedded-react-sdk/commit/75c36685d8f562c4d270bc279a3115efba53e7b3))
|
|
23
|
+
- **tsdoc-backfill:** backfill Payroll ([#2181](https://github.com/Gusto/embedded-react-sdk/issues/2181)) ([32f226e](https://github.com/Gusto/embedded-react-sdk/commit/32f226e3f8284320dcf78f64d32bc492dc9579cb))
|
|
24
|
+
- **tsdoc-backfill:** backfill TimeOff ([#2179](https://github.com/Gusto/embedded-react-sdk/issues/2179)) ([e6d2c2b](https://github.com/Gusto/embedded-react-sdk/commit/e6d2c2b76d8041137346c4d675cc17dc85b366fa))
|
|
25
|
+
|
|
26
|
+
## [0.48.1](https://github.com/Gusto/embedded-react-sdk/compare/v0.48.0...v0.48.1) (2026-06-16)
|
|
27
|
+
|
|
28
|
+
### Fixes
|
|
29
|
+
|
|
30
|
+
- `Form` no longer enables native browser validation by default, so field-level validation and error messaging render consistently across browsers ([#2168](https://github.com/Gusto/embedded-react-sdk/issues/2168))
|
|
31
|
+
- `EmptyData` no longer falls back to a magnifying-glass illustration when none is provided ([#2169](https://github.com/Gusto/embedded-react-sdk/issues/2169))
|
|
32
|
+
|
|
33
|
+
### Chores & Maintenance
|
|
34
|
+
|
|
35
|
+
- Bump dev dependencies (`@playwright/test`, `@storybook/addon-a11y`, `@storybook/addon-docs`, `typescript-eslint`) and override transitive dependencies (`esbuild`, `js-yaml`, `markdown-it`, `uuid`, `@babel/core`) to clear security advisories ([#2155](https://github.com/Gusto/embedded-react-sdk/issues/2155), [#2152](https://github.com/Gusto/embedded-react-sdk/issues/2152), [#2154](https://github.com/Gusto/embedded-react-sdk/issues/2154), [#2153](https://github.com/Gusto/embedded-react-sdk/issues/2153), [#2156](https://github.com/Gusto/embedded-react-sdk/issues/2156), [#2157](https://github.com/Gusto/embedded-react-sdk/issues/2157), [#2159](https://github.com/Gusto/embedded-react-sdk/issues/2159), [#2162](https://github.com/Gusto/embedded-react-sdk/issues/2162), [#2163](https://github.com/Gusto/embedded-react-sdk/issues/2163), [#2166](https://github.com/Gusto/embedded-react-sdk/issues/2166))
|
|
36
|
+
|
|
3
37
|
## [0.48.0](https://github.com/Gusto/embedded-react-sdk/compare/v0.47.1...v0.48.0) (2026-06-15)
|
|
4
38
|
|
|
5
39
|
### Breaking Changes
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { jsxs as g, Fragment as h, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { EmptyData as f } from "../EmptyData/EmptyData.js";
|
|
3
|
-
import
|
|
3
|
+
import o from "./DocumentList.module.scss.js";
|
|
4
4
|
import { useComponentContext as x } from "../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
5
5
|
import { useDataView as C } from "../DataView/useDataView.js";
|
|
6
6
|
import { DataView as w } from "../DataView/DataView.js";
|
|
7
|
-
function
|
|
8
|
-
forms:
|
|
7
|
+
function z({
|
|
8
|
+
forms: s,
|
|
9
9
|
canSign: a = !0,
|
|
10
10
|
onRequestSign: m,
|
|
11
11
|
withError: c = !1,
|
|
12
12
|
label: d,
|
|
13
|
-
columnLabels:
|
|
14
|
-
statusLabels:
|
|
13
|
+
columnLabels: r,
|
|
14
|
+
statusLabels: n,
|
|
15
15
|
emptyStateLabel: l,
|
|
16
16
|
errorLabel: p
|
|
17
17
|
}) {
|
|
18
18
|
const e = x(), { ...u } = C({
|
|
19
|
-
data:
|
|
19
|
+
data: s,
|
|
20
20
|
columns: [
|
|
21
21
|
{
|
|
22
|
-
title:
|
|
22
|
+
title: r.form,
|
|
23
23
|
render: (i) => /* @__PURE__ */ g(h, { children: [
|
|
24
24
|
/* @__PURE__ */ t(e.Text, { weight: "medium", size: "sm", children: i.title }),
|
|
25
25
|
/* @__PURE__ */ t(e.Text, { variant: "supporting", size: "sm", children: i.description })
|
|
26
26
|
] })
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
title:
|
|
30
|
-
render: (i) => /* @__PURE__ */ t("div", { className:
|
|
29
|
+
title: r.action,
|
|
30
|
+
render: (i) => /* @__PURE__ */ t("div", { className: o.statusCell, children: i.requires_signing ? a ? /* @__PURE__ */ t(e.Button, { variant: "secondary", onClick: () => m?.(i), children: n.signCta }) : /* @__PURE__ */ t(e.Badge, { status: "warning", children: n.notSigned }) : /* @__PURE__ */ t(e.Badge, { status: "success", children: n.complete }) })
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
|
-
emptyState: () =>
|
|
33
|
+
emptyState: () => /* @__PURE__ */ t(f, { title: c ? p : l })
|
|
34
34
|
});
|
|
35
|
-
return /* @__PURE__ */ t("div", { className:
|
|
35
|
+
return /* @__PURE__ */ t("div", { className: o.documentList, children: /* @__PURE__ */ t(w, { label: d, ...u }) });
|
|
36
36
|
}
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
z as DocumentList
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=DocumentList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentList.js","sources":["../../../../src/components/Common/DocumentList/DocumentList.tsx"],"sourcesContent":["import { DataView, useDataView } from '../DataView'\nimport { EmptyData } from '../EmptyData/EmptyData'\nimport styles from './DocumentList.module.scss'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\n/** @internal */\nexport interface FormData {\n /** Unique identifier for the form. */\n uuid: string\n /** Display title shown in the list row. */\n title?: string\n /** Secondary description shown beneath the title. */\n description?: string\n /** Whether the form still requires a signature. */\n requires_signing?: boolean\n}\n\ninterface DocumentListProps {\n forms: FormData[]\n canSign?: boolean\n onRequestSign?: (form: FormData) => void\n withError?: boolean\n label: string\n columnLabels: {\n form: string\n action: string\n }\n statusLabels: {\n signCta: string\n notSigned: string\n complete: string\n }\n emptyStateLabel: string\n errorLabel: string\n}\n\n/** @internal */\nfunction DocumentList({\n forms,\n canSign = true,\n onRequestSign,\n withError = false,\n label,\n columnLabels,\n statusLabels,\n emptyStateLabel,\n errorLabel,\n}: DocumentListProps) {\n const Components = useComponentContext()\n const { ...dataViewProps } = useDataView({\n data: forms,\n columns: [\n {\n title: columnLabels.form,\n render: (form: FormData) => (\n <>\n <Components.Text weight=\"medium\" size=\"sm\">\n {form.title}\n </Components.Text>\n <Components.Text variant=\"supporting\" size=\"sm\">\n {form.description}\n </Components.Text>\n </>\n ),\n },\n {\n title: columnLabels.action,\n render: (form: FormData) => (\n <div className={styles.statusCell}>\n {form.requires_signing ? (\n canSign ? (\n <Components.Button variant=\"secondary\" onClick={() => onRequestSign?.(form)}>\n {statusLabels.signCta}\n </Components.Button>\n ) : (\n <Components.Badge status=\"warning\">{statusLabels.notSigned}</Components.Badge>\n )\n ) : (\n <Components.Badge status=\"success\">{statusLabels.complete}</Components.Badge>\n )}\n </div>\n ),\n },\n ],\n emptyState: ()
|
|
1
|
+
{"version":3,"file":"DocumentList.js","sources":["../../../../src/components/Common/DocumentList/DocumentList.tsx"],"sourcesContent":["import { DataView, useDataView } from '../DataView'\nimport { EmptyData } from '../EmptyData/EmptyData'\nimport styles from './DocumentList.module.scss'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\n/** @internal */\nexport interface FormData {\n /** Unique identifier for the form. */\n uuid: string\n /** Display title shown in the list row. */\n title?: string\n /** Secondary description shown beneath the title. */\n description?: string\n /** Whether the form still requires a signature. */\n requires_signing?: boolean\n}\n\ninterface DocumentListProps {\n forms: FormData[]\n canSign?: boolean\n onRequestSign?: (form: FormData) => void\n withError?: boolean\n label: string\n columnLabels: {\n form: string\n action: string\n }\n statusLabels: {\n signCta: string\n notSigned: string\n complete: string\n }\n emptyStateLabel: string\n errorLabel: string\n}\n\n/** @internal */\nfunction DocumentList({\n forms,\n canSign = true,\n onRequestSign,\n withError = false,\n label,\n columnLabels,\n statusLabels,\n emptyStateLabel,\n errorLabel,\n}: DocumentListProps) {\n const Components = useComponentContext()\n const { ...dataViewProps } = useDataView({\n data: forms,\n columns: [\n {\n title: columnLabels.form,\n render: (form: FormData) => (\n <>\n <Components.Text weight=\"medium\" size=\"sm\">\n {form.title}\n </Components.Text>\n <Components.Text variant=\"supporting\" size=\"sm\">\n {form.description}\n </Components.Text>\n </>\n ),\n },\n {\n title: columnLabels.action,\n render: (form: FormData) => (\n <div className={styles.statusCell}>\n {form.requires_signing ? (\n canSign ? (\n <Components.Button variant=\"secondary\" onClick={() => onRequestSign?.(form)}>\n {statusLabels.signCta}\n </Components.Button>\n ) : (\n <Components.Badge status=\"warning\">{statusLabels.notSigned}</Components.Badge>\n )\n ) : (\n <Components.Badge status=\"success\">{statusLabels.complete}</Components.Badge>\n )}\n </div>\n ),\n },\n ],\n emptyState: () => <EmptyData title={withError ? errorLabel : emptyStateLabel} />,\n })\n\n return (\n <div className={styles.documentList}>\n <DataView label={label} {...dataViewProps} />\n </div>\n )\n}\n\nexport { DocumentList }\n"],"names":["DocumentList","forms","canSign","onRequestSign","withError","label","columnLabels","statusLabels","emptyStateLabel","errorLabel","Components","useComponentContext","dataViewProps","useDataView","form","jsxs","Fragment","jsx","styles","EmptyData","DataView"],"mappings":";;;;;;AAqCA,SAASA,EAAa;AAAA,EACpB,OAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,eAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,cAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AACF,GAAsB;AACpB,QAAMC,IAAaC,EAAA,GACb,EAAE,GAAGC,EAAA,IAAkBC,EAAY;AAAA,IACvC,MAAMZ;AAAA,IACN,SAAS;AAAA,MACP;AAAA,QACE,OAAOK,EAAa;AAAA,QACpB,QAAQ,CAACQ,MACP,gBAAAC,EAAAC,GAAA,EACE,UAAA;AAAA,UAAA,gBAAAC,EAACP,EAAW,MAAX,EAAgB,QAAO,UAAS,MAAK,MACnC,YAAK,MAAA,CACR;AAAA,UACA,gBAAAO,EAACP,EAAW,MAAX,EAAgB,SAAQ,cAAa,MAAK,MACxC,UAAAI,EAAK,YAAA,CACR;AAAA,QAAA,EAAA,CACF;AAAA,MAAA;AAAA,MAGJ;AAAA,QACE,OAAOR,EAAa;AAAA,QACpB,QAAQ,CAACQ,wBACN,OAAA,EAAI,WAAWI,EAAO,YACpB,UAAAJ,EAAK,mBACJZ,IACE,gBAAAe,EAACP,EAAW,QAAX,EAAkB,SAAQ,aAAY,SAAS,MAAMP,IAAgBW,CAAI,GACvE,UAAAP,EAAa,SAChB,IAEA,gBAAAU,EAACP,EAAW,OAAX,EAAiB,QAAO,WAAW,UAAAH,EAAa,WAAU,IAG7D,gBAAAU,EAACP,EAAW,OAAX,EAAiB,QAAO,WAAW,UAAAH,EAAa,UAAS,EAAA,CAE9D;AAAA,MAAA;AAAA,IAEJ;AAAA,IAEF,YAAY,MAAM,gBAAAU,EAACE,KAAU,OAAOf,IAAYK,IAAaD,EAAA,CAAiB;AAAA,EAAA,CAC/E;AAED,SACE,gBAAAS,EAAC,OAAA,EAAI,WAAWC,EAAO,cACrB,4BAACE,GAAA,EAAS,OAAAf,GAAe,GAAGO,EAAA,CAAe,EAAA,CAC7C;AAEJ;"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
const t = "_documentList_y7zef_1", s = "_statusCell_y7zef_16", e =
|
|
1
|
+
const t = "_documentList_y7zef_1", s = "_statusCell_y7zef_16", e = {
|
|
2
2
|
documentList: t,
|
|
3
|
-
statusCell: s
|
|
4
|
-
documentListError: e
|
|
3
|
+
statusCell: s
|
|
5
4
|
};
|
|
6
5
|
export {
|
|
7
|
-
|
|
6
|
+
e as default,
|
|
8
7
|
t as documentList,
|
|
9
|
-
e as documentListError,
|
|
10
8
|
s as statusCell
|
|
11
9
|
};
|
|
12
10
|
//# sourceMappingURL=DocumentList.module.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentList.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentList.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { Flex as c } from "../Flex/Flex.js";
|
|
2
|
+
import { Flex as s } from "../Flex/Flex.js";
|
|
4
3
|
import e from "./EmptyData.module.scss.js";
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
n ? /* @__PURE__ */ t("span", { className: e.iconSlot, children: n }) : /* @__PURE__ */ t("img", { src: p, alt: r("icons.magnifyingGlass"), className: e.image }),
|
|
4
|
+
import { useComponentContext as l } from "../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
5
|
+
function f({ title: n, description: r, children: i, icon: m }) {
|
|
6
|
+
const { Text: a } = l();
|
|
7
|
+
return /* @__PURE__ */ t("div", { className: e.emptyData, "data-testid": "emptydata", children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "center", gap: 16, children: [
|
|
8
|
+
m && /* @__PURE__ */ t("span", { className: e.iconSlot, children: m }),
|
|
11
9
|
/* @__PURE__ */ o("div", { className: e.textContent, children: [
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
n && /* @__PURE__ */ t(a, { weight: "medium", textAlign: "center", children: n }),
|
|
11
|
+
r && /* @__PURE__ */ t(a, { size: "sm", variant: "supporting", textAlign: "center", children: r })
|
|
14
12
|
] }),
|
|
15
|
-
|
|
13
|
+
i && i
|
|
16
14
|
] }) });
|
|
17
15
|
}
|
|
18
16
|
export {
|
|
19
|
-
|
|
17
|
+
f as EmptyData
|
|
20
18
|
};
|
|
21
19
|
//# sourceMappingURL=EmptyData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyData.js","sources":["../../../../src/components/Common/EmptyData/EmptyData.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"EmptyData.js","sources":["../../../../src/components/Common/EmptyData/EmptyData.tsx"],"sourcesContent":["import { Flex } from '../Flex/Flex'\nimport styles from './EmptyData.module.scss'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\ntype EmptyDataProps = {\n title?: string\n description?: string\n children?: React.ReactNode\n /**\n * Optional illustration rendered above the title.\n */\n icon?: React.ReactNode\n}\n/** @internal */\nexport function EmptyData({ title, description, children, icon }: EmptyDataProps) {\n const { Text } = useComponentContext()\n return (\n <div className={styles.emptyData} data-testid=\"emptydata\">\n <Flex flexDirection=\"column\" alignItems=\"center\" gap={16}>\n {icon && <span className={styles.iconSlot}>{icon}</span>}\n <div className={styles.textContent}>\n {title && (\n <Text weight=\"medium\" textAlign=\"center\">\n {title}\n </Text>\n )}\n {description && (\n <Text size=\"sm\" variant=\"supporting\" textAlign=\"center\">\n {description}\n </Text>\n )}\n </div>\n {children && children}\n </Flex>\n </div>\n )\n}\n"],"names":["EmptyData","title","description","children","icon","Text","useComponentContext","jsx","styles","jsxs","Flex"],"mappings":";;;;AAcO,SAASA,EAAU,EAAE,OAAAC,GAAO,aAAAC,GAAa,UAAAC,GAAU,MAAAC,KAAwB;AAChF,QAAM,EAAE,MAAAC,EAAA,IAASC,EAAA;AACjB,SACE,gBAAAC,EAAC,OAAA,EAAI,WAAWC,EAAO,WAAW,eAAY,aAC5C,UAAA,gBAAAC,EAACC,GAAA,EAAK,eAAc,UAAS,YAAW,UAAS,KAAK,IACnD,UAAA;AAAA,IAAAN,KAAQ,gBAAAG,EAAC,QAAA,EAAK,WAAWC,EAAO,UAAW,UAAAJ,GAAK;AAAA,IACjD,gBAAAK,EAAC,OAAA,EAAI,WAAWD,EAAO,aACpB,UAAA;AAAA,MAAAP,uBACEI,GAAA,EAAK,QAAO,UAAS,WAAU,UAC7B,UAAAJ,GACH;AAAA,MAEDC,uBACEG,GAAA,EAAK,MAAK,MAAK,SAAQ,cAAa,WAAU,UAC5C,UAAAH,EAAA,CACH;AAAA,IAAA,GAEJ;AAAA,IACCC,KAAYA;AAAA,EAAA,EAAA,CACf,EAAA,CACF;AAEJ;"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
const t = "
|
|
1
|
+
const t = "_emptyData_1gh1i_1", o = "_textContent_1gh1i_11", n = "_iconSlot_1gh1i_19", e = {
|
|
2
2
|
emptyData: t,
|
|
3
|
-
textContent:
|
|
4
|
-
|
|
5
|
-
image: n,
|
|
6
|
-
iconSlot: _
|
|
3
|
+
textContent: o,
|
|
4
|
+
iconSlot: n
|
|
7
5
|
};
|
|
8
6
|
export {
|
|
9
|
-
|
|
7
|
+
e as default,
|
|
10
8
|
t as emptyData,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
e as textContent,
|
|
14
|
-
o as title
|
|
9
|
+
n as iconSlot,
|
|
10
|
+
o as textContent
|
|
15
11
|
};
|
|
16
12
|
//# sourceMappingURL=EmptyData.module.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyData.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EmptyData.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** @internal */
|
|
2
2
|
export type FormProps = React.FormHTMLAttributes<HTMLFormElement>;
|
|
3
3
|
/** @internal */
|
|
4
|
-
export declare const Form: ({ children, className, onSubmit, ...props }: FormProps) => import("react").JSX.Element;
|
|
4
|
+
export declare const Form: ({ children, className, onSubmit, noValidate, ...props }: FormProps) => import("react").JSX.Element;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import a from "classnames";
|
|
3
|
+
import p from "./Form.module.scss.js";
|
|
4
|
+
const u = ({ children: m, className: o, onSubmit: t, noValidate: s = !0, ...e }) => /* @__PURE__ */ f(
|
|
5
5
|
"form",
|
|
6
6
|
{
|
|
7
|
-
className:
|
|
7
|
+
className: a(p.form, o),
|
|
8
|
+
noValidate: s,
|
|
8
9
|
onSubmit: (r) => {
|
|
9
10
|
r.preventDefault(), t?.(r);
|
|
10
11
|
},
|
|
11
|
-
...
|
|
12
|
+
...e,
|
|
12
13
|
children: m
|
|
13
14
|
}
|
|
14
15
|
);
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
u as Form
|
|
17
18
|
};
|
|
18
19
|
//# sourceMappingURL=Form.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.js","sources":["../../../../src/components/Common/Form/Form.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport styles from './Form.module.scss'\n\n/** @internal */\nexport type FormProps = React.FormHTMLAttributes<HTMLFormElement>\n\n/** @internal */\nexport const Form = ({ children, className, onSubmit, ...props }: FormProps) => {\n return (\n <form\n className={classNames(styles.form, className)}\n onSubmit={e => {\n e.preventDefault()\n onSubmit?.(e)\n }}\n {...props}\n >\n {children}\n </form>\n )\n}\n"],"names":["Form","children","className","onSubmit","props","jsx","classNames","styles","e"],"mappings":";;;AAOO,MAAMA,IAAO,CAAC,EAAE,UAAAC,GAAU,WAAAC,GAAW,UAAAC,GAAU,GAAGC,
|
|
1
|
+
{"version":3,"file":"Form.js","sources":["../../../../src/components/Common/Form/Form.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport styles from './Form.module.scss'\n\n/** @internal */\nexport type FormProps = React.FormHTMLAttributes<HTMLFormElement>\n\n/** @internal */\nexport const Form = ({ children, className, onSubmit, noValidate = true, ...props }: FormProps) => {\n return (\n <form\n className={classNames(styles.form, className)}\n noValidate={noValidate}\n onSubmit={e => {\n e.preventDefault()\n onSubmit?.(e)\n }}\n {...props}\n >\n {children}\n </form>\n )\n}\n"],"names":["Form","children","className","onSubmit","noValidate","props","jsx","classNames","styles","e"],"mappings":";;;AAOO,MAAMA,IAAO,CAAC,EAAE,UAAAC,GAAU,WAAAC,GAAW,UAAAC,GAAU,YAAAC,IAAa,IAAM,GAAGC,QAExE,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAWC,EAAWC,EAAO,MAAMN,CAAS;AAAA,IAC5C,YAAAE;AAAA,IACA,UAAU,CAAAK,MAAK;AACb,MAAAA,EAAE,eAAA,GACFN,IAAWM,CAAC;AAAA,IACd;AAAA,IACC,GAAGJ;AAAA,IAEH,UAAAJ;AAAA,EAAA;AAAA;"}
|
|
@@ -7,6 +7,7 @@ import { InternalFieldLayoutProps, SharedFieldLayoutProps } from '../FieldLayout
|
|
|
7
7
|
* Alias of {@link SharedFieldLayoutProps} — exposed as a distinct name to mirror the horizontal layout used by these controls.
|
|
8
8
|
*
|
|
9
9
|
* @public
|
|
10
|
+
* @interface
|
|
10
11
|
*/
|
|
11
12
|
export type SharedHorizontalFieldLayoutProps = SharedFieldLayoutProps;
|
|
12
13
|
/**
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @group Utility Types
|
|
4
|
+
*/
|
|
2
5
|
export type PaginationItemsPerPage = 5 | 10 | 25 | 50;
|
|
3
6
|
/**
|
|
4
7
|
* Props your `PaginationControl` implementation must accept from the component adapter.
|
|
5
8
|
* Renders pagination controls for navigating between pages of results.
|
|
6
9
|
*
|
|
7
10
|
* @public
|
|
11
|
+
* @group Component Props
|
|
8
12
|
*/
|
|
9
|
-
export
|
|
13
|
+
export interface PaginationControlProps {
|
|
10
14
|
/** Navigate to the first page. */
|
|
11
15
|
handleFirstPage: () => void;
|
|
12
16
|
/** Navigate to the previous page. */
|
|
@@ -27,4 +31,4 @@ export type PaginationControlProps = {
|
|
|
27
31
|
itemsPerPage?: PaginationItemsPerPage;
|
|
28
32
|
/** Whether a page fetch is in progress. */
|
|
29
33
|
isFetching?: boolean;
|
|
30
|
-
}
|
|
34
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertTypes.js","sources":["../../../../../src/components/Common/UI/Alert/AlertTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Alert` implementation must accept from the component adapter.\n * Renders a status message with an optional dismiss action; used for errors, warnings, success confirmations, and informational messages.\n *\n * @public\n */\nexport interface AlertProps {\n /**\n * The visual status that the alert should convey\n *\n * @defaultValue `'info'`\n */\n status?: 'info' | 'success' | 'warning' | 'error'\n /**\n * The label text for the alert\n */\n label: string\n /**\n * Optional children to be rendered inside the alert\n */\n children?: ReactNode\n /**\n * Optional action node (e.g. a Button) rendered inline beside the label,\n * before the dismiss button. Use this for compact alerts that need a single\n * call-to-action next to the heading (e.g. a \"Review\" button summarising\n * details available in a modal). Multi-line supporting copy should still\n * pass through `children`.\n */\n action?: ReactNode\n /**\n * Optional custom icon component to override the default icon\n */\n icon?: ReactNode\n /**\n * CSS className to be applied\n */\n className?: string\n /**\n * Optional callback function called when the dismiss button is clicked\n */\n onDismiss?: () => void\n /**\n * Whether to disable scrolling the alert into view and focusing it on mount. Set to true when using inside modals.\n */\n disableScrollIntoView?: boolean\n}\n\n/**\n * Default prop values for Alert component.\n *\n * @internal\n */\nexport const AlertDefaults = {\n status: 'info',\n} as const satisfies Partial<AlertProps>\n"],"names":["AlertDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertTypes.js","sources":["../../../../../src/components/Common/UI/Alert/AlertTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Alert` implementation must accept from the component adapter.\n * Renders a status message with an optional dismiss action; used for errors, warnings, success confirmations, and informational messages.\n *\n * @public\n * @group Component Props\n */\nexport interface AlertProps {\n /**\n * The visual status that the alert should convey\n *\n * @defaultValue `'info'`\n */\n status?: 'info' | 'success' | 'warning' | 'error'\n /**\n * The label text for the alert\n */\n label: string\n /**\n * Optional children to be rendered inside the alert\n */\n children?: ReactNode\n /**\n * Optional action node (e.g. a Button) rendered inline beside the label,\n * before the dismiss button. Use this for compact alerts that need a single\n * call-to-action next to the heading (e.g. a \"Review\" button summarising\n * details available in a modal). Multi-line supporting copy should still\n * pass through `children`.\n */\n action?: ReactNode\n /**\n * Optional custom icon component to override the default icon\n */\n icon?: ReactNode\n /**\n * CSS className to be applied\n */\n className?: string\n /**\n * Optional callback function called when the dismiss button is clicked\n */\n onDismiss?: () => void\n /**\n * Whether to disable scrolling the alert into view and focusing it on mount. Set to true when using inside modals.\n */\n disableScrollIntoView?: boolean\n}\n\n/**\n * Default prop values for Alert component.\n *\n * @internal\n */\nexport const AlertDefaults = {\n status: 'info',\n} as const satisfies Partial<AlertProps>\n"],"names":["AlertDefaults"],"mappings":"AAuDO,MAAMA,IAAgB;AAAA,EAC3B,QAAQ;AACV;"}
|
|
@@ -4,6 +4,7 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
* Renders a small inline label for status, counts, or tags; optionally dismissible.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
9
|
export interface BadgeProps extends Pick<HTMLAttributes<HTMLSpanElement>, 'className' | 'id' | 'aria-label'> {
|
|
9
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadgeTypes.js","sources":["../../../../../src/components/Common/UI/Badge/BadgeTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Badge` implementation must accept from the component adapter.\n * Renders a small inline label for status, counts, or tags; optionally dismissible.\n *\n * @public\n */\nexport interface BadgeProps extends Pick<\n HTMLAttributes<HTMLSpanElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Content to be displayed inside the badge\n */\n children: ReactNode\n /**\n * Visual style variant of the badge\n *\n * @defaultValue `'info'`\n */\n status?: 'success' | 'warning' | 'error' | 'info'\n /**\n * Optional callback when the dismiss button is clicked. When provided, a dismiss button is rendered inside the badge.\n */\n onDismiss?: () => void\n /**\n * Accessible label for the dismiss button\n */\n dismissAriaLabel?: string\n /**\n * Whether the badge interaction is disabled\n */\n isDisabled?: boolean\n}\n\n/**\n * Default prop values for Badge component.\n *\n * @internal\n */\nexport const BadgeDefaults = {\n status: 'info',\n} as const satisfies Partial<BadgeProps>\n"],"names":["BadgeDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"BadgeTypes.js","sources":["../../../../../src/components/Common/UI/Badge/BadgeTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Badge` implementation must accept from the component adapter.\n * Renders a small inline label for status, counts, or tags; optionally dismissible.\n *\n * @public\n * @group Component Props\n */\nexport interface BadgeProps extends Pick<\n HTMLAttributes<HTMLSpanElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Content to be displayed inside the badge\n */\n children: ReactNode\n /**\n * Visual style variant of the badge\n *\n * @defaultValue `'info'`\n */\n status?: 'success' | 'warning' | 'error' | 'info'\n /**\n * Optional callback when the dismiss button is clicked. When provided, a dismiss button is rendered inside the badge.\n */\n onDismiss?: () => void\n /**\n * Accessible label for the dismiss button\n */\n dismissAriaLabel?: string\n /**\n * Whether the badge interaction is disabled\n */\n isDisabled?: boolean\n}\n\n/**\n * Default prop values for Badge component.\n *\n * @internal\n */\nexport const BadgeDefaults = {\n status: 'info',\n} as const satisfies Partial<BadgeProps>\n"],"names":["BadgeDefaults"],"mappings":"AA0CO,MAAMA,IAAgB;AAAA,EAC3B,QAAQ;AACV;"}
|
|
@@ -4,6 +4,7 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
* Renders a full-width notification banner with a colored header and body content area; used for prominent warnings and errors.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
9
|
export interface BannerProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className' | 'id' | 'aria-label'> {
|
|
9
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerTypes.js","sources":["../../../../../src/components/Common/UI/Banner/BannerTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Banner` implementation must accept from the component adapter.\n * Renders a full-width notification banner with a colored header and body content area; used for prominent warnings and errors.\n *\n * @public\n */\nexport interface BannerProps extends Pick<\n HTMLAttributes<HTMLDivElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Title content displayed in the colored header section\n */\n title: ReactNode\n /**\n * Content to be displayed in the main content area\n */\n children: ReactNode\n /**\n * Visual status variant of the banner\n *\n * @defaultValue `'warning'`\n */\n status?: 'warning' | 'error'\n}\n\n/**\n * Default prop values for Banner component.\n *\n * @internal\n */\nexport const BannerDefaults = {\n status: 'warning',\n} as const satisfies Partial<BannerProps>\n"],"names":["BannerDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"BannerTypes.js","sources":["../../../../../src/components/Common/UI/Banner/BannerTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Banner` implementation must accept from the component adapter.\n * Renders a full-width notification banner with a colored header and body content area; used for prominent warnings and errors.\n *\n * @public\n * @group Component Props\n */\nexport interface BannerProps extends Pick<\n HTMLAttributes<HTMLDivElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Title content displayed in the colored header section\n */\n title: ReactNode\n /**\n * Content to be displayed in the main content area\n */\n children: ReactNode\n /**\n * Visual status variant of the banner\n *\n * @defaultValue `'warning'`\n */\n status?: 'warning' | 'error'\n}\n\n/**\n * Default prop values for Banner component.\n *\n * @internal\n */\nexport const BannerDefaults = {\n status: 'warning',\n} as const satisfies Partial<BannerProps>\n"],"names":["BannerDefaults"],"mappings":"AAkCO,MAAMA,IAAiB;AAAA,EAC5B,QAAQ;AACV;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoxHeaderTypes.js","sources":["../../../../../src/components/Common/UI/BoxHeader/BoxHeaderTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `BoxHeader` implementation must accept from the component adapter.\n * Renders the header section of a Box, combining a title, optional description, and an optional inline action slot.\n *\n * @public\n */\nexport interface BoxHeaderProps {\n /**\n * Title content rendered as the heading.\n */\n title: ReactNode\n /**\n * Optional supporting description rendered below the title.\n */\n description?: ReactNode\n /**\n * Optional action content (e.g. a Button) rendered inline opposite the title.\n */\n action?: ReactNode\n /**\n * Semantic heading level for the title. Defaults to `h3`.\n *\n * @defaultValue `'h3'`\n */\n headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\n}\n\n/**\n * Default prop values for BoxHeader component.\n *\n * @internal\n */\nexport const BoxHeaderDefaults = {\n headingLevel: 'h3',\n} as const satisfies Partial<BoxHeaderProps>\n"],"names":["BoxHeaderDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"BoxHeaderTypes.js","sources":["../../../../../src/components/Common/UI/BoxHeader/BoxHeaderTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `BoxHeader` implementation must accept from the component adapter.\n * Renders the header section of a Box, combining a title, optional description, and an optional inline action slot.\n *\n * @public\n * @group Component Props\n */\nexport interface BoxHeaderProps {\n /**\n * Title content rendered as the heading.\n */\n title: ReactNode\n /**\n * Optional supporting description rendered below the title.\n */\n description?: ReactNode\n /**\n * Optional action content (e.g. a Button) rendered inline opposite the title.\n */\n action?: ReactNode\n /**\n * Semantic heading level for the title. Defaults to `h3`.\n *\n * @defaultValue `'h3'`\n */\n headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\n}\n\n/**\n * Default prop values for BoxHeader component.\n *\n * @internal\n */\nexport const BoxHeaderDefaults = {\n headingLevel: 'h3',\n} as const satisfies Partial<BoxHeaderProps>\n"],"names":["BoxHeaderDefaults"],"mappings":"AAmCO,MAAMA,IAAoB;AAAA,EAC/B,cAAc;AAChB;"}
|
|
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
* Single entry in a {@link BreadcrumbsProps | Breadcrumbs} trail.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
|
+
* @group Utility Types
|
|
6
7
|
*/
|
|
7
8
|
export interface Breadcrumb {
|
|
8
9
|
/**
|
|
@@ -24,6 +25,7 @@ export interface Breadcrumb {
|
|
|
24
25
|
* Renders a navigation breadcrumb trail showing the user's position in a multi-step flow.
|
|
25
26
|
*
|
|
26
27
|
* @public
|
|
28
|
+
* @group Component Props
|
|
27
29
|
*/
|
|
28
30
|
export interface BreadcrumbsProps {
|
|
29
31
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BreadcrumbsTypes.js","sources":["../../../../../src/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Single entry in a {@link BreadcrumbsProps | Breadcrumbs} trail.\n *\n * @public\n */\nexport interface Breadcrumb {\n /**\n * Unique identifier for the breadcrumb. Matches against `currentBreadcrumbId` and is passed to `onClick`.\n */\n id: string\n /**\n * Display content rendered for the breadcrumb.\n */\n label: ReactNode\n /**\n * When false, the breadcrumb is rendered as plain text even if onClick is provided.\n * Defaults to true.\n */\n isClickable?: boolean\n}\n/**\n * Props your `Breadcrumbs` implementation must accept from the component adapter.\n * Renders a navigation breadcrumb trail showing the user's position in a multi-step flow.\n *\n * @public\n */\nexport interface BreadcrumbsProps {\n /**\n * Array of breadcrumbs\n */\n breadcrumbs: Breadcrumb[]\n /**\n * Current breadcrumb id\n */\n currentBreadcrumbId?: string\n /**\n * Accessibility label for the breadcrumbs\n *\n * @defaultValue `'Breadcrumbs'`\n */\n 'aria-label'?: string\n /**\n * Additional CSS class name for the breadcrumbs container\n */\n className?: string\n /**\n * Event handler for breadcrumb navigation\n */\n onClick?: (id: string) => void\n /**\n * Passed to the breadcrumbs when the container size is small (640px and below)\n * At this size, the breadcrumb typically does not have sufficient size to render\n * completely. In our implementation, we switch to a condensed mobile version of\n * the breadcrumbs\n *\n * @defaultValue `false`\n */\n isSmallContainer?: boolean\n}\n\n/**\n * Default prop values for Breadcrumbs component.\n *\n * @internal\n */\nexport const BreadcrumbsDefaults = {\n isSmallContainer: false,\n 'aria-label': 'Breadcrumbs',\n} as const satisfies Partial<BreadcrumbsProps>\n"],"names":["BreadcrumbsDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"BreadcrumbsTypes.js","sources":["../../../../../src/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Single entry in a {@link BreadcrumbsProps | Breadcrumbs} trail.\n *\n * @public\n * @group Utility Types\n */\nexport interface Breadcrumb {\n /**\n * Unique identifier for the breadcrumb. Matches against `currentBreadcrumbId` and is passed to `onClick`.\n */\n id: string\n /**\n * Display content rendered for the breadcrumb.\n */\n label: ReactNode\n /**\n * When false, the breadcrumb is rendered as plain text even if onClick is provided.\n * Defaults to true.\n */\n isClickable?: boolean\n}\n/**\n * Props your `Breadcrumbs` implementation must accept from the component adapter.\n * Renders a navigation breadcrumb trail showing the user's position in a multi-step flow.\n *\n * @public\n * @group Component Props\n */\nexport interface BreadcrumbsProps {\n /**\n * Array of breadcrumbs\n */\n breadcrumbs: Breadcrumb[]\n /**\n * Current breadcrumb id\n */\n currentBreadcrumbId?: string\n /**\n * Accessibility label for the breadcrumbs\n *\n * @defaultValue `'Breadcrumbs'`\n */\n 'aria-label'?: string\n /**\n * Additional CSS class name for the breadcrumbs container\n */\n className?: string\n /**\n * Event handler for breadcrumb navigation\n */\n onClick?: (id: string) => void\n /**\n * Passed to the breadcrumbs when the container size is small (640px and below)\n * At this size, the breadcrumb typically does not have sufficient size to render\n * completely. In our implementation, we switch to a condensed mobile version of\n * the breadcrumbs\n *\n * @defaultValue `false`\n */\n isSmallContainer?: boolean\n}\n\n/**\n * Default prop values for Breadcrumbs component.\n *\n * @internal\n */\nexport const BreadcrumbsDefaults = {\n isSmallContainer: false,\n 'aria-label': 'Breadcrumbs',\n} as const satisfies Partial<BreadcrumbsProps>\n"],"names":["BreadcrumbsDefaults"],"mappings":"AAqEO,MAAMA,IAAsB;AAAA,EACjC,kBAAkB;AAAA,EAClB,cAAc;AAChB;"}
|
|
@@ -4,6 +4,7 @@ import { Ref, ButtonHTMLAttributes, ReactNode, FocusEvent } from 'react';
|
|
|
4
4
|
* Renders an HTML button (`<button>`) with primary, secondary, tertiary, and error variants, a loading state, and an optional leading icon.
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
|
+
* @group Component Props
|
|
7
8
|
*/
|
|
8
9
|
export interface ButtonProps extends Pick<ButtonHTMLAttributes<HTMLButtonElement>, 'name' | 'id' | 'className' | 'type' | 'onClick' | 'onKeyDown' | 'onKeyUp' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'form' | 'title' | 'tabIndex'> {
|
|
9
10
|
/**
|
|
@@ -50,13 +51,14 @@ export interface ButtonProps extends Pick<ButtonHTMLAttributes<HTMLButtonElement
|
|
|
50
51
|
* Renders an icon-only `<button>`; requires `aria-label` since there is no visible text for assistive technologies.
|
|
51
52
|
*
|
|
52
53
|
* @public
|
|
54
|
+
* @group Component Props
|
|
53
55
|
*/
|
|
54
|
-
export
|
|
56
|
+
export interface ButtonIconProps extends ButtonProps {
|
|
55
57
|
/**
|
|
56
58
|
* Required aria-label for icon buttons to ensure accessibility
|
|
57
59
|
*/
|
|
58
60
|
'aria-label': string;
|
|
59
|
-
}
|
|
61
|
+
}
|
|
60
62
|
/**
|
|
61
63
|
* Default prop values for Button component.
|
|
62
64
|
* These are used by the component adapter to automatically provide defaults.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonTypes.js","sources":["../../../../../src/components/Common/UI/Button/ButtonTypes.ts"],"sourcesContent":["import type { Ref, ButtonHTMLAttributes, ReactNode, FocusEvent } from 'react'\n\n/**\n * Props your `Button` implementation must accept from the component adapter.\n * Renders an HTML button (`<button>`) with primary, secondary, tertiary, and error variants, a loading state, and an optional leading icon.\n *\n * @public\n */\nexport interface ButtonProps extends Pick<\n ButtonHTMLAttributes<HTMLButtonElement>,\n | 'name'\n | 'id'\n | 'className'\n | 'type'\n | 'onClick'\n | 'onKeyDown'\n | 'onKeyUp'\n | 'aria-label'\n | 'aria-labelledby'\n | 'aria-describedby'\n | 'form'\n | 'title'\n | 'tabIndex'\n> {\n /**\n * React ref for the button element\n */\n buttonRef?: Ref<HTMLButtonElement>\n /**\n * Visual style variant of the button\n *\n * @defaultValue `'primary'`\n */\n variant?: 'primary' | 'secondary' | 'tertiary' | 'error'\n /**\n * Shows a loading spinner and disables the button\n *\n * @defaultValue `false`\n */\n isLoading?: boolean\n /**\n * Disables the button and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Optional leading icon rendered before children\n */\n icon?: ReactNode\n /**\n * Content to be rendered inside the button\n */\n children?: ReactNode\n /**\n * Handler for blur events\n */\n onBlur?: (e: FocusEvent) => void\n /**\n * Handler for focus events\n */\n onFocus?: (e: FocusEvent) => void\n}\n\n/**\n * Props your `ButtonIcon` implementation must accept from the component adapter.\n * Renders an icon-only `<button>`; requires `aria-label` since there is no visible text for assistive technologies.\n *\n * @public\n */\nexport
|
|
1
|
+
{"version":3,"file":"ButtonTypes.js","sources":["../../../../../src/components/Common/UI/Button/ButtonTypes.ts"],"sourcesContent":["import type { Ref, ButtonHTMLAttributes, ReactNode, FocusEvent } from 'react'\n\n/**\n * Props your `Button` implementation must accept from the component adapter.\n * Renders an HTML button (`<button>`) with primary, secondary, tertiary, and error variants, a loading state, and an optional leading icon.\n *\n * @public\n * @group Component Props\n */\nexport interface ButtonProps extends Pick<\n ButtonHTMLAttributes<HTMLButtonElement>,\n | 'name'\n | 'id'\n | 'className'\n | 'type'\n | 'onClick'\n | 'onKeyDown'\n | 'onKeyUp'\n | 'aria-label'\n | 'aria-labelledby'\n | 'aria-describedby'\n | 'form'\n | 'title'\n | 'tabIndex'\n> {\n /**\n * React ref for the button element\n */\n buttonRef?: Ref<HTMLButtonElement>\n /**\n * Visual style variant of the button\n *\n * @defaultValue `'primary'`\n */\n variant?: 'primary' | 'secondary' | 'tertiary' | 'error'\n /**\n * Shows a loading spinner and disables the button\n *\n * @defaultValue `false`\n */\n isLoading?: boolean\n /**\n * Disables the button and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Optional leading icon rendered before children\n */\n icon?: ReactNode\n /**\n * Content to be rendered inside the button\n */\n children?: ReactNode\n /**\n * Handler for blur events\n */\n onBlur?: (e: FocusEvent) => void\n /**\n * Handler for focus events\n */\n onFocus?: (e: FocusEvent) => void\n}\n\n/**\n * Props your `ButtonIcon` implementation must accept from the component adapter.\n * Renders an icon-only `<button>`; requires `aria-label` since there is no visible text for assistive technologies.\n *\n * @public\n * @group Component Props\n */\nexport interface ButtonIconProps extends ButtonProps {\n /**\n * Required aria-label for icon buttons to ensure accessibility\n */\n 'aria-label': string\n}\n\n/**\n * Default prop values for Button component.\n * These are used by the component adapter to automatically provide defaults.\n *\n * @internal\n */\nexport const ButtonDefaults = {\n variant: 'primary',\n isLoading: false,\n isDisabled: false,\n} as const satisfies Partial<ButtonProps>\n\n/**\n * Default prop values for ButtonIcon component.\n *\n * @internal\n */\nexport const ButtonIconDefaults = {\n variant: 'tertiary',\n isLoading: false,\n isDisabled: false,\n} as const satisfies Partial<ButtonIconProps>\n"],"names":["ButtonDefaults","ButtonIconDefaults"],"mappings":"AAqFO,MAAMA,IAAiB;AAAA,EAC5B,SAAS;AAAA,EACT,WAAW;AAAA,EACX,YAAY;AACd,GAOaC,IAAqB;AAAA,EAChC,SAAS;AAAA,EACT,WAAW;AAAA,EACX,YAAY;AACd;"}
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* Renders a read-only calendar display for visualizing a date range with optional highlighted dates.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
|
+
* @group Component Props
|
|
6
7
|
*/
|
|
7
|
-
export
|
|
8
|
+
export interface CalendarPreviewProps {
|
|
8
9
|
/**
|
|
9
10
|
* Array of dates to highlight with custom colors and labels
|
|
10
11
|
*/
|
|
@@ -39,4 +40,4 @@ export type CalendarPreviewProps = {
|
|
|
39
40
|
*/
|
|
40
41
|
label: string;
|
|
41
42
|
};
|
|
42
|
-
}
|
|
43
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Flex as
|
|
4
|
-
import
|
|
5
|
-
function
|
|
6
|
-
return /* @__PURE__ */ r("div", { className:
|
|
1
|
+
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import s from "classnames";
|
|
3
|
+
import { Flex as a } from "../../Flex/Flex.js";
|
|
4
|
+
import d from "./Card.module.scss.js";
|
|
5
|
+
function p({ children: t, menu: i, className: c, action: e }) {
|
|
6
|
+
return /* @__PURE__ */ r("div", { className: s(d.cardContainer, c), "data-testid": "data-card", children: /* @__PURE__ */ o(a, { flexDirection: "row", gap: 8, children: [
|
|
7
7
|
e && /* @__PURE__ */ r("div", { children: e }),
|
|
8
|
-
/* @__PURE__ */ r("div", {
|
|
8
|
+
/* @__PURE__ */ r("div", { className: d.cardBody, children: /* @__PURE__ */ r(a, { flexDirection: "column", alignItems: "stretch", gap: 16, children: t }) }),
|
|
9
9
|
i && /* @__PURE__ */ r("div", { children: i })
|
|
10
10
|
] }) });
|
|
11
11
|
}
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
p as Card
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":["../../../../../src/components/Common/UI/Card/Card.tsx"],"sourcesContent":["import cn from 'classnames'\nimport { Flex } from '../../Flex/Flex'\nimport styles from './Card.module.scss'\nimport { type CardProps } from '@/components/Common/UI/Card/CardTypes'\n\n/**\n * Renders a content card with optional left-side action element and right-side menu.\n *\n * @param props - The {@link CardProps} controlling the card's content, optional action, and optional menu.\n * @returns The rendered card element.\n * @internal\n */\nexport function Card({ children, menu, className, action }: CardProps) {\n return (\n <div className={cn(styles.cardContainer, className)} data-testid=\"data-card\">\n <Flex flexDirection=\"row\" gap={8}>\n {action && <div>{action}</div>}\n <div
|
|
1
|
+
{"version":3,"file":"Card.js","sources":["../../../../../src/components/Common/UI/Card/Card.tsx"],"sourcesContent":["import cn from 'classnames'\nimport { Flex } from '../../Flex/Flex'\nimport styles from './Card.module.scss'\nimport { type CardProps } from '@/components/Common/UI/Card/CardTypes'\n\n/**\n * Renders a content card with optional left-side action element and right-side menu.\n *\n * @param props - The {@link CardProps} controlling the card's content, optional action, and optional menu.\n * @returns The rendered card element.\n * @internal\n */\nexport function Card({ children, menu, className, action }: CardProps) {\n return (\n <div className={cn(styles.cardContainer, className)} data-testid=\"data-card\">\n <Flex flexDirection=\"row\" gap={8}>\n {action && <div>{action}</div>}\n <div className={styles.cardBody}>\n <Flex flexDirection=\"column\" alignItems=\"stretch\" gap={16}>\n {children}\n </Flex>\n </div>\n {menu && <div>{menu}</div>}\n </Flex>\n </div>\n )\n}\n"],"names":["Card","children","menu","className","action","jsx","cn","styles","jsxs","Flex"],"mappings":";;;;AAYO,SAASA,EAAK,EAAE,UAAAC,GAAU,MAAAC,GAAM,WAAAC,GAAW,QAAAC,KAAqB;AACrE,SACE,gBAAAC,EAAC,OAAA,EAAI,WAAWC,EAAGC,EAAO,eAAeJ,CAAS,GAAG,eAAY,aAC/D,UAAA,gBAAAK,EAACC,GAAA,EAAK,eAAc,OAAM,KAAK,GAC5B,UAAA;AAAA,IAAAL,KAAU,gBAAAC,EAAC,SAAK,UAAAD,EAAA,CAAO;AAAA,IACxB,gBAAAC,EAAC,OAAA,EAAI,WAAWE,EAAO,UACrB,UAAA,gBAAAF,EAACI,GAAA,EAAK,eAAc,UAAS,YAAW,WAAU,KAAK,IACpD,UAAAR,GACH,GACF;AAAA,IACCC,KAAQ,gBAAAG,EAAC,OAAA,EAAK,UAAAH,EAAA,CAAK;AAAA,EAAA,EAAA,CACtB,EAAA,CACF;AAEJ;"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
const a = "
|
|
2
|
-
cardContainer: a
|
|
1
|
+
const a = "_cardContainer_1mmh1_1", d = "_cardBody_1mmh1_10", o = {
|
|
2
|
+
cardContainer: a,
|
|
3
|
+
cardBody: d
|
|
3
4
|
};
|
|
4
5
|
export {
|
|
6
|
+
d as cardBody,
|
|
5
7
|
a as cardContainer,
|
|
6
|
-
|
|
8
|
+
o as default
|
|
7
9
|
};
|
|
8
10
|
//# sourceMappingURL=Card.module.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -5,6 +5,7 @@ import { SharedHorizontalFieldLayoutProps } from '../../HorizontalFieldLayout/Ho
|
|
|
5
5
|
* Renders a form field wrapping an `<input type="checkbox" />` with a label, optional description, and error message.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
|
+
* @group Component Props
|
|
8
9
|
*/
|
|
9
10
|
export interface CheckboxProps extends SharedHorizontalFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className'> {
|
|
10
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxTypes.js","sources":["../../../../../src/components/Common/UI/Checkbox/CheckboxTypes.ts"],"sourcesContent":["import type { InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Checkbox` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"checkbox\" />` with a label, optional description, and error message.\n *\n * @public\n */\nexport interface CheckboxProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className'> {\n /**\n * Current checked state of the checkbox\n */\n value?: boolean\n /**\n * Callback when checkbox state changes\n */\n onChange?: (value: boolean) => void\n /**\n * React ref for the checkbox input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates if the checkbox is in an invalid state\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the checkbox and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n}\n\n/**\n * Default prop values for Checkbox component.\n *\n * @internal\n */\nexport const CheckboxDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<CheckboxProps>\n"],"names":["CheckboxDefaults"],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckboxTypes.js","sources":["../../../../../src/components/Common/UI/Checkbox/CheckboxTypes.ts"],"sourcesContent":["import type { InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Checkbox` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"checkbox\" />` with a label, optional description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface CheckboxProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className'> {\n /**\n * Current checked state of the checkbox\n */\n value?: boolean\n /**\n * Callback when checkbox state changes\n */\n onChange?: (value: boolean) => void\n /**\n * React ref for the checkbox input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates if the checkbox is in an invalid state\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the checkbox and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n}\n\n/**\n * Default prop values for Checkbox component.\n *\n * @internal\n */\nexport const CheckboxDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<CheckboxProps>\n"],"names":["CheckboxDefaults"],"mappings":"AAiDO,MAAMA,IAAmB;AAAA,EAC9B,WAAW;AAAA,EACX,YAAY;AACd;"}
|