@stratametriq/id-card-designer 1.9.4 → 1.10.0

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A universal, dynamic, and highly customizable **ID Card Designer & Batch Print Dashboard** for React, Vue, Angular, and Vanilla JS.
4
4
 
5
- > **Current release:** 1.9.4
5
+ > **Current release:** 1.10.0
6
6
 
7
7
  ---
8
8
 
@@ -10,7 +10,7 @@ A universal, dynamic, and highly customizable **ID Card Designer & Batch Print D
10
10
 
11
11
  - [Overview](#overview)
12
12
  - [Live Demo](#live-demo)
13
- - [What's New in v1.9.4](#whats-new-in-v194)
13
+ - [What's New in v1.10.0](#whats-new-in-v1100)
14
14
  - [Features](#features)
15
15
  - [How It Works](#how-it-works)
16
16
  - [Import Data](#import-data)
@@ -50,6 +50,26 @@ You can launch a complete ID card design studio and batch print dashboard with j
50
50
 
51
51
  ---
52
52
 
53
+ ## What's New in v1.10.0
54
+ - **Brand & Security Watermark Suite:** Complete watermarking support for card templates, live canvas editing, previews, and batch print exports.
55
+ - **Multi-Mode Watermarks:** Brand / Security Text (`STRATAMETRIQ`, `OFFICIAL`, `SAMPLE`, `CONFIDENTIAL`, `DRAFT`), Custom Logo/Seal Uploads, and Repeating SVG Security Tiles.
56
+ - **Dynamic Placeholders:** Watermarks support live field bindings like `{{companyName}}` or `{{employeeId}}`.
57
+ - **Inspector Controls:** Opacity sliders (`3%`–`40%`), rotation angle dials (`-45°` to `45°`), color and font size controls.
58
+ - **Layer & Side Targeting:** Background (behind text/photo) vs. Overlay (top security layer) placement with side targeting (`all`, `front`, `back`).
59
+ - **300 DPI Export Integrity:** Watermarks export crisp in PDFs, thermal CR80 PVC prints, and PNGs while ensuring 100% barcode/QR optical scannability.
60
+
61
+ ---
62
+
63
+ ## What's New in v1.9.5
64
+ - **Multi-Mode Scannable QR Codes:** Added support for Dynamic Field Binding (with URL prefixes), Static URLs, and vCard 3.0 Digital Contact Cards (instant smartphone scan-to-save contacts).
65
+ - **Custom QR Colors & Error Correction Level (ECC):** Full foreground and background color pickers with selectable ECC levels (`L`, `M`, `Q`, `H`).
66
+ - **1-Click Blank Excel Template Generator:** Download clean, pre-formatted `.xlsx` spreadsheets matching the columns of any active department.
67
+ - **CR80 Thermal PVC Print Matrix Fix:** Accurate single-card sheet layout (`1 Col × 1 Row`, `54×86 mm`) calculations in the Live Sheet Grid Matrix.
68
+ - **Enhanced Text Wrapping & Auto-Shrink:** Intelligent text break-word handling for long addresses and multi-line descriptions.
69
+ - **Roster Monospace ID Badge Polish:** Added `whiteSpace: nowrap` to table ID badges in the Live Roster Directory.
70
+
71
+ ---
72
+
53
73
  ## What's New in v1.9.4
54
74
  - **Full Roster CRUD & IndexedDB Sync:** Added an interactive **"+ Add Record"** modal with integrated photo upload, an **"Edit Record"** modal for fixing details on the fly, individual row **"Delete"** with confirmation, and bulk **"Delete Selected"** actions—all synchronized with browser IndexedDB (`localforage`).
55
75
  - **Interactive Multi-Column Sorting:** 1-click column header sorting (Ascending / Descending) across Name & Avatar, Class/Designation, ID Number, Guardian/Department, and Contact Phone.
@@ -84,6 +104,7 @@ You can launch a complete ID card design studio and batch print dashboard with j
84
104
  - **🔳 QR Codes & Barcodes:** Generate dynamic, scannable QR codes (`qrcode`) and 1D Code 128 barcodes (`jsbarcode`) and bind them to record values such as admission numbers, employee IDs, URLs, or other unique identifiers.
85
105
  - **🏷️ Dynamic Field Placeholders:** Bind template elements to imported data (e.g., `ID: {{admissionNo}}`).
86
106
  - **🧠 Conditional Rendering:** Text elements can use JavaScript expressions for conditional output (e.g., `{{ department === 'HR' ? 'Red' : 'Blue' }}`).
107
+ - **🛡️ Brand & Security Watermark Suite:** Add customizable text watermarks (`STRATAMETRIQ`, `CONFIDENTIAL`, `SAMPLE`), uploaded brand seal logos, and repeating security tile patterns with live opacity, rotation, and layer controls.
87
108
  - **🔲 Smart Alignment Guides:** Snap elements to the center of the card or align them with other elements using visual color-coded guides (Purple for center, Red for edges).
88
109
  - **⌨️ Keyboard Shortcuts:** Navigate the editor faster using Undo/Redo (`Ctrl+Z`, `Ctrl+Y`), Duplicate (`Ctrl+C`, `Ctrl+V`), Delete, and Arrow Key nudging.
89
110
  ---
package/dist/index.css CHANGED
@@ -1499,4 +1499,17 @@ body, button, input, select, textarea {
1499
1499
  }
1500
1500
  .ricd-context-menu-item:hover {
1501
1501
  background: #f3f4f6;
1502
+ }
1503
+
1504
+ /* Watermark Layer Styling */
1505
+ .ricd-watermark-layer {
1506
+ position: absolute;
1507
+ top: 0;
1508
+ left: 0;
1509
+ width: 100%;
1510
+ height: 100%;
1511
+ pointer-events: none !important;
1512
+ user-select: none !important;
1513
+ overflow: hidden;
1514
+ box-sizing: border-box;
1502
1515
  }