@useloops/design-system 1.4.239 → 1.4.240

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.
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ import * as _mui_system from '@mui/system';
12
12
  import { UniqueIdentifier } from '@dnd-kit/core';
13
13
  import { Mark } from '@mui/material/Slider/useSlider.types';
14
14
  import { LazyLoadImageProps } from 'react-lazy-load-image-component';
15
+ import { ChipProps } from '@mui/material/Chip';
15
16
 
16
17
  interface ColorRange$1 {
17
18
  0: string;
@@ -1459,14 +1460,13 @@ type NumberFieldProps = InputFieldBaseProps & {
1459
1460
  };
1460
1461
  declare const NumberField: FunctionComponent<NumberFieldProps>;
1461
1462
 
1462
- interface PillProps {
1463
- body: string;
1463
+ interface StyledChipProps extends ChipProps {
1464
1464
  variation?: 'default' | 'peach' | 'peachDark' | 'purple';
1465
1465
  weight?: 'heavy' | 'light';
1466
- icon?: ReactElement;
1467
- avatar?: ReactElement;
1468
- maxWidth?: number;
1469
- sx?: SxProps<Theme$1>;
1466
+ }
1467
+
1468
+ interface PillProps extends Omit<StyledChipProps, 'size' | 'color' | 'label' | 'children'> {
1469
+ body: string;
1470
1470
  }
1471
1471
  declare const Pill: FunctionComponent<PillProps>;
1472
1472