@kashifd/jwero-components 0.8.7 → 0.8.9

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,10 +1,11 @@
1
- import { SxProps, Theme } from '@mui/material';
1
+ import { SxProps, Theme, CheckboxProps as MuiCheckboxProps } from '@mui/material';
2
2
 
3
3
  type CheckboxProps = {
4
4
  checked?: boolean;
5
5
  onChange?: (checked: boolean) => void;
6
6
  sx?: SxProps<Theme>;
7
7
  disabled?: boolean;
8
+ checkboxProps?: MuiCheckboxProps;
8
9
  };
9
- declare const JweroCheckbox: ({ checked, onChange, sx, disabled, }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const JweroCheckbox: ({ checked, onChange, sx, disabled, checkboxProps, }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export default JweroCheckbox;
@@ -25,6 +25,7 @@ export type JweroCustomFieldType = {
25
25
  inputFieldProps?: Omit<CustomTypographyProps, "children">;
26
26
  helperTextProps?: Omit<CustomTypographyProps, "children">;
27
27
  autocompleteProps?: any;
28
+ isCheckboxSelectAll?: boolean;
28
29
  };
29
- declare const JweroCustomField: ({ label, onChange, options, value: _value, textFieldProps, type, labelRight, sx, error, helperText, backgroundColor, tooltip, inputFieldProps, helperTextProps, autocompleteProps, }: JweroCustomFieldType) => import("react/jsx-runtime").JSX.Element;
30
+ declare const JweroCustomField: ({ label, onChange, options, value: _value, textFieldProps, type, labelRight, sx, error, helperText, backgroundColor, tooltip, inputFieldProps, helperTextProps, autocompleteProps, isCheckboxSelectAll, }: JweroCustomFieldType) => import("react/jsx-runtime").JSX.Element;
30
31
  export default JweroCustomField;
@@ -0,0 +1,5 @@
1
+ export declare const countryList: {
2
+ value: string;
3
+ label: string;
4
+ code: string;
5
+ }[];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kashifd/jwero-components",
3
3
  "description": "A Jwero UI library for React",
4
4
  "private": false,
5
- "version": "0.8.7",
5
+ "version": "0.8.9",
6
6
  "type": "module",
7
7
  "main": "dist/index.umd.js",
8
8
  "module": "dist/index.es.js",