@dafaz-ui/react 4.0.12 → 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.12 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.05 KB
12
- ESM ⚡️ Build success in 38ms
13
11
  CJS dist/index.js 22.58 KB
14
- CJS ⚡️ Build success in 38ms
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 4498ms
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,17 @@
1
1
  # @dafaz-ui/react
2
2
 
3
+ ## 4.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - fix ref checkbox
8
+
9
+ ## 4.0.13
10
+
11
+ ### Patch Changes
12
+
13
+ - fix ref checkbox
14
+
3
15
  ## 4.0.12
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -467,7 +467,7 @@ var CheckBox = (0, import_react2.forwardRef)(
467
467
  "onCheckedChange",
468
468
  "value"
469
469
  ]);
470
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Label, { disabled, htmlFor: id, size, children: [
470
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Label, { htmlFor: id, disabled, size, children: [
471
471
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
472
472
  CheckBoxUI,
473
473
  __spreadProps(__spreadValues({
package/dist/index.mjs CHANGED
@@ -418,7 +418,7 @@ var CheckBox = forwardRef(
418
418
  "onCheckedChange",
419
419
  "value"
420
420
  ]);
421
- return /* @__PURE__ */ jsxs(Label, { disabled, htmlFor: id, size, children: [
421
+ return /* @__PURE__ */ jsxs(Label, { htmlFor: id, disabled, size, children: [
422
422
  /* @__PURE__ */ jsx3(
423
423
  CheckBoxUI,
424
424
  __spreadProps(__spreadValues({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dafaz-ui/react",
3
- "version": "4.0.12",
3
+ "version": "4.0.14",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -27,7 +27,7 @@ export const CheckBox = forwardRef<
27
27
  ref,
28
28
  ) => {
29
29
  return (
30
- <Label disabled={disabled} htmlFor={id} size={size}>
30
+ <Label htmlFor={id} disabled={disabled} size={size}>
31
31
  <CheckBoxUI
32
32
  ref={ref}
33
33
  checked={checked}