easy-invoice-pdf/README.md
Vlad Sazonau 60cdb7d344
feat: Show/hide columns on pdf, add og image, tooltips + other improvements (#36)
* feat: enhance invoice form with new UI components and visibility controls

- Added Radix UI Switch and Tooltip components for improved interactivity
- Introduced field visibility toggles for invoice items
- Added input helper messages for better user guidance
- Updated schema to support new field visibility options
- Refined styling and responsiveness of form elements
- Improved tooltips and helper text across the invoice form

* feat: add comprehensive invoice field visibility controls and date formatting options

- Introduced granular field visibility switches for invoice items and sections
- Added support for multiple date format options
- Enhanced invoice form with dynamic field visibility toggles
- Updated PDF template to conditionally render fields based on visibility settings
- Improved date handling and formatting across invoice generation
- Added validation and helper messages for date-related fields
- Expanded schema to support more flexible invoice configuration

* refactor: update invoice PDF template column styles

- Replaced commented-out column width styles with flex-based layout
- Adjusted column width proportions for better table readability
- Simplified column width definition using flex properties

* chore: upd deps + minor fixes

* fix: improve net price validation error message

* refactor: improve invoice form field rendering and localization

- Reordered error and helper message rendering for better UX
- Added currency context to labels for clarity
- Updated input step and type attributes for improved validation
- Localized numeric inputs with toLocaleString for consistent formatting
- Made unit field optional in invoice item schema

* refactor: improve invoice PDF download and regeneration UX

- Replaced PDFDownloadLink with usePDF hook for better loading state management
- Added loading states and animations for PDF download and regeneration buttons
- Created a new RegenerateInvoiceButton component with improved error handling
- Simplified dynamic imports and component structure
- Enhanced user feedback during PDF generation process

* refactor: optimize imports and remove unused components in invoice page

* refactor: extract loading timeout constant for consistent UX
2025-02-10 22:25:47 +01:00

124 B

Tools we use