@akinon/projectzero 1.32.0-rc.1 → 1.32.0-rc.2
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,21 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
+
## 1.32.0-rc.2
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 567e4c1: ZERO-2580:Add checked attribute from props to checkbox
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- @akinon/next@1.32.0-rc.2
|
|
12
|
+
- @akinon/pz-b2b@1.32.0-rc.2
|
|
13
|
+
- @akinon/pz-gpay@1.32.0-rc.2
|
|
14
|
+
- @akinon/pz-masterpass@1.32.0-rc.2
|
|
15
|
+
- @akinon/pz-one-click-checkout@1.32.0-rc.2
|
|
16
|
+
- @akinon/pz-otp@1.32.0-rc.2
|
|
17
|
+
- @akinon/pz-pay-on-delivery@1.32.0-rc.2
|
|
18
|
+
|
|
3
19
|
## 1.32.0-rc.1
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "1.32.0-rc.
|
|
3
|
+
"version": "1.32.0-rc.2",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"prestart": "pz-prestart"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@akinon/next": "1.32.0-rc.
|
|
26
|
-
"@akinon/pz-b2b": "1.32.0-rc.
|
|
27
|
-
"@akinon/pz-gpay": "1.32.0-rc.
|
|
28
|
-
"@akinon/pz-masterpass": "1.32.0-rc.
|
|
29
|
-
"@akinon/pz-one-click-checkout": "1.32.0-rc.
|
|
30
|
-
"@akinon/pz-otp": "1.32.0-rc.
|
|
31
|
-
"@akinon/pz-pay-on-delivery": "1.32.0-rc.
|
|
25
|
+
"@akinon/next": "1.32.0-rc.2",
|
|
26
|
+
"@akinon/pz-b2b": "1.32.0-rc.2",
|
|
27
|
+
"@akinon/pz-gpay": "1.32.0-rc.2",
|
|
28
|
+
"@akinon/pz-masterpass": "1.32.0-rc.2",
|
|
29
|
+
"@akinon/pz-one-click-checkout": "1.32.0-rc.2",
|
|
30
|
+
"@akinon/pz-otp": "1.32.0-rc.2",
|
|
31
|
+
"@akinon/pz-pay-on-delivery": "1.32.0-rc.2",
|
|
32
32
|
"@hookform/resolvers": "2.9.0",
|
|
33
33
|
"@next/third-parties": "14.1.0",
|
|
34
34
|
"@react-google-maps/api": "2.17.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"yup": "0.32.11"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@akinon/eslint-plugin-projectzero": "1.32.0-rc.
|
|
55
|
+
"@akinon/eslint-plugin-projectzero": "1.32.0-rc.2",
|
|
56
56
|
"@semantic-release/changelog": "6.0.2",
|
|
57
57
|
"@semantic-release/exec": "6.0.3",
|
|
58
58
|
"@semantic-release/git": "10.0.1",
|
|
@@ -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>}
|