@cere/cere-design-system 0.0.6 → 0.0.8

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.mts CHANGED
@@ -4,7 +4,7 @@ import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
4
4
  import { IconButtonProps as IconButtonProps$1 } from '@mui/material/IconButton';
5
5
  import { LoadingButtonProps as LoadingButtonProps$1 } from '@mui/lab';
6
6
  import { ButtonGroupProps as ButtonGroupProps$1, SelectProps, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, StepperProps as StepperProps$1, StepProps as StepProps$1, StepLabelProps as StepLabelProps$1, StepContentProps as StepContentProps$1, StepButtonProps as StepButtonProps$1, MenuProps as MenuProps$1, DialogProps as DialogProps$1, BoxProps, ListProps as ListProps$1, ListItemProps as ListItemProps$1, TableProps as TableProps$1, AccordionProps as AccordionProps$1, AppBarProps as AppBarProps$1, CollapseProps as CollapseProps$1, CircularProgressProps as CircularProgressProps$1 } from '@mui/material';
7
- export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid, Grid2Props, GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
7
+ export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid2 as Grid, Grid2Props as GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
8
8
  import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
9
9
  import { SwitchProps as SwitchProps$1 } from '@mui/material/Switch';
10
10
  import { CheckboxProps as CheckboxProps$1 } from '@mui/material/Checkbox';
@@ -203,11 +203,9 @@ interface DropdownProps extends Omit<SelectProps, 'size'> {
203
203
  }
204
204
  declare const Dropdown: React.FC<DropdownProps>;
205
205
 
206
- interface ToggleButtonProps extends ToggleButtonProps$1 {
207
- }
206
+ type ToggleButtonProps = ToggleButtonProps$1;
208
207
  declare const ToggleButton: React.FC<ToggleButtonProps>;
209
- interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
210
- }
208
+ type ToggleButtonGroupProps = ToggleButtonGroupProps$1;
211
209
  declare const ToggleButtonGroup: React.FC<ToggleButtonGroupProps>;
212
210
 
