@akinon/projectzero 2.0.94 → 2.0.95-beta.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
+
## 2.0.95-beta.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [cbbbfd757]
|
|
8
|
+
- @akinon/next@2.0.95-beta.1
|
|
9
|
+
- @akinon/pz-theme@2.0.95-beta.1
|
|
10
|
+
- @akinon/pz-virtual-try-on@2.0.95-beta.1
|
|
11
|
+
- @akinon/pz-akifast@2.0.95-beta.1
|
|
12
|
+
- @akinon/pz-apple-pay@2.0.95-beta.1
|
|
13
|
+
- @akinon/pz-b2b@2.0.95-beta.1
|
|
14
|
+
- @akinon/pz-basket-gift-pack@2.0.95-beta.1
|
|
15
|
+
- @akinon/pz-bkm@2.0.95-beta.1
|
|
16
|
+
- @akinon/pz-checkout-gift-pack@2.0.95-beta.1
|
|
17
|
+
- @akinon/pz-click-collect@2.0.95-beta.1
|
|
18
|
+
- @akinon/pz-credit-payment@2.0.95-beta.1
|
|
19
|
+
- @akinon/pz-cybersource-uc@2.0.95-beta.1
|
|
20
|
+
- @akinon/pz-flow-payment@2.0.95-beta.1
|
|
21
|
+
- @akinon/pz-google-pay@2.0.95-beta.1
|
|
22
|
+
- @akinon/pz-gpay@2.0.95-beta.1
|
|
23
|
+
- @akinon/pz-haso@2.0.95-beta.1
|
|
24
|
+
- @akinon/pz-hepsipay@2.0.95-beta.1
|
|
25
|
+
- @akinon/pz-masterpass@2.0.95-beta.1
|
|
26
|
+
- @akinon/pz-masterpass-rest@2.0.95-beta.1
|
|
27
|
+
- @akinon/pz-multi-basket@2.0.95-beta.1
|
|
28
|
+
- @akinon/pz-one-click-checkout@2.0.95-beta.1
|
|
29
|
+
- @akinon/pz-otp@2.0.95-beta.1
|
|
30
|
+
- @akinon/pz-pay-on-delivery@2.0.95-beta.1
|
|
31
|
+
- @akinon/pz-saved-card@2.0.95-beta.1
|
|
32
|
+
- @akinon/pz-similar-products@2.0.95-beta.1
|
|
33
|
+
- @akinon/pz-tabby-extension@2.0.95-beta.1
|
|
34
|
+
- @akinon/pz-tamara-extension@2.0.95-beta.1
|
|
35
|
+
|
|
36
|
+
## 2.0.95-beta.0
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [cbbbfd757]
|
|
41
|
+
- @akinon/next@2.0.95-beta.0
|
|
42
|
+
- @akinon/pz-theme@2.0.95-beta.0
|
|
43
|
+
- @akinon/pz-virtual-try-on@2.0.95-beta.0
|
|
44
|
+
- @akinon/pz-akifast@2.0.95-beta.0
|
|
45
|
+
- @akinon/pz-apple-pay@2.0.95-beta.0
|
|
46
|
+
- @akinon/pz-b2b@2.0.95-beta.0
|
|
47
|
+
- @akinon/pz-basket-gift-pack@2.0.95-beta.0
|
|
48
|
+
- @akinon/pz-bkm@2.0.95-beta.0
|
|
49
|
+
- @akinon/pz-checkout-gift-pack@2.0.95-beta.0
|
|
50
|
+
- @akinon/pz-click-collect@2.0.95-beta.0
|
|
51
|
+
- @akinon/pz-credit-payment@2.0.95-beta.0
|
|
52
|
+
- @akinon/pz-cybersource-uc@2.0.95-beta.0
|
|
53
|
+
- @akinon/pz-flow-payment@2.0.95-beta.0
|
|
54
|
+
- @akinon/pz-google-pay@2.0.95-beta.0
|
|
55
|
+
- @akinon/pz-gpay@2.0.95-beta.0
|
|
56
|
+
- @akinon/pz-haso@2.0.95-beta.0
|
|
57
|
+
- @akinon/pz-hepsipay@2.0.95-beta.0
|
|
58
|
+
- @akinon/pz-masterpass@2.0.95-beta.0
|
|
59
|
+
- @akinon/pz-masterpass-rest@2.0.95-beta.0
|
|
60
|
+
- @akinon/pz-multi-basket@2.0.95-beta.0
|
|
61
|
+
- @akinon/pz-one-click-checkout@2.0.95-beta.0
|
|
62
|
+
- @akinon/pz-otp@2.0.95-beta.0
|
|
63
|
+
- @akinon/pz-pay-on-delivery@2.0.95-beta.0
|
|
64
|
+
- @akinon/pz-saved-card@2.0.95-beta.0
|
|
65
|
+
- @akinon/pz-similar-products@2.0.95-beta.0
|
|
66
|
+
- @akinon/pz-tabby-extension@2.0.95-beta.0
|
|
67
|
+
- @akinon/pz-tamara-extension@2.0.95-beta.0
|
|
68
|
+
|
|
3
69
|
## 2.0.94
|
|
4
70
|
|
|
5
71
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.95-beta.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -24,33 +24,33 @@
|
|
|
24
24
|
"test:middleware": "jest middleware-matcher.test.ts --bail"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@akinon/next": "2.0.
|
|
28
|
-
"@akinon/pz-akifast": "2.0.
|
|
29
|
-
"@akinon/pz-apple-pay": "2.0.
|
|
30
|
-
"@akinon/pz-b2b": "2.0.
|
|
31
|
-
"@akinon/pz-basket-gift-pack": "2.0.
|
|
32
|
-
"@akinon/pz-bkm": "2.0.
|
|
33
|
-
"@akinon/pz-checkout-gift-pack": "2.0.
|
|
34
|
-
"@akinon/pz-click-collect": "2.0.
|
|
35
|
-
"@akinon/pz-credit-payment": "2.0.
|
|
36
|
-
"@akinon/pz-cybersource-uc": "2.0.
|
|
37
|
-
"@akinon/pz-flow-payment": "2.0.
|
|
38
|
-
"@akinon/pz-google-pay": "2.0.
|
|
39
|
-
"@akinon/pz-gpay": "2.0.
|
|
40
|
-
"@akinon/pz-haso": "2.0.
|
|
41
|
-
"@akinon/pz-hepsipay": "2.0.
|
|
42
|
-
"@akinon/pz-masterpass": "2.0.
|
|
43
|
-
"@akinon/pz-masterpass-rest": "2.0.
|
|
44
|
-
"@akinon/pz-multi-basket": "2.0.
|
|
45
|
-
"@akinon/pz-one-click-checkout": "2.0.
|
|
46
|
-
"@akinon/pz-otp": "2.0.
|
|
47
|
-
"@akinon/pz-pay-on-delivery": "2.0.
|
|
48
|
-
"@akinon/pz-saved-card": "2.0.
|
|
49
|
-
"@akinon/pz-similar-products": "2.0.
|
|
50
|
-
"@akinon/pz-tabby-extension": "2.0.
|
|
51
|
-
"@akinon/pz-tamara-extension": "2.0.
|
|
52
|
-
"@akinon/pz-theme": "2.0.
|
|
53
|
-
"@akinon/pz-virtual-try-on": "2.0.
|
|
27
|
+
"@akinon/next": "2.0.95-beta.1",
|
|
28
|
+
"@akinon/pz-akifast": "2.0.95-beta.1",
|
|
29
|
+
"@akinon/pz-apple-pay": "2.0.95-beta.1",
|
|
30
|
+
"@akinon/pz-b2b": "2.0.95-beta.1",
|
|
31
|
+
"@akinon/pz-basket-gift-pack": "2.0.95-beta.1",
|
|
32
|
+
"@akinon/pz-bkm": "2.0.95-beta.1",
|
|
33
|
+
"@akinon/pz-checkout-gift-pack": "2.0.95-beta.1",
|
|
34
|
+
"@akinon/pz-click-collect": "2.0.95-beta.1",
|
|
35
|
+
"@akinon/pz-credit-payment": "2.0.95-beta.1",
|
|
36
|
+
"@akinon/pz-cybersource-uc": "2.0.95-beta.1",
|
|
37
|
+
"@akinon/pz-flow-payment": "2.0.95-beta.1",
|
|
38
|
+
"@akinon/pz-google-pay": "2.0.95-beta.1",
|
|
39
|
+
"@akinon/pz-gpay": "2.0.95-beta.1",
|
|
40
|
+
"@akinon/pz-haso": "2.0.95-beta.1",
|
|
41
|
+
"@akinon/pz-hepsipay": "2.0.95-beta.1",
|
|
42
|
+
"@akinon/pz-masterpass": "2.0.95-beta.1",
|
|
43
|
+
"@akinon/pz-masterpass-rest": "2.0.95-beta.1",
|
|
44
|
+
"@akinon/pz-multi-basket": "2.0.95-beta.1",
|
|
45
|
+
"@akinon/pz-one-click-checkout": "2.0.95-beta.1",
|
|
46
|
+
"@akinon/pz-otp": "2.0.95-beta.1",
|
|
47
|
+
"@akinon/pz-pay-on-delivery": "2.0.95-beta.1",
|
|
48
|
+
"@akinon/pz-saved-card": "2.0.95-beta.1",
|
|
49
|
+
"@akinon/pz-similar-products": "2.0.95-beta.1",
|
|
50
|
+
"@akinon/pz-tabby-extension": "2.0.95-beta.1",
|
|
51
|
+
"@akinon/pz-tamara-extension": "2.0.95-beta.1",
|
|
52
|
+
"@akinon/pz-theme": "2.0.95-beta.1",
|
|
53
|
+
"@akinon/pz-virtual-try-on": "2.0.95-beta.1",
|
|
54
54
|
"@hookform/resolvers": "2.9.0",
|
|
55
55
|
"@next/third-parties": "16.2.6",
|
|
56
56
|
"@react-google-maps/api": "2.17.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"yup": "0.32.11"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@akinon/eslint-plugin-projectzero": "2.0.
|
|
77
|
+
"@akinon/eslint-plugin-projectzero": "2.0.95-beta.1",
|
|
78
78
|
"@semantic-release/changelog": "6.0.2",
|
|
79
79
|
"@semantic-release/exec": "6.0.3",
|
|
80
80
|
"@semantic-release/git": "10.0.1",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import ChromeSlot from '@akinon/pz-theme/src/chrome/chrome-slot';
|
|
2
|
+
import { PLACEHOLDER_SLUGS } from '@akinon/pz-theme/src/chrome/placeholder-slugs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The screen the reset MAIL lands on, handed to the editor the same way its
|
|
6
|
+
* two neighbours already are: the slot is an async server component and the
|
|
7
|
+
* page is a client one, so the handover lives in the layout.
|
|
8
|
+
*
|
|
9
|
+
* A different page from the one that ASKS for the mail — that is
|
|
10
|
+
* `users/password/reset` — and the last auth screen a brand could not compose:
|
|
11
|
+
* `reset-password-body` was a slug the editor offered and nothing mounted, so a
|
|
12
|
+
* designer could build the screen, publish it, and the shopper coming out of
|
|
13
|
+
* their inbox still met the hand-written page.
|
|
14
|
+
*
|
|
15
|
+
* The token stays in the URL either way: this route's catch-all carries it, and
|
|
16
|
+
* `reset-password-block` reads it back out of the segments (a token containing
|
|
17
|
+
* slashes is joined, which a single segment would get wrong).
|
|
18
|
+
*
|
|
19
|
+
* With no composition published the slot renders the page untouched, so this
|
|
20
|
+
* changes nothing until a brand composes the screen.
|
|
21
|
+
*/
|
|
22
|
+
export default function ResetPasswordLayout({
|
|
23
|
+
children
|
|
24
|
+
}: {
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
}) {
|
|
27
|
+
return (
|
|
28
|
+
<ChromeSlot slug={PLACEHOLDER_SLUGS.resetPassword} fallback={children} />
|
|
29
|
+
);
|
|
30
|
+
}
|