@pradip1995/segment-login-template 0.5.24 → 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.
- package/package.json +54 -54
- package/src/account-addresses.tsx +287 -287
- package/src/account-guest-orders.tsx +98 -98
- package/src/account-orders.tsx +260 -260
- package/src/account-overview.tsx +133 -133
- package/src/account-payment-methods.tsx +328 -328
- package/src/account-profile-logic.ts +282 -282
- package/src/account-profile.tsx +111 -111
- package/src/account-theme.ts +91 -91
- package/src/account-utils.ts +20 -20
- package/src/auth-server.ts +442 -442
- package/src/commerce-auth-otp-modal.css +125 -125
- package/src/commerce-auth-otp-modal.tsx +121 -121
- package/src/forgot-password-form.tsx +109 -109
- package/src/google-auth-section.tsx +22 -22
- package/src/google-sign-in-section.tsx +67 -142
- package/src/guest-order-modal.tsx +215 -215
- package/src/index.ts +7 -7
- package/src/is-next-redirect.ts +60 -60
- package/src/login-brand-panel.tsx +158 -158
- package/src/login-form.tsx +469 -469
- package/src/manifest.ts +11 -11
- package/src/order-history-status.test.ts +224 -224
- package/src/order-history-status.ts +244 -244
- package/src/otp-component.ts +14 -14
- package/src/otp-input.tsx +46 -46
- package/src/otp-unified-form.tsx +333 -333
- package/src/otp-verification-modal.tsx +112 -112
- package/src/payment-methods-actions.ts +243 -243
- package/src/profile-email-field.tsx +116 -116
- package/src/profile-email.test.ts +182 -182
- package/src/profile-email.ts +54 -54
- package/src/profile-phone-field.tsx +119 -119
- package/src/register-form.tsx +339 -339
- package/src/reorder-checkout-address.ts +101 -101
- package/src/reset-password-form.tsx +103 -103
- package/src/reset-password-page.tsx +12 -12
- 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.
|
|
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
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"@pradip1995/
|
|
45
|
-
"@
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
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
|
+
}
|