@pradip1995/segment-login-template 0.5.25 → 0.5.26

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 (38) hide show
  1. package/package.json +54 -54
  2. package/src/account-addresses.tsx +287 -287
  3. package/src/account-guest-orders.tsx +98 -98
  4. package/src/account-orders.tsx +260 -260
  5. package/src/account-overview.tsx +133 -133
  6. package/src/account-payment-methods.tsx +328 -328
  7. package/src/account-profile-logic.ts +282 -282
  8. package/src/account-profile.tsx +111 -111
  9. package/src/account-theme.ts +91 -91
  10. package/src/account-utils.ts +20 -20
  11. package/src/auth-server.ts +442 -442
  12. package/src/commerce-auth-otp-modal.css +125 -125
  13. package/src/commerce-auth-otp-modal.tsx +121 -121
  14. package/src/forgot-password-form.tsx +109 -109
  15. package/src/google-auth-section.tsx +22 -22
  16. package/src/google-sign-in-section.tsx +67 -67
  17. package/src/guest-order-modal.tsx +215 -215
  18. package/src/index.ts +7 -7
  19. package/src/is-next-redirect.ts +60 -60
  20. package/src/login-brand-panel.tsx +158 -158
  21. package/src/login-form.tsx +469 -469
  22. package/src/manifest.ts +11 -11
  23. package/src/order-history-status.test.ts +224 -224
  24. package/src/order-history-status.ts +244 -244
  25. package/src/otp-component.ts +14 -14
  26. package/src/otp-input.tsx +46 -46
  27. package/src/otp-unified-form.tsx +333 -333
  28. package/src/otp-verification-modal.tsx +112 -112
  29. package/src/payment-methods-actions.ts +243 -243
  30. package/src/profile-email-field.tsx +116 -116
  31. package/src/profile-email.test.ts +182 -182
  32. package/src/profile-email.ts +54 -54
  33. package/src/profile-phone-field.tsx +119 -119
  34. package/src/register-form.tsx +339 -339
  35. package/src/reorder-checkout-address.ts +101 -101
  36. package/src/reset-password-form.tsx +103 -103
  37. package/src/reset-password-page.tsx +12 -12
  38. package/src/segment.tsx +272 -272
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "@pradip1995/segment-login-template",
3
- "version": "0.5.25",
4
- "license": "MIT",
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "sideEffects": [
9
- "src/commerce-auth-otp-modal.css"
10
- ],
11
- "files": [
12
- "src"
13
- ],
14
- "exports": {
15
- ".": "./src/index.ts",
16
- "./manifest": "./src/manifest.ts",
17
- "./reset-password": "./src/reset-password-page.tsx",
18
- "./otp-verification-modal": "./src/otp-verification-modal.tsx",
19
- "./commerce-auth-otp-modal": "./src/commerce-auth-otp-modal.tsx",
20
- "./otp-component": "./src/otp-component.ts",
21
- "./auth-server": "./src/auth-server.ts",
22
- "./account-profile-logic": "./src/account-profile-logic.ts",
23
- "./profile-phone-field": "./src/profile-phone-field.tsx",
24
- "./profile-email-field": "./src/profile-email-field.tsx",
25
- "./google-auth-section": "./src/google-auth-section.tsx",
26
- "./google-sign-in-section": "./src/google-sign-in-section.tsx",
27
- "./otp-input": "./src/otp-input.tsx"
28
- },
29
- "peerDependencies": {
30
- "@pradip1995/commerce-auth": "^4.0.0",
31
- "@pradip1995/commerce-core": "^4.0.0",
32
- "@pradip1995/plugin-sdk": "^0.2.0",
33
- "next": ">=15",
34
- "react": ">=19",
35
- "react-dom": ">=19"
36
- },
37
- "dependencies": {
38
- "@pradip1995/commerce-auth": "^4.0.0",
39
- "@pradip1995/commerce-core": "^4.0.0",
40
- "@pradip1995/segment-primitives": "^0.4.14",
41
- "@pradip1995/segment-tokens": "^0.3.19"
42
- },
43
- "devDependencies": {
44
- "@pradip1995/plugin-sdk": "^0.2.0",
45
- "@types/react": "^19",
46
- "react": "19.0.3",
47
- "typescript": "^5.7.2"
48
- },
49
- "scripts": {
50
- "typecheck": "tsc --noEmit",
51
- "lint": "tsc --noEmit",
52
- "test": "node --experimental-strip-types --test src/*.test.ts"
53
- }
54
- }
1
+ {
2
+ "name": "@pradip1995/segment-login-template",
3
+ "version": "0.5.26",
4
+ "license": "MIT",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "sideEffects": [
9
+ "src/commerce-auth-otp-modal.css"
10
+ ],
11
+ "files": [
12
+ "src"
13
+ ],
14
+ "exports": {
15
+ ".": "./src/index.ts",
16
+ "./manifest": "./src/manifest.ts",
17
+ "./reset-password": "./src/reset-password-page.tsx",
18
+ "./otp-verification-modal": "./src/otp-verification-modal.tsx",
19
+ "./commerce-auth-otp-modal": "./src/commerce-auth-otp-modal.tsx",
20
+ "./otp-component": "./src/otp-component.ts",
21
+ "./auth-server": "./src/auth-server.ts",
22
+ "./account-profile-logic": "./src/account-profile-logic.ts",
23
+ "./profile-phone-field": "./src/profile-phone-field.tsx",
24
+ "./profile-email-field": "./src/profile-email-field.tsx",
25
+ "./google-auth-section": "./src/google-auth-section.tsx",
26
+ "./google-sign-in-section": "./src/google-sign-in-section.tsx",
27
+ "./otp-input": "./src/otp-input.tsx"
28
+ },
29
+ "scripts": {
30
+ "typecheck": "tsc --noEmit",
31
+ "lint": "tsc --noEmit",
32
+ "test": "node --experimental-strip-types --test src/*.test.ts"
33
+ },
34
+ "peerDependencies": {
35
+ "@pradip1995/commerce-auth": "^4.0.0",
36
+ "@pradip1995/commerce-core": "^4.0.0",
37
+ "@pradip1995/plugin-sdk": "^0.2.0",
38
+ "next": ">=15",
39
+ "react": ">=19",
40
+ "react-dom": ">=19"
41
+ },
42
+ "dependencies": {
43
+ "@pradip1995/commerce-auth": "^4.0.0",
44
+ "@pradip1995/commerce-core": "^4.0.0",
45
+ "@pradip1995/segment-primitives": "^0.4.14",
46
+ "@pradip1995/segment-tokens": "^0.3.19"
47
+ },
48
+ "devDependencies": {
49
+ "@pradip1995/plugin-sdk": "^0.2.0",
50
+ "@types/react": "^19",
51
+ "react": "19.0.3",
52
+ "typescript": "^5.7.2"
53
+ }
54
+ }