@stratametriq/id-card-designer 1.17.1 → 1.17.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/README.md +18 -2
- package/dist/index.es.js +6011 -5838
- package/dist/index.js +102 -102
- package/package.json +1 -1
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.17.
|
|
5
|
+
> **Current release:** 1.17.2
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -11,7 +11,8 @@ A universal, dynamic, and highly customizable **ID Card Designer & Batch Print D
|
|
|
11
11
|
- [Overview](#overview)
|
|
12
12
|
- [Live Demo](#live-demo)
|
|
13
13
|
- [Pricing / License](#pricing--licensing-important)
|
|
14
|
-
- [What's New in v1.17.
|
|
14
|
+
- [What's New in v1.17.2](#whats-new-in-v1172)
|
|
15
|
+
- [What's New in v1.17.1](#whats-new-in-v171)
|
|
15
16
|
- [What's New in v1.17.0](#whats-new-in-v1170)
|
|
16
17
|
- [What's New in v1.16.0](#whats-new-in-v160)
|
|
17
18
|
- [What's New in v1.15.0](#whats-new-in-v150)
|
|
@@ -77,6 +78,21 @@ Free for personal projects, students, open-source initiatives, and non-profit or
|
|
|
77
78
|
|
|
78
79
|
---
|
|
79
80
|
|
|
81
|
+
## What's New in v1.17.2
|
|
82
|
+
- **🧠 Smart Session User Auto-Detection:**
|
|
83
|
+
- Automatically identifies the authenticated operator from browser storage (`localStorage`, `sessionStorage`), window globals (`window.currentUser`, `window.authUser`), and domain metadata.
|
|
84
|
+
- Added user prop aliases (`currentUser`, `user`, `authUser`, `sessionUser`), guaranteeing seamless integration regardless of which prop name host applications provide.
|
|
85
|
+
- Dynamically binds the active authenticated user (`Aabid Hussain Wani`) as the primary root Super Admin.
|
|
86
|
+
- **🚫 Complete Eradication of Dummy Mock Personas in Production:**
|
|
87
|
+
- Removed all hardcoded mock personas (*Maya Lin*, *Rahul Mehta*, *Carlos Mendez*, *Officer David Briggs*, *Evelyn Vance*) from the production user registry.
|
|
88
|
+
- In production mode, the user list starts with **only the authenticated logged-in operator** (`Team Users (1)`).
|
|
89
|
+
- Newly added operators created via `+ Add New User` now populate the directory cleanly without mock user clutter.
|
|
90
|
+
- Added `demoMode` prop (`demoMode={false}` by default): host apps and test harnesses can explicitly opt into mock personas for sandboxing if desired.
|
|
91
|
+
- **🔄 Automated IndexedDB Migration & Storage Sanitizer:**
|
|
92
|
+
- Built-in `sanitizeAndMigrateUsers` purges legacy dummy mock personas from browser IndexedDB (`ricd_users_v1`), updating existing installations automatically without requiring manual cache clears while preserving all user-created accounts.
|
|
93
|
+
- **📦 Public Exports:**
|
|
94
|
+
- Exported `DEFAULT_PRIMARY_ADMIN`, `isDemoPersona`, `detectSessionUser`, and `sanitizeAndMigrateUsers` from `@stratametriq/id-card-designer`.
|
|
95
|
+
|
|
80
96
|
## What's New in v1.17.1
|
|
81
97
|
- **👥 Team User Provisioning Cockpit & Granular Permission Editor:**
|
|
82
98
|
- Expanded `<RoleSwitcherModal />` with a full-featured operator management dashboard supporting **+ Add User**, **Edit User**, and **Delete User**.
|