@uniqode/card-templates 1.0.2 → 1.0.3
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/dist/card-layout-12.js +1 -1
- package/dist/card-layout-13.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/index.d.ts +9 -2
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -258,7 +258,7 @@ export interface CardData {
|
|
|
258
258
|
|
|
259
259
|
// ===== SOCIAL LINKS =====
|
|
260
260
|
social_links?: SocialLinks;
|
|
261
|
-
social_links_ordering?: string
|
|
261
|
+
social_links_ordering?: Record<string, string>; // Order of social links display (e.g., {"0": "facebook", "1": "twitter"})
|
|
262
262
|
|
|
263
263
|
// ===== STYLING & CUSTOMIZATION =====
|
|
264
264
|
customizations?: Customizations;
|
|
@@ -277,8 +277,9 @@ export interface CardData {
|
|
|
277
277
|
lead_attribute?: LeadAttribute;
|
|
278
278
|
lead_user_agreement?: boolean;
|
|
279
279
|
lead_user_agreement_attribute?: LeadUserAgreementAttribute;
|
|
280
|
-
name_in_lead_consent?: string;
|
|
280
|
+
name_in_lead_consent?: string; // 'card_owner_name' or 'master_organization_name'
|
|
281
281
|
consent_placeholder?: string; // Used for lead form consent text
|
|
282
|
+
master_organization_name?: string; // Master organization name for consent text
|
|
282
283
|
|
|
283
284
|
// Follow-up email
|
|
284
285
|
follow_up_email?: boolean;
|
|
@@ -509,8 +510,14 @@ export interface BaseCardConfig {
|
|
|
509
510
|
hidePoweredBy?: boolean;
|
|
510
511
|
/** Show animation frame for card exchange */
|
|
511
512
|
showAnimation?: boolean;
|
|
513
|
+
/** Enable card exchange animation */
|
|
514
|
+
enableAnimation?: boolean;
|
|
515
|
+
/** Enable success drawer (post-lead-collection feedback) */
|
|
516
|
+
enableSuccessDrawer?: boolean;
|
|
512
517
|
/** PWA preview mode (hides sticky buttons) */
|
|
513
518
|
pwaPreview?: boolean;
|
|
519
|
+
/** Preview mode (disables clicks, used by dashboard) */
|
|
520
|
+
previewMode?: boolean;
|
|
514
521
|
|
|
515
522
|
// Internal state (set programmatically)
|
|
516
523
|
/** Show "Connect" and "Create Now" buttons (after lead exchange) */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniqode/card-templates",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Universal Web Components library for digital business card templates. Framework-agnostic, customizable, and production-ready.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|