@lets-events/react 11.7.8 → 11.7.9

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- > @lets-events/react@11.7.8 build
3
+ > @lets-events/react@11.7.9 build
4
4
  > tsup src/index.tsx --format esm,cjs --dts --external react
5
5
 
6
6
  CLI Building entry: src/index.tsx
@@ -9,12 +9,12 @@
9
9
  CLI Target: es6
10
10
  ESM Build start
11
11
  CJS Build start
12
- ESM dist/index.mjs 321.38 KB
13
- ESM ⚡️ Build success in 106909ms
14
- CJS dist/index.js 333.60 KB
15
- CJS ⚡️ Build success in 106909ms
16
12
  DTS Build start
17
- DTS ⚡️ Build success in 5590ms
13
+ ESM dist/index.mjs 321.45 KB
14
+ ESM ⚡️ Build success in 477ms
15
+ CJS dist/index.js 333.68 KB
16
+ CJS ⚡️ Build success in 479ms
17
+ DTS ⚡️ Build success in 7505ms
18
18
  DTS dist/index.d.mts 374.51 KB
19
19
  DTS dist/index.d.ts 374.51 KB
20
20
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 11.7.9
4
+
5
+ ### Patch Changes
6
+
7
+ - checkbox group value
8
+
3
9
  ## 11.7.8
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -10109,6 +10109,7 @@ var CPFFormField = ({
10109
10109
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
10110
10110
  CheckboxGroup,
10111
10111
  {
10112
+ value: foreigner ? ["true"] : [],
10112
10113
  name: "foreigner",
10113
10114
  onValueChange: (value) => {
10114
10115
  const isForeigner = value.includes("true");
@@ -10814,6 +10815,7 @@ var CheckboxGroupFormField = ({
10814
10815
  CheckboxGroup,
10815
10816
  {
10816
10817
  name,
10818
+ value: field.value,
10817
10819
  onValueChange: field.onChange,
10818
10820
  color: haveError ? "error" : color,
10819
10821
  fontWeight,
package/dist/index.mjs CHANGED
@@ -10015,6 +10015,7 @@ var CPFFormField = ({
10015
10015
  /* @__PURE__ */ jsx37(
10016
10016
  CheckboxGroup,
10017
10017
  {
10018
+ value: foreigner ? ["true"] : [],
10018
10019
  name: "foreigner",
10019
10020
  onValueChange: (value) => {
10020
10021
  const isForeigner = value.includes("true");
@@ -10720,6 +10721,7 @@ var CheckboxGroupFormField = ({
10720
10721
  CheckboxGroup,
10721
10722
  {
10722
10723
  name,
10724
+ value: field.value,
10723
10725
  onValueChange: field.onChange,
10724
10726
  color: haveError ? "error" : color,
10725
10727
  fontWeight,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "11.7.8",
3
+ "version": "11.7.9",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -61,6 +61,7 @@ export const CPFFormField = ({
61
61
  />
62
62
 
63
63
  <CheckboxGroup
64
+ value={foreigner ? ["true"] : []}
64
65
  name="foreigner"
65
66
  onValueChange={(value) => {
66
67
  const isForeigner = value.includes("true");
@@ -66,6 +66,7 @@ export const CheckboxGroupFormField = ({
66
66
  render={({ field }) => (
67
67
  <CheckboxGroup
68
68
  name={name}
69
+ value={field.value}
69
70
  onValueChange={field.onChange}
70
71
  color={haveError ? "error" : color}
71
72
  fontWeight={fontWeight}