Commit Graph

7 Commits

Author SHA1 Message Date
e2e6170f52 Fix SVG centering issue in standalone bundle
- Fixed image and white box positioning in SVG QR codes
- Updated coordinate calculations to account for QR code margin
- Changed from centering in entire 33x33 area to centering in QR data area (29x29)
- Reduced margin around image from 2 to 1 units for better proportions
- Added test file to verify centering fix
- Rebuilt standalone bundle with fix
2025-08-01 17:31:09 -05:00
b116fe7b4c Upgrade Vite to 6.3.5 to fix security vulnerabilities
- Updated from Vite 5.4.19 to 6.3.5
- Fixed esbuild vulnerability (GHSA-67mh-4wv8-2f99)
- Resolved moderate severity security issues
- All vulnerabilities now resolved (npm audit shows 0 vulnerabilities)
- Maintains compatibility with existing configuration
2025-08-01 17:26:58 -05:00
0dcfdeb9e5 Add comprehensive standalone bundle documentation to README
- Added detailed standalone bundle section with usage examples
- Included browser (IIFE), ES module, and Node.js (UMD) examples
- Documented bundle features and use cases
- Updated project structure to include new files
- Added build script documentation
- Referenced complete example and detailed documentation
2025-08-01 17:21:10 -05:00
874f3c4412 Add standalone bundle for qrCodeUtils with all dependencies
- Created vite.standalone.config.js for optimized bundle building
- Added build scripts for standalone bundle generation
- Generated three formats: IIFE (28KB), UMD (28KB), ES Module (61KB)
- Includes all dependencies: qrcode and imagetracer
- Added comprehensive documentation and examples
- Created build script with detailed bundle information
- Added terser for minification optimization
- Fixed package.json dependencies and scripts
2025-08-01 17:17:36 -05:00
de188fb77a Add ImageTracer integration and precise coordinate system for bitmap vectorization
- Integrated ImageTracer npm package for bitmap-to-vector conversion
- Fixed coordinate system to use 33x33 QR code coordinate space
- Implemented precise decimal coordinates for perfect centering
- Added custom bitmap-to-vector conversion as fallback
- Fixed white box and image positioning alignment
- Added comprehensive debugging and error handling
2025-08-01 17:01:23 -05:00
3f743e567b Add dist directory and Accenture SVG logo
- Added production build files in dist/ directory
- Added custom Accenture arrow SVG logo (src/acn.svg)
- Updated .gitignore file
- SVG optimized with compact viewBox and purple color (#a600ff)
2025-07-31 19:25:28 -05:00
7fdb20dee0 Initial commit: QR Code Generator with custom image support
- React + Vite project setup
- QR code generation using qrcode library
- Textarea input for QR code content
- Custom image/SVG upload functionality
- Adjustable image size with slider control
- Modern UI with dark/light mode support
- Real-time QR code generation
- Responsive design for all screen sizes
2025-07-31 19:01:13 -05:00