@useloops/design-system 1.4.492 → 1.4.494

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
@@ -11,9 +11,9 @@ import { IconName as IconName$1 } from 'systems/BrandCore/Icon';
11
11
  import { KpiIndicatorProps as KpiIndicatorProps$1 } from 'systems/Platform/KpiIndicator';
12
12
  import { BoxProps as BoxProps$1 } from '@mui/material/Box';
13
13
  import { IconProps as IconProps$1 } from 'systems/BrandCore/Icon/Icon';
14
- import { TypographyProps as TypographyProps$2, CheckboxProps as CheckboxProps$2, SurfaceProps as SurfaceProps$1, EmojiWrapperProps as EmojiWrapperProps$1, IconButtonProps as IconButtonProps$2 } from 'systems/WebCore';
15
14
  import { TooltipProps as TooltipProps$2 } from 'systems/WebCore/Tooltip';
16
15
  import { KpiIndicatorColor as KpiIndicatorColor$1 } from 'systems/Platform/KpiIndicator/utils';
16
+ import { TypographyProps as TypographyProps$2, SurfaceProps as SurfaceProps$1, EmojiWrapperProps as EmojiWrapperProps$1, IconButtonProps as IconButtonProps$2 } from 'systems/WebCore';
17
17
  import { ChipProps } from '@mui/material/Chip';
18
18
  import { SubmitHandler } from 'react-hook-form';
19
19
  import { NumericFormatProps } from 'react-number-format';
@@ -1189,6 +1189,7 @@ declare const BulletGraphic: FunctionComponent<BulletGraphicProps>;
1189
1189
 
1190
1190
  interface StyledCheckboxProps extends CheckboxProps$1 {
1191
1191
  sizing?: 'default' | 'lg';
1192
+ variant?: 'default' | 'secondary';
1192
1193
  }
1193
1194
 
1194
1195
  interface CheckboxProps {
@@ -1204,6 +1205,8 @@ interface CheckboxProps {
1204
1205
  id?: string;
1205
1206
  required?: boolean;
1206
1207
  value?: boolean;
1208
+ variant?: StyledCheckboxProps['variant'];
1209
+ sx?: SxProps<Theme>;
1207
1210
  }
1208
1211
  declare const Checkbox: FunctionComponent<CheckboxProps>;
1209
1212
 
@@ -2167,7 +2170,7 @@ interface UnitTextProps extends Omit<TypographyProps$2, 'component' | 'variation
2167
2170
  interface GraphBarSlotProps {
2168
2171
  graphBar?: StyledLinearProgressProps;
2169
2172
  graphBarTypography?: Omit<TypographyProps, 'component' | 'variation'>;
2170
- checkbox?: CheckboxProps$2;
2173
+ checkbox?: CheckboxProps;
2171
2174
  icon?: IconProps$1;
2172
2175
  emojiIcon?: BoxProps$1;
2173
2176
  tooltip?: TooltipProps$2;
@@ -2520,7 +2523,7 @@ interface EmojiQuestionEditorOptionProps {
2520
2523
  loading?: boolean;
2521
2524
  dragHandle?: boolean;
2522
2525
  onDelete?: () => void;
2523
- primaryAction?: () => void;
2526
+ primaryAction?: ReactNode;
2524
2527
  slotProps?: {
2525
2528
  surface?: SurfaceProps$1;
2526
2529
  icon?: EmojiWrapperProps$1;