@mohasinac/appkit 2.7.23 → 2.7.24

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.
Files changed (40) hide show
  1. package/dist/features/auth/consent-otp.js +8 -8
  2. package/dist/features/auth/permissions/constants.d.ts +1 -1
  3. package/dist/features/auth/permissions/constants.js +2 -0
  4. package/dist/features/before-after/messages/en.json +7 -7
  5. package/dist/features/collections/messages/en.json +9 -9
  6. package/dist/features/consultation/messages/en.json +24 -24
  7. package/dist/features/contact/email.js +179 -179
  8. package/dist/features/corporate/messages/en.json +25 -25
  9. package/dist/features/loyalty/messages/en.json +18 -18
  10. package/dist/features/media/messages/en.json +63 -63
  11. package/dist/features/pre-orders/messages/en.json +12 -12
  12. package/dist/features/whatsapp-bot/messages/en.json +6 -6
  13. package/dist/styles.css +21 -21
  14. package/dist/tokens/tokens.css +436 -436
  15. package/dist/ui/components/ActiveFilterChips.style.css +66 -66
  16. package/dist/ui/components/AvatarDisplay.style.css +46 -46
  17. package/dist/ui/components/BackgroundRenderer.style.css +31 -31
  18. package/dist/ui/components/Breadcrumb.style.css +60 -60
  19. package/dist/ui/components/CountdownDisplay.style.css +4 -4
  20. package/dist/ui/components/Div.style.css +6 -6
  21. package/dist/ui/components/EmptyState.style.css +28 -28
  22. package/dist/ui/components/FlowDiagram.style.css +77 -77
  23. package/dist/ui/components/FormGrid.style.css +32 -32
  24. package/dist/ui/components/ImageGallery.style.css +163 -163
  25. package/dist/ui/components/ImageLightbox.style.css +58 -58
  26. package/dist/ui/components/ItemRow.style.css +33 -33
  27. package/dist/ui/components/Layout.style.css +229 -229
  28. package/dist/ui/components/Menu.style.css +6 -6
  29. package/dist/ui/components/NavigationLoader.style.css +19 -19
  30. package/dist/ui/components/ResponsiveView.style.css +69 -69
  31. package/dist/ui/components/RoleBadge.style.css +7 -7
  32. package/dist/ui/components/SectionTabs.style.css +164 -164
  33. package/dist/ui/components/Semantic.style.css +14 -14
  34. package/dist/ui/components/SkipToMain.style.css +34 -34
  35. package/dist/ui/components/SortDropdown.style.css +12 -12
  36. package/dist/ui/components/StatusBadge.style.css +5 -5
  37. package/dist/ui/components/UnsavedChangesModal.style.css +33 -33
  38. package/dist/ui/components/ViewToggle.style.css +50 -50
  39. package/dist/ui/components/index.style.css +78 -78
  40. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- {
2
- "loyalty": {
3
- "title": "HC Coins",
4
- "balance": "Your Coin Balance",
5
- "earn": "Earn Coins",
6
- "redeem": "Redeem Coins",
7
- "history": "Coin History",
8
- "noHistory": "No coin transactions yet.",
9
- "earnedFor": "Earned for order",
10
- "redeemedFor": "Redeemed on order",
11
- "adminGrant": "Admin grant",
12
- "refund": "Refund",
13
- "coinsEarned": "{coins} coins earned",
14
- "coinsRedeemed": "{coins} coins redeemed",
15
- "worthRupees": "Worth ₹{amount}",
16
- "minRequired": "Minimum {min} coins required to redeem",
17
- "notActive": "Loyalty program is currently inactive"
18
- }
1
+ {
2
+ "loyalty": {
3
+ "title": "HC Coins",
4
+ "balance": "Your Coin Balance",
5
+ "earn": "Earn Coins",
6
+ "redeem": "Redeem Coins",
7
+ "history": "Coin History",
8
+ "noHistory": "No coin transactions yet.",
9
+ "earnedFor": "Earned for order",
10
+ "redeemedFor": "Redeemed on order",
11
+ "adminGrant": "Admin grant",
12
+ "refund": "Refund",
13
+ "coinsEarned": "{coins} coins earned",
14
+ "coinsRedeemed": "{coins} coins redeemed",
15
+ "worthRupees": "Worth ₹{amount}",
16
+ "minRequired": "Minimum {min} coins required to redeem",
17
+ "notActive": "Loyalty program is currently inactive"
18
+ }
19
19
  }
@@ -1,63 +1,63 @@
1
- {
2
- "mediaEditor": {
3
- "cropTitle": "Crop Image",
4
- "cropInstruction": "Drag to reposition. Use the zoom slider or +/- keys to zoom.",
5
- "cropPreviewAlt": "Preview",
6
- "cropZoom": "Zoom",
7
- "cropZoomIn": "Zoom in",
8
- "cropZoomOut": "Zoom out",
9
- "cropWarningTitle": "Low zoom",
10
- "cropWarningMessage": "Zoom in for better quality.",
11
- "cropPosition": "Position",
12
- "cropReset": "Reset",
13
- "cropSave": "Save Crop",
14
- "cropCancel": "Cancel",
15
- "trimTitle": "Trim Video",
16
- "trimInstruction": "Set the start and end times, then click Trim.",
17
- "trimStart": "Start",
18
- "trimEnd": "End",
19
- "trimDuration": "Duration: {duration}s",
20
- "trimQuality": "Quality",
21
- "trimQualityLow": "Low",
22
- "trimQualityMedium": "Medium",
23
- "trimQualityHigh": "High",
24
- "trimSave": "Trim Video",
25
- "trimSkip": "Skip",
26
- "trimming": "Trimming\u2026",
27
- "thumbnailTitle": "Select Thumbnail",
28
- "thumbnailInstruction": "Seek to the frame you want to use as the thumbnail.",
29
- "thumbnailCapture": "Use This Frame",
30
- "thumbnailSkip": "Skip",
31
- "thumbnailCapturing": "Capturing\u2026",
32
- "thumbnailUploading": "Uploading\u2026",
33
- "cropSuccess": "Image cropped",
34
- "trimSuccess": "Video trimmed",
35
- "thumbnailSuccess": "Thumbnail saved",
36
- "cropError": "Failed to crop image",
37
- "trimError": "Failed to trim video",
38
- "thumbnailError": "Failed to capture thumbnail",
39
- "editImage": "Edit / Crop",
40
- "editVideo": "Trim / Thumbnail"
41
- },
42
- "camera": {
43
- "takePhoto": "Take Photo",
44
- "startRecording": "Start Recording",
45
- "stopRecording": "Stop Recording",
46
- "flipCamera": "Flip Camera",
47
- "switchToCamera": "Use Camera",
48
- "switchToUpload": "Upload File",
49
- "cameraError": "Camera unavailable",
50
- "permissionDenied": "Camera permission denied. Please allow access in your browser settings.",
51
- "notSupported": "Camera is not supported on this device",
52
- "starting": "Starting camera..."
53
- },
54
- "upload": {
55
- "change": "Change",
56
- "remove": "Remove",
57
- "clickToUpload": "Click to upload",
58
- "uploading": "Uploading\u2026",
59
- "uploadingProgress": "Uploading {progress}%\u2026",
60
- "replaceFile": "Replace file",
61
- "chooseFile": "Choose file to upload"
62
- }
63
- }
1
+ {
2
+ "mediaEditor": {
3
+ "cropTitle": "Crop Image",
4
+ "cropInstruction": "Drag to reposition. Use the zoom slider or +/- keys to zoom.",
5
+ "cropPreviewAlt": "Preview",
6
+ "cropZoom": "Zoom",
7
+ "cropZoomIn": "Zoom in",
8
+ "cropZoomOut": "Zoom out",
9
+ "cropWarningTitle": "Low zoom",
10
+ "cropWarningMessage": "Zoom in for better quality.",
11
+ "cropPosition": "Position",
12
+ "cropReset": "Reset",
13
+ "cropSave": "Save Crop",
14
+ "cropCancel": "Cancel",
15
+ "trimTitle": "Trim Video",
16
+ "trimInstruction": "Set the start and end times, then click Trim.",
17
+ "trimStart": "Start",
18
+ "trimEnd": "End",
19
+ "trimDuration": "Duration: {duration}s",
20
+ "trimQuality": "Quality",
21
+ "trimQualityLow": "Low",
22
+ "trimQualityMedium": "Medium",
23
+ "trimQualityHigh": "High",
24
+ "trimSave": "Trim Video",
25
+ "trimSkip": "Skip",
26
+ "trimming": "Trimming\u2026",
27
+ "thumbnailTitle": "Select Thumbnail",
28
+ "thumbnailInstruction": "Seek to the frame you want to use as the thumbnail.",
29
+ "thumbnailCapture": "Use This Frame",
30
+ "thumbnailSkip": "Skip",
31
+ "thumbnailCapturing": "Capturing\u2026",
32
+ "thumbnailUploading": "Uploading\u2026",
33
+ "cropSuccess": "Image cropped",
34
+ "trimSuccess": "Video trimmed",
35
+ "thumbnailSuccess": "Thumbnail saved",
36
+ "cropError": "Failed to crop image",
37
+ "trimError": "Failed to trim video",
38
+ "thumbnailError": "Failed to capture thumbnail",
39
+ "editImage": "Edit / Crop",
40
+ "editVideo": "Trim / Thumbnail"
41
+ },
42
+ "camera": {
43
+ "takePhoto": "Take Photo",
44
+ "startRecording": "Start Recording",
45
+ "stopRecording": "Stop Recording",
46
+ "flipCamera": "Flip Camera",
47
+ "switchToCamera": "Use Camera",
48
+ "switchToUpload": "Upload File",
49
+ "cameraError": "Camera unavailable",
50
+ "permissionDenied": "Camera permission denied. Please allow access in your browser settings.",
51
+ "notSupported": "Camera is not supported on this device",
52
+ "starting": "Starting camera..."
53
+ },
54
+ "upload": {
55
+ "change": "Change",
56
+ "remove": "Remove",
57
+ "clickToUpload": "Click to upload",
58
+ "uploading": "Uploading\u2026",
59
+ "uploadingProgress": "Uploading {progress}%\u2026",
60
+ "replaceFile": "Replace file",
61
+ "chooseFile": "Choose file to upload"
62
+ }
63
+ }
@@ -1,13 +1,13 @@
1
- {
2
- "preorders": {
3
- "title": "Pre-orders",
4
- "subtitle": "Reserve yours before it arrives",
5
- "badge": "Pre-order",
6
- "shipsOn": "Ships {date}",
7
- "shippingSoon": "Shipping soon",
8
- "shipped": "Shipped",
9
- "empty": "No pre-orders available right now.",
10
- "reserveNow": "Reserve now",
11
- "depositRequired": "Deposit required: ₹{amount}"
12
- }
1
+ {
2
+ "preorders": {
3
+ "title": "Pre-orders",
4
+ "subtitle": "Reserve yours before it arrives",
5
+ "badge": "Pre-order",
6
+ "shipsOn": "Ships {date}",
7
+ "shippingSoon": "Shipping soon",
8
+ "shipped": "Shipped",
9
+ "empty": "No pre-orders available right now.",
10
+ "reserveNow": "Reserve now",
11
+ "depositRequired": "Deposit required: ₹{amount}"
12
+ }
13
13
  }
@@ -1,7 +1,7 @@
1
- {
2
- "whatsappBot": {
3
- "chatNow": "Chat on WhatsApp",
4
- "orderViaWhatsapp": "Order via WhatsApp",
5
- "supportViaWhatsapp": "Contact support"
6
- }
1
+ {
2
+ "whatsappBot": {
3
+ "chatNow": "Chat on WhatsApp",
4
+ "orderViaWhatsapp": "Order via WhatsApp",
5
+ "supportViaWhatsapp": "Contact support"
6
+ }
7
7
  }
package/dist/styles.css CHANGED
@@ -1,21 +1,21 @@
1
- /*
2
- * @mohasinac/appkit/styles
3
- *
4
- * Full stylesheet — design tokens + all UI component styles.
5
- *
6
- * Import once in your app root (e.g. app/globals.css or app/layout.tsx):
7
- *
8
- * @import "@mohasinac/appkit/styles";
9
- *
10
- * or in a layout component:
11
- *
12
- * import "@mohasinac/appkit/styles";
13
- *
14
- * To import only the design tokens:
15
- *
16
- * @import "@mohasinac/appkit/tokens";
17
- */
18
-
19
- @import "./tokens/tokens.css";
20
- @import "./ui/components/index.style.css";
21
- @import "./tailwind-utilities.css";
1
+ /*
2
+ * @mohasinac/appkit/styles
3
+ *
4
+ * Full stylesheet — design tokens + all UI component styles.
5
+ *
6
+ * Import once in your app root (e.g. app/globals.css or app/layout.tsx):
7
+ *
8
+ * @import "@mohasinac/appkit/styles";
9
+ *
10
+ * or in a layout component:
11
+ *
12
+ * import "@mohasinac/appkit/styles";
13
+ *
14
+ * To import only the design tokens:
15
+ *
16
+ * @import "@mohasinac/appkit/tokens";
17
+ */
18
+
19
+ @import "./tokens/tokens.css";
20
+ @import "./ui/components/index.style.css";
21
+ @import "./tailwind-utilities.css";