@rabex-kit/rabex-ui 0.2.77 → 0.2.79

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.
@@ -11,7 +11,7 @@ export declare type CheckboxProps = MuiCheckboxProps & {
11
11
  *
12
12
  *
13
13
  * ```typescript
14
- * import { Checkbox } from '@rabex-kit/core';
14
+ * import { Checkbox } from '@rabex-kit/rabex-ui';
15
15
  * ```
16
16
  *
17
17
  * @param props
@@ -9,7 +9,7 @@ export declare type FormControlProps = MuiFormControlProps;
9
9
  * You can read Material-UI FormControl Documentation [here](https://mui.com/material-ui/api/form-control/).
10
10
  *
11
11
  * ```typescript
12
- * import { FormControl } from '@rabex-kit/core';
12
+ * import { FormControl } from '@rabex-kit/rabex-ui';
13
13
  * ```
14
14
  *
15
15
  *
@@ -5,6 +5,12 @@ declare const _default: {
5
5
  ownerState: any;
6
6
  theme: any;
7
7
  }) => {
8
+ padding: string;
9
+ color: any;
10
+ '& .MuiSvgIcon-root': {
11
+ fontSize: string;
12
+ borderRadius: string;
13
+ };
8
14
  '&.Mui-checked': {
9
15
  color?: any;
10
16
  };
@@ -1649,7 +1649,7 @@ var _excluded$3 = ["error"];
1649
1649
  *
1650
1650
  *
1651
1651
  * ```typescript
1652
- * import { Checkbox } from '@rabex-kit/core';
1652
+ * import { Checkbox } from '@rabex-kit/rabex-ui';
1653
1653
  * ```
1654
1654
  *
1655
1655
  * @param props
@@ -1666,6 +1666,11 @@ var Checkbox = function Checkbox(_ref) {
1666
1666
  }
1667
1667
  }));
1668
1668
  };
1669
+ Checkbox.displayName = 'Checkbox';
1670
+ Checkbox.defaultProps = {
1671
+ size: 'small',
1672
+ disableRipple: true
1673
+ };
1669
1674
 
1670
1675
  var _excluded$4 = ["label", "size", "mode"];
1671
1676
  var getTypography = function getTypography(size, mode) {
@@ -1896,7 +1901,7 @@ var DynamicBackgroundContainer = function DynamicBackgroundContainer(_ref) {
1896
1901
  * You can read Material-UI FormControl Documentation [here](https://mui.com/material-ui/api/form-control/).
1897
1902
  *
1898
1903
  * ```typescript
1899
- * import { FormControl } from '@rabex-kit/core';
1904
+ * import { FormControl } from '@rabex-kit/rabex-ui';
1900
1905
  * ```
1901
1906
  *
1902
1907
  *
@@ -5435,6 +5440,13 @@ var RabexCheckbox = {
5435
5440
  var ownerState = _ref.ownerState,
5436
5441
  theme = _ref.theme;
5437
5442
  return {
5443
+ padding: '4px',
5444
+ // Default unchecked state
5445
+ color: theme.palette.base[400],
5446
+ '& .MuiSvgIcon-root': {
5447
+ fontSize: '16px',
5448
+ borderRadius: '4px' // Optional: slight rounding for modern look
5449
+ },
5438
5450
  '&.Mui-checked': _extends({}, ownerState.color === 'secondary' && {
5439
5451
  color: theme.palette.grayBackground.A100
5440
5452
  }),