@mindly/ui-components 5.33.2 → 5.33.4

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,4 +1,4 @@
1
- import React, { ChangeEvent } from 'react';
1
+ import React from 'react';
2
2
  export declare enum SelectItemType {
3
3
  Checkbox = "checkbox",
4
4
  Radio = "radio"
@@ -10,7 +10,7 @@ type Props = {
10
10
  name: string;
11
11
  value: string;
12
12
  checked: boolean;
13
- onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
13
+ onChange?: (value: string) => void;
14
14
  };
15
15
  declare const CheckBoxItem: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
16
16
  export default CheckBoxItem;
package/dist/index.d.ts CHANGED
@@ -1767,7 +1767,7 @@ type Props$3 = {
1767
1767
  name: string;
1768
1768
  value: string;
1769
1769
  checked: boolean;
1770
- onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
1770
+ onChange?: (value: string) => void;
1771
1771
  };
1772
1772
  declare const CheckBoxItem: React__default.ForwardRefExoticComponent<Props$3 & React__default.RefAttributes<HTMLInputElement>>;
1773
1773
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.33.2",
3
+ "version": "5.33.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",