UNPKG

@niel-blanca/signature-pad

Version:

A lightweight and dependency-free Signature Pad built using the Canvas API with Vanilla JavaScript.

50 lines (41 loc) 1.64 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [1.2.0] - 2024-09-17 ### Added - Modern ES6+ module support with proper package.json configuration - Comprehensive TypeScript definitions for better developer experience - Enhanced build pipeline with esbuild optimization - Security vulnerability fixes - .npmignore file for cleaner package distribution - Full test coverage with Jest testing framework ### Enhanced - Smooth bezier curve drawing with pressure sensitivity - Touch and pointer events support for modern devices - Performance optimized canvas rendering - Method chaining support for fluent API - Extensive configuration options (15+ settings) - Multiple export formats (PNG, JPG, SVG, JSON) - Undo/redo system with configurable limits - Real-time field synchronization ### Fixed - ESLint module type warnings - esbuild security vulnerabilities - Package structure optimization for NPM distribution - TypeScript module declaration alignment with package name ### Developer Experience - Zero dependencies for lightweight integration - Comprehensive JSDoc documentation - Modern development tools (ESLint, Prettier, Jest) - Automated CI/CD pipeline - Method chaining for better API usability ## [1.1.0] - Previous Version ### Added - Basic signature pad functionality - Canvas drawing support - Export capabilities ## [1.0.0] - Initial Release ### Added - Initial signature pad implementation - Basic drawing features