@dafaz-ui/react 4.0.13 → 4.0.14

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,5 +1,5 @@
1
1
 
2
- > @dafaz-ui/react@4.0.13 build
2
+ > @dafaz-ui/react@4.0.14 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist/index.mjs 20.01 KB
12
- ESM ⚡️ Build success in 38ms
13
- CJS dist/index.js 22.54 KB
14
- CJS ⚡️ Build success in 39ms
11
+ CJS dist/index.js 22.58 KB
12
+ CJS ⚡️ Build success in 45ms
13
+ ESM dist/index.mjs 20.05 KB
14
+ ESM ⚡️ Build success in 46ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4529ms
16
+ DTS ⚡️ Build success in 4565ms
17
17
  DTS dist/index.d.mts 103.76 KB
18
18
  DTS dist/index.d.ts 103.76 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @dafaz-ui/react
2
2
 
3
+ ## 4.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - fix ref checkbox
8
+
3
9
  ## 4.0.13
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -456,14 +456,16 @@ var CheckBox = (0, import_react2.forwardRef)(
456
456
  size,
457
457
  disabled = false,
458
458
  checked,
459
- onCheckedChange
459
+ onCheckedChange,
460
+ value
460
461
  } = _b, props = __objRest(_b, [
461
462
  "id",
462
463
  "label",
463
464
  "size",
464
465
  "disabled",
465
466
  "checked",
466
- "onCheckedChange"
467
+ "onCheckedChange",
468
+ "value"
467
469
  ]);
468
470
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Label, { htmlFor: id, disabled, size, children: [
469
471
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
@@ -474,7 +476,8 @@ var CheckBox = (0, import_react2.forwardRef)(
474
476
  onCheckedChange,
475
477
  disabled,
476
478
  id,
477
- size
479
+ size,
480
+ value
478
481
  }, props), {
479
482
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CheckBoxIndicator, { asChild: true, size, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react3.Check, { weight: "bold" }) })
480
483
  })
package/dist/index.mjs CHANGED
@@ -407,14 +407,16 @@ var CheckBox = forwardRef(
407
407
  size,
408
408
  disabled = false,
409
409
  checked,
410
- onCheckedChange
410
+ onCheckedChange,
411
+ value
411
412
  } = _b, props = __objRest(_b, [
412
413
  "id",
413
414
  "label",
414
415
  "size",
415
416
  "disabled",
416
417
  "checked",
417
- "onCheckedChange"
418
+ "onCheckedChange",
419
+ "value"
418
420
  ]);
419
421
  return /* @__PURE__ */ jsxs(Label, { htmlFor: id, disabled, size, children: [
420
422
  /* @__PURE__ */ jsx3(
@@ -425,7 +427,8 @@ var CheckBox = forwardRef(
425
427
  onCheckedChange,
426
428
  disabled,
427
429
  id,
428
- size
430
+ size,
431
+ value
429
432
  }, props), {
430
433
  children: /* @__PURE__ */ jsx3(CheckBoxIndicator, { asChild: true, size, children: /* @__PURE__ */ jsx3(Check, { weight: "bold" }) })
431
434
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dafaz-ui/react",
3
- "version": "4.0.13",
3
+ "version": "4.0.14",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -21,6 +21,7 @@ export const CheckBox = forwardRef<
21
21
  disabled = false,
22
22
  checked,
23
23
  onCheckedChange,
24
+ value,
24
25
  ...props
25
26
  }: CheckboxProps,
26
27
  ref,
@@ -34,6 +35,7 @@ export const CheckBox = forwardRef<
34
35
  disabled={disabled}
35
36
  id={id}
36
37
  size={size}
38
+ value={value}
37
39
  {...props}
38
40
  >
39
41
  <CheckBoxIndicator asChild size={size}>