213
211
  interface SwitchProps extends SwitchProps$1 {
@@ -300,7 +298,7 @@ interface ServiceSelectorButtonProps {
300
298
  /**
301
299
  * Custom styles
302
300
  */
303
- sx?: any;
301
+ sx?: never;
304
302
  /**
305
303
  * Panel width
306
304
  * @default 350
@@ -359,8 +357,7 @@ interface WorkspaceSelectorButtonProps {
359
357
  }
360
358
  declare const WorkspaceSelectorButton: React.FC<WorkspaceSelectorButtonProps>;
361
359
 
362
- interface StepperProps extends StepperProps$1 {
363
- }
360
+ type StepperProps = StepperProps$1;
364
361
  /**
365
362
  * Stepper component - displays progress through a sequence of steps
366
363
  *
@@ -377,26 +374,22 @@ interface StepperProps extends StepperProps$1 {
377
374
  * ```
378
375
  */
379
376
  declare const Stepper: React.FC<StepperProps>;
380
- interface StepProps extends StepProps$1 {
381
- }
377
+ type StepProps = StepProps$1;
382
378
  /**
383
379
  * Step component - represents a single step in a Stepper
384
380
  */
385
381
  declare const Step: React.FC<StepProps>;
386
- interface StepLabelProps extends StepLabelProps$1 {
387
- }
382
+ type StepLabelProps = StepLabelProps$1;
388
383
  /**
389
384
  * StepLabel component - label for a Step
390
385
  */
391
386
  declare const StepLabel: React.FC<StepLabelProps>;
392
- interface StepContentProps extends StepContentProps$1 {
393
- }
387
+ type StepContentProps = StepContentProps$1;
394
388
  /**
395
389
  * StepContent component - optional content that appears below a StepLabel
396
390
  */
397
391
  declare const StepContent: React.FC<StepContentProps>;
398
- interface StepButtonProps extends StepButtonProps$1 {
399
- }
392
+ type StepButtonProps = StepButtonProps$1;
400
393
  /**
401
394
  * StepButton component - makes a Step clickable
402
395
  */
@@ -415,8 +408,7 @@ interface ChipProps extends Omit<ChipProps$1, 'color' | 'variant'> {
415
408
  }
416
409
  declare const Chip: React.FC<ChipProps>;
417
410
 
418
- interface TooltipProps extends TooltipProps$1 {
419
- }
411
+ type TooltipProps = TooltipProps$1;
420
412
  declare const Tooltip: React.FC<TooltipProps>;
421
413
 
422
414
  type ProgressVariant = 'linear' | 'circular';
@@ -596,8 +588,7 @@ declare const CardContent: React.FC<CardContentProps>;
596
588
  declare const CardHeader: React.FC<CardHeaderProps>;
597
589
  declare const CardActions: React.FC<CardActionsProps>;
598
590
 
599
- interface ListProps extends ListProps$1 {
600
- }
591
+ type ListProps = ListProps$1;
601
592
  declare const List: React.FC<ListProps>;
602
593
  interface ListItemProps extends ListItemProps$1 {
603
594
  primary?: React.ReactNode;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
4
4
  import { IconButtonProps as IconButtonProps$1 } from '@mui/material/IconButton';
5
5
  import { LoadingButtonProps as LoadingButtonProps$1 } from '@mui/lab';
6
6
  import { ButtonGroupProps as ButtonGroupProps$1, SelectProps, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, StepperProps as StepperProps$1, StepProps as StepProps$1, StepLabelProps as StepLabelProps$1, StepContentProps as StepContentProps$1, StepButtonProps as StepButtonProps$1, MenuProps as MenuProps$1, DialogProps as DialogProps$1, BoxProps, ListProps as ListProps$1, ListItemProps as ListItemProps$1, TableProps as TableProps$1, AccordionProps as AccordionProps$1, AppBarProps as AppBarProps$1, CollapseProps as CollapseProps$1, CircularProgressProps as CircularProgressProps$1 } from '@mui/material';
7
- export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid, Grid2Props, GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
7
+ export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid2 as Grid, Grid2Props as GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
8
8
  import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
9
9
  import { SwitchProps as SwitchProps$1 } from '@mui/material/Switch';
10
10
  import { CheckboxProps as CheckboxProps$1 } from '@mui/material/Checkbox';
@@ -203,11 +203,9 @@ interface DropdownProps extends Omit<SelectProps, 'size'> {
203
203
  }
204
204
  declare const Dropdown: React.FC<DropdownProps>;
205
205
 
206
- interface ToggleButtonProps extends ToggleButtonProps$1 {
207
- }
206
+ type ToggleButtonProps = ToggleButtonProps$1;
208
207
  declare const ToggleButton: React.FC<ToggleButtonProps>;
209
- interface ToggleButtonGroupProps extends ToggleButtonGroupProps$1 {
210
- }
208
+ type ToggleButtonGroupProps = ToggleButtonGroupProps$1;
211
209
  declare const ToggleButtonGroup: React.FC<ToggleButtonGroupProps>;
212
210
 
213
211
  interface SwitchProps extends SwitchProps$1 {
@@ -300,7 +298,7 @@ interface ServiceSelectorButtonProps {
300
298
  /**
301
299
  * Custom styles
302
300
  */
303
- sx?: any;
301
+ sx?: never;
304
302
  /**
305
303
  * Panel width
306
304
  * @default 350
@@ -359,8 +357,7 @@ interface WorkspaceSelectorButtonProps {
359
357
  }
360
358
  declare const WorkspaceSelectorButton: React.FC<WorkspaceSelectorButtonProps>;
361
359
 
362
- interface StepperProps extends StepperProps$1 {
363
- }
360
+ type StepperProps = StepperProps$1;
364
361
  /**
365
362
  * Stepper component - displays progress through a sequence of steps
366
363
  *
@@ -377,26 +374,22 @@ interface StepperProps extends StepperProps$1 {
377
374
  * ```
378
375
  */
379
376
  declare const Stepper: React.FC<StepperProps>;
380
- interface StepProps extends StepProps$1 {
381
- }
377
+ type StepProps = StepProps$1;
382
378
  /**
383
379
  * Step component - represents a single step in a Stepper
384
380
  */
385
381
  declare const Step: React.FC<StepProps>;
386
- interface StepLabelProps extends StepLabelProps$1 {
387
- }
382
+ type StepLabelProps = StepLabelProps$1;
388
383
  /**
389
384
  * StepLabel component - label for a Step
390
385
  */
391
386
  declare const StepLabel: React.FC<StepLabelProps>;
392
- interface StepContentProps extends StepContentProps$1 {
393
- }
387
+ type StepContentProps = StepContentProps$1;
394
388
  /**
395
389
  * StepContent component - optional content that appears below a StepLabel
396
390
  */
397
391
  declare const StepContent: React.FC<StepContentProps>;
398
- interface StepButtonProps extends StepButtonProps$1 {
399
- }
392
+ type StepButtonProps = StepButtonProps$1;
400
393
  /**
401
394
  * StepButton component - makes a Step clickable
402
395
  */
@@ -415,8 +408,7 @@ interface ChipProps extends Omit<ChipProps$1, 'color' | 'variant'> {
415
408
  }
416
409
  declare const Chip: React.FC<ChipProps>;
417
410
 
418
- interface TooltipProps extends TooltipProps$1 {
419
- }
411
+ type TooltipProps = TooltipProps$1;
420
412
  declare const Tooltip: React.FC<TooltipProps>;
421
413
 
422
414
  type ProgressVariant = 'linear' | 'circular';
@@ -596,8 +588,7 @@ declare const CardContent: React.FC<CardContentProps>;
596
588
  declare const CardHeader: React.FC<CardHeaderProps>;
597
589
  declare const CardActions: React.FC<CardActionsProps>;
598
590
 
599
- interface ListProps extends ListProps$1 {
600
- }
591
+ type ListProps = ListProps$1;
601
592
  declare const List: React.FC<ListProps>;
602
593
  interface ListItemProps extends ListItemProps$1 {
603
594
  primary?: React.ReactNode;
package/dist/index.js CHANGED
@@ -64,7 +64,7 @@ __export(index_exports, {
64
64
  FormControlLabel: () => import_material2.FormControlLabel,
65
65
  FormHelperText: () => import_material2.FormHelperText,
66
66
  FormLabel: () => import_material2.FormLabel,
67
- Grid: () => import_material17.Grid,
67
+ Grid: () => import_material17.Grid2,
68
68
  IconButton: () => IconButton,
69
69
  InputAdornment: () => import_material2.InputAdornment,
70
70
  InputLabel: () => import_material2.InputLabel,
@@ -2467,7 +2467,7 @@ var ListItem3 = ({
2467
2467
  }
2468
2468
  ),
2469
2469
  children,
2470
- action && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_material15.ListItemSecondaryAction, { children: action })
2470
+ action && action
2471
2471
  ] });
2472
2472
  };
2473
2473