@dafaz-ui/react 4.0.11 → 4.0.12

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.11 build
2
+ > @dafaz-ui/react@4.0.12 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  ESM dist/index.mjs 20.05 KB
12
- ESM ⚡️ Build success in 41ms
12
+ ESM ⚡️ Build success in 38ms
13
13
  CJS dist/index.js 22.58 KB
14
- CJS ⚡️ Build success in 42ms
14
+ CJS ⚡️ Build success in 38ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4546ms
17
- DTS dist/index.d.mts 103.69 KB
18
- DTS dist/index.d.ts 103.69 KB
16
+ DTS ⚡️ Build success in 4498ms
17
+ DTS dist/index.d.mts 103.76 KB
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.12
4
+
5
+ ### Patch Changes
6
+
7
+ - fix ref checkbox
8
+
3
9
  ## 4.0.11
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -666,6 +666,8 @@ interface CheckboxIUProps extends ComponentProps<typeof CheckBoxUI> {
666
666
  interface CheckboxProps extends CheckboxIUProps {
667
667
  id: string;
668
668
  label: string;
669
+ checked: boolean;
670
+ onCheckedChange: (checked: boolean) => void;
669
671
  }
670
672
  declare const CheckBox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
671
673
 
package/dist/index.d.ts CHANGED
@@ -666,6 +666,8 @@ interface CheckboxIUProps extends ComponentProps<typeof CheckBoxUI> {
666
666
  interface CheckboxProps extends CheckboxIUProps {
667
667
  id: string;
668
668
  label: string;
669
+ checked: boolean;
670
+ onCheckedChange: (checked: boolean) => void;
669
671
  }
670
672
  declare const CheckBox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
671
673
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dafaz-ui/react",
3
- "version": "4.0.11",
3
+ "version": "4.0.12",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -5,6 +5,8 @@ import { Check } from '@phosphor-icons/react'
5
5
  interface CheckboxProps extends CheckboxIUProps {
6
6
  id: string
7
7
  label: string
8
+ checked: boolean
9
+ onCheckedChange: (checked: boolean) => void
8
10
  }
9
11
 
10
12
  export const CheckBox = forwardRef<