@cgi-learning-hub/ui 1.10.0-dev.1763395229 → 1.10.0-dev.1764670186

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
@@ -14,6 +14,7 @@ import { default as Box } from '@mui/material/Box';
14
14
  import { BoxProps } from '@mui/material';
15
15
  import { BoxProps as BoxProps_2 } from '@mui/material/Box';
16
16
  import { default as Breadcrumbs } from '@mui/material/Breadcrumbs';
17
+ import { default as ButtonGroup } from '@mui/material/ButtonGroup';
17
18
  import { ButtonProps } from '@mui/material/Button';
18
19
  import { default as Card } from '@mui/material/Card';
19
20
  import { default as CardActionArea } from '@mui/material/CardActionArea';
@@ -173,23 +174,7 @@ export { Breadcrumbs }
173
174
 
174
175
  export declare const Button: React.FunctionComponent<ButtonProps>;
175
176
 
176
- export declare const ButtonGroup: <T extends readonly ButtonItem<string>[]>({ viewMode, buttonList, onChange, colorVariant, size, orientation, }: ButtonGroupProps<T>) => JSX.Element;
177
-
178
- export declare interface ButtonGroupProps<T extends readonly ButtonItem<string>[]> {
179
- onChange: (value: T[number]["value"]) => void;
180
- viewMode: T[number]["value"];
181
- buttonList: T;
182
- colorVariant?: ColorVariant;
183
- size?: "small" | "medium" | "large";
184
- orientation?: "horizontal" | "vertical";
185
- }
186
-
187
- export declare interface ButtonItem<T extends string = string> {
188
- value: T;
189
- icon: ReactNode;
190
- text?: string;
191
- disabled?: boolean;
192
- }
177
+ export { ButtonGroup }
193
178
 
194
179
  export { ButtonProps }
195
180
 
@@ -237,8 +222,6 @@ export declare type ColorPickerSlotProps = {
237
222
  circlePickerBox?: BoxProps;
238
223
  };
239
224
 
240
- export declare type ColorVariant = "primary" | "secondary";
241
-
242
225
  export { Container }
243
226
 
244
227
  export declare interface CustomFile {
@@ -593,14 +576,6 @@ export declare interface StyledSwatchBoxProps {
593
576
  backgroundColor?: string;
594
577
  }
595
578
 
596
- export declare interface StyledToggleButtonGroupProps {
597
- colorvariant: ColorVariant;
598
- }
599
-
600
- export declare interface StyledToggleButtonProps {
601
- colorvariant: ColorVariant;
602
- }
603
-
604
579
  export { SvgIcon }
605
580
 
606
581
  export declare type SwatchProps = {
@@ -692,6 +667,7 @@ export * from "@mui/material/Backdrop";
692
667
  export * from "@mui/material/Badge";
693
668
  export * from "@mui/material/Box";
694
669
  export * from "@mui/material/Breadcrumbs";
670
+ export * from "@mui/material/ButtonGroup";
695
671
  export * from "@mui/material/Card";
696
672
  export * from "@mui/material/CardActionArea";
697
673
  export * from "@mui/material/CardActions";