@akinon/projectzero 1.34.0 → 1.35.0
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 +2 -0
- package/app-template/CHANGELOG.md +25 -0
- package/app-template/package.json +11 -10
- package/app-template/public/locales/en/not_found.json +5 -0
- package/app-template/public/locales/tr/not_found.json +5 -0
- package/app-template/src/app/[commerce]/[locale]/[currency]/pz-not-found/page.tsx +24 -0
- package/app-template/src/components/checkbox.tsx +2 -1
- package/app-template/src/components/pagination.tsx +1 -1
- package/app-template/src/settings.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
+
## 1.35.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 567e4c1: ZERO-2580:Add checked attribute from props to checkbox
|
|
8
|
+
- d09b677: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
|
|
9
|
+
- f0c23bc: ZERO-2135: add custom not found page
|
|
10
|
+
- f084819: ZERO-2576: Update next version to 14.2.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [d09b677]
|
|
15
|
+
- Updated dependencies [6d4aadb]
|
|
16
|
+
- Updated dependencies [f3b595e]
|
|
17
|
+
- Updated dependencies [f0c23bc]
|
|
18
|
+
- Updated dependencies [f488ea8]
|
|
19
|
+
- Updated dependencies [6b2972b]
|
|
20
|
+
- @akinon/next@1.35.0
|
|
21
|
+
- @akinon/pz-masterpass@1.35.0
|
|
22
|
+
- @akinon/pz-b2b@1.35.0
|
|
23
|
+
- @akinon/pz-gpay@1.35.0
|
|
24
|
+
- @akinon/pz-one-click-checkout@1.35.0
|
|
25
|
+
- @akinon/pz-otp@1.35.0
|
|
26
|
+
- @akinon/pz-pay-on-delivery@1.35.0
|
|
27
|
+
|
|
3
28
|
## 1.34.0
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -22,20 +22,21 @@
|
|
|
22
22
|
"prestart": "pz-prestart"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@akinon/next": "1.
|
|
26
|
-
"@akinon/pz-b2b": "1.
|
|
27
|
-
"@akinon/pz-gpay": "1.
|
|
28
|
-
"@akinon/pz-masterpass": "1.
|
|
29
|
-
"@akinon/pz-one-click-checkout": "1.
|
|
30
|
-
"@akinon/pz-otp": "1.
|
|
31
|
-
"@akinon/pz-pay-on-delivery": "1.
|
|
25
|
+
"@akinon/next": "1.35.0",
|
|
26
|
+
"@akinon/pz-b2b": "1.35.0",
|
|
27
|
+
"@akinon/pz-gpay": "1.35.0",
|
|
28
|
+
"@akinon/pz-masterpass": "1.35.0",
|
|
29
|
+
"@akinon/pz-one-click-checkout": "1.35.0",
|
|
30
|
+
"@akinon/pz-otp": "1.35.0",
|
|
31
|
+
"@akinon/pz-pay-on-delivery": "1.35.0",
|
|
32
32
|
"@hookform/resolvers": "2.9.0",
|
|
33
33
|
"@next/third-parties": "14.1.0",
|
|
34
34
|
"@react-google-maps/api": "2.17.1",
|
|
35
35
|
"@sentry/nextjs": "7.105.0",
|
|
36
36
|
"dayjs": "1.11.5",
|
|
37
|
+
"eslint-config-next": "14.2.2",
|
|
37
38
|
"lossless-json": "2.0.5",
|
|
38
|
-
"next": "14.
|
|
39
|
+
"next": "14.2.2",
|
|
39
40
|
"next-auth": "4.24.5",
|
|
40
41
|
"next-pwa": "5.6.0",
|
|
41
42
|
"pino": "8.11.0",
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
"yup": "0.32.11"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
|
-
"@akinon/eslint-plugin-projectzero": "1.
|
|
56
|
+
"@akinon/eslint-plugin-projectzero": "1.35.0",
|
|
56
57
|
"@semantic-release/changelog": "6.0.2",
|
|
57
58
|
"@semantic-release/exec": "6.0.3",
|
|
58
59
|
"@semantic-release/git": "10.0.1",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Button, Link } from '@theme/components';
|
|
5
|
+
import { useLocalization } from '@akinon/next/hooks';
|
|
6
|
+
|
|
7
|
+
const NotFound = () => {
|
|
8
|
+
const { t } = useLocalization();
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<div className="py-6 flex flex-col items-center justify-center">
|
|
12
|
+
<div className="text-8xl font-bold">404</div>
|
|
13
|
+
<h1 className="text-4xl font-bold mb-4">{t('not_found.title')}</h1>
|
|
14
|
+
<p className="text-lg mb-6">{t('not_found.sub_title')}</p>
|
|
15
|
+
<Link href={'/'}>
|
|
16
|
+
<Button className="h-auto mt-4 text-base py-3 px-6">
|
|
17
|
+
{t('not_found.button')}
|
|
18
|
+
</Button>
|
|
19
|
+
</Link>
|
|
20
|
+
</div>
|
|
21
|
+
);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default NotFound;
|
|
@@ -3,7 +3,7 @@ import { CheckboxProps } from '@theme/components/types';
|
|
|
3
3
|
import { twMerge } from 'tailwind-merge';
|
|
4
4
|
|
|
5
5
|
const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>((props, ref) => {
|
|
6
|
-
const { children, error, ...rest } = props;
|
|
6
|
+
const { children, checked, error, ...rest } = props;
|
|
7
7
|
|
|
8
8
|
return (
|
|
9
9
|
<label className={twMerge('flex flex-col text-xs', props.className)}>
|
|
@@ -12,6 +12,7 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>((props, ref) => {
|
|
|
12
12
|
type="checkbox"
|
|
13
13
|
{...rest}
|
|
14
14
|
ref={ref}
|
|
15
|
+
checked={checked ?? false}
|
|
15
16
|
className="w-4 h-4 shrink-0"
|
|
16
17
|
/>
|
|
17
18
|
{children && <span className="ml-2">{children}</span>}
|