@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.
- package/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.js +6 -3
- package/dist/index.mjs +6 -3
- package/package.json +1 -1
- package/src/components/CheckBox/index.tsx +2 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @dafaz-ui/react@4.0.
|
2
|
+
> @dafaz-ui/react@4.0.14 build
|
3
3
|
> tsup src/index.tsx --format esm,cjs --dts --external react
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: src/index.tsx
|
@@ -8,11 +8,11 @@
|
|
8
8
|
[34mCLI[39m Target: es6
|
9
9
|
[34mESM[39m Build start
|
10
10
|
[34mCJS[39m Build start
|
11
|
-
[
|
12
|
-
[
|
13
|
-
[
|
14
|
-
[
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m22.58 KB[39m
|
12
|
+
[32mCJS[39m ⚡️ Build success in 45ms
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m20.05 KB[39m
|
14
|
+
[32mESM[39m ⚡️ Build success in 46ms
|
15
15
|
[34mDTS[39m Build start
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
16
|
+
[32mDTS[39m ⚡️ Build success in 4565ms
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m103.76 KB[39m
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m103.76 KB[39m
|
package/CHANGELOG.md
CHANGED
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
@@ -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}>
|