@useloops/design-system 1.4.476 → 1.4.478

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,7 +11,7 @@ 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 { CheckboxProps as CheckboxProps$2 } from 'systems/WebCore';
14
+ import { TypographyProps as TypographyProps$2, CheckboxProps as CheckboxProps$2 } from 'systems/WebCore';
15
15
  import { TooltipProps as TooltipProps$2 } from 'systems/WebCore/Tooltip';
16
16
  import { CommentEmotion } from 'utils/EmojiCommentList';
17
17
  import { KpiIndicatorColor as KpiIndicatorColor$1 } from 'systems/Platform/KpiIndicator/utils';
@@ -2145,6 +2145,12 @@ interface StyledLinearProgressProps extends LinearProgressProps {
2145
2145
  barColor?: KpiIndicatorColor$1;
2146
2146
  }
2147
2147
 
2148
+ interface UnitTextProps extends Omit<TypographyProps$2, 'component' | 'variation'> {
2149
+ sx?: TypographyProps$2['sx'];
2150
+ checked?: boolean;
2151
+ disabled?: boolean;
2152
+ }
2153
+
2148
2154
  interface GraphBarSlotProps {
2149
2155
  graphBar?: StyledLinearProgressProps;
2150
2156
  graphBarTypography?: Omit<TypographyProps, 'component' | 'variation'>;
@@ -2152,6 +2158,8 @@ interface GraphBarSlotProps {
2152
2158
  icon?: IconProps$1;
2153
2159
  emojiIcon?: BoxProps$1;
2154
2160
  tooltip?: TooltipProps$2;
2161
+ unitText1?: UnitTextProps;
2162
+ unitText2?: UnitTextProps;
2155
2163
  }
2156
2164
  interface GraphBarProps {
2157
2165
  id: string;
@@ -2173,6 +2181,7 @@ interface GraphBarProps {
2173
2181
  disabled?: boolean;
2174
2182
  onChange?: (checked: boolean) => void;
2175
2183
  percentageSymbol?: boolean;
2184
+ compact?: boolean;
2176
2185
  slotProps?: GraphBarSlotProps;
2177
2186
  }
2178
2187
  declare const GraphBar: FunctionComponent<GraphBarProps>;