asma-core-ui 2.18.32 → 2.18.34

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.
Files changed (57) hide show
  1. package/Readme.md +1 -1
  2. package/dist/asma-core-ui.es.js +6 -6
  3. package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +5 -2
  4. package/dist/src/components/data-display/badge/StyledBadge.d.ts +5 -1
  5. package/dist/src/components/data-display/chip/StyledChip.d.ts +4 -1
  6. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +4 -1
  7. package/dist/src/components/data-display/typography/StyledTypography.d.ts +4 -1
  8. package/dist/src/components/data-grid/StyledDataGrid.d.ts +1 -1
  9. package/dist/src/components/data-grid/StyledGridActionsCellItem.d.ts +3 -1
  10. package/dist/src/components/data-grid/types.d.ts +1 -0
  11. package/dist/src/components/feedback/alert/StyledAlert.d.ts +3 -1
  12. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +3 -1
  13. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +2 -1
  14. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +3 -1
  15. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +3 -1
  16. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +4 -1
  17. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -0
  18. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +3 -1
  19. package/dist/src/components/inputs/button/StyledButton.d.ts +2 -2
  20. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +3 -1
  21. package/dist/src/components/inputs/checkbox/StyledCheckbox.stories.d.ts +4 -1
  22. package/dist/src/components/inputs/date-picker/StyledCalendarPicker.d.ts +3 -1
  23. package/dist/src/components/inputs/date-picker/StyledDatePicker.d.ts +2 -1
  24. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +4 -3
  25. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +3 -1
  26. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +3 -1
  27. package/dist/src/components/inputs/rich-input/RichInput.d.ts +1 -0
  28. package/dist/src/components/inputs/select/StyledSelect.d.ts +3 -2
  29. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +31 -1
  30. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +1 -1
  31. package/dist/src/components/inputs/slider/StyledSlider.d.ts +4 -1
  32. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +3 -1
  33. package/dist/src/components/inputs/time-picker/StyledTimePicker.d.ts +1 -0
  34. package/dist/src/components/inputs/time-picker/components/TimePickerBody.d.ts +3 -1
  35. package/dist/src/components/inputs/time-picker/components/TimePickerColumn.d.ts +3 -1
  36. package/dist/src/components/layout/container/StyledContainer.d.ts +3 -1
  37. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +4 -1
  38. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +3 -1
  39. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +3 -1
  40. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +4 -1
  41. package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +6 -1
  42. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +4 -1
  43. package/dist/src/components/miscellaneous/StyledStack.d.ts +4 -1
  44. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +3 -1
  45. package/dist/src/components/navigation/menu/StyledMenu.d.ts +3 -1
  46. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +31 -1
  47. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +20 -1
  48. package/dist/src/components/navigation/tabs/StyledTab.d.ts +3 -1
  49. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +4 -1
  50. package/dist/src/components/surfaces/accordion/StyledAccordion.d.ts +6 -1
  51. package/dist/src/components/surfaces/accordion/StyledAccordionDetails.d.ts +3 -1
  52. package/dist/src/components/surfaces/accordion/StyledAccordionSummary.d.ts +27 -1
  53. package/dist/src/components/table/StyledTable.d.ts +1 -1
  54. package/dist/src/components/table/types.d.ts +1 -0
  55. package/dist/src/components/utils/popover/StyledPopover.d.ts +3 -1
  56. package/dist/style.css +1 -1
  57. package/package.json +1 -1
@@ -1,2 +1,5 @@
1
- /// <reference types="react" />
2
- export declare const StyledWidgetTitle: React.FC<React.PropsWithChildren>;
1
+ import type { ReactNode } from 'react';
2
+ export declare const StyledWidgetTitle: React.FC<{
3
+ dataTest?: string;
4
+ children: ReactNode;
5
+ }>;
@@ -1,2 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { type BadgeProps } from '@mui/material';
2
- export declare const StyledBadge: ({ color, ...props }: BadgeProps) => JSX.Element;
3
+ export interface StyledBadgeProps extends BadgeProps {
4
+ dataTest?: string;
5
+ }
6
+ export declare const StyledBadge: React.FC<StyledBadgeProps>;
@@ -1,2 +1,5 @@
1
1
  import { type ChipProps } from '@mui/material';
2
- export declare const StyledChip: (props: ChipProps) => JSX.Element;
2
+ export interface StyledChipProps extends ChipProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledChip: ({ dataTest, ...props }: StyledChipProps) => JSX.Element;
@@ -1,2 +1,5 @@
1
1
  import { type TooltipProps } from '@mui/material';
2
- export declare const StyledTooltip: (props: TooltipProps) => JSX.Element;
2
+ export interface StyledTooltipProps extends TooltipProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledTooltip: ({ dataTest, ...props }: StyledTooltipProps) => JSX.Element;
@@ -1,2 +1,5 @@
1
1
  import { type TypographyProps } from '@mui/material';
2
- export declare const StyledTypography: (props: TypographyProps) => JSX.Element;
2
+ export interface StyledTypographyProps extends TypographyProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledTypography: ({ dataTest, ...props }: StyledTypographyProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import type { IBaseStyledDataGrid } from './types';
2
2
  export declare const StyledDataGrid: {
3
- (props: IBaseStyledDataGrid): JSX.Element;
3
+ ({ dataTest, ...props }: IBaseStyledDataGrid): JSX.Element;
4
4
  defaultProps: {
5
5
  disableHeaderPin: boolean;
6
6
  disableRowActions: boolean;
@@ -1,3 +1,5 @@
1
1
  import { type GridActionsCellItemProps } from '@mui/x-data-grid';
2
2
  import type { RefAttributes } from 'react';
3
- export declare const StyledGridActionsCellItem: (props: GridActionsCellItemProps & RefAttributes<HTMLButtonElement>) => JSX.Element;
3
+ export declare const StyledGridActionsCellItem: ({ dataTest, ...props }: GridActionsCellItemProps & RefAttributes<HTMLButtonElement> & {
4
+ dataTest?: string | undefined;
5
+ }) => JSX.Element;
@@ -5,5 +5,6 @@ export interface IBaseStyledDataGrid extends DataGridProps {
5
5
  disableRowActions?: boolean;
6
6
  disableHeaderPin?: boolean;
7
7
  fixedColumns?: string[];
8
+ dataTest?: string;
8
9
  rowActions?: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
9
10
  }
@@ -1,2 +1,4 @@
1
1
  import { type AlertProps } from '@mui/material';
2
- export declare const StyledAlert: (props: AlertProps) => JSX.Element;
2
+ export declare const StyledAlert: ({ dataTest, ...props }: AlertProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import { type AlertTitleProps } from '@mui/material';
2
- export declare const StyledAlertTitle: (props: AlertTitleProps) => JSX.Element;
2
+ export declare const StyledAlertTitle: ({ dataTest, ...props }: AlertTitleProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -3,5 +3,6 @@ import type { ReactNode } from 'react';
3
3
  export interface IStyledDialogProps extends DialogProps {
4
4
  onCloseText?: ReactNode;
5
5
  showCloseIcon?: boolean;
6
+ dataTest?: string;
6
7
  }
7
- export declare const StyledDialog: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: IStyledDialogProps) => JSX.Element;
8
+ export declare const StyledDialog: ({ onCloseText, children, onClose, dataTest, showCloseIcon, ...rest }: IStyledDialogProps) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import { type DialogActionsProps } from '@mui/material';
2
- export declare const StyledDialogActions: (props: DialogActionsProps) => JSX.Element;
2
+ export declare const StyledDialogActions: ({ dataTest, ...props }: DialogActionsProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import { type DialogContentProps } from '@mui/material';
2
- export declare const StyledDialogContent: ({ children, classes, className, ...rest }: DialogContentProps) => JSX.Element;
2
+ export declare const StyledDialogContent: ({ children, classes, className, dataTest, ...rest }: DialogContentProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -1,2 +1,5 @@
1
1
  import type { DialogTitleProps } from '@mui/material/DialogTitle/DialogTitle';
2
- export declare const StyledDialogTitle: ({ children, ...rest }: DialogTitleProps) => JSX.Element | null;
2
+ export interface StyledDialogTitleProps extends DialogTitleProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledDialogTitle: ({ children, dataTest, ...rest }: StyledDialogTitleProps) => JSX.Element | null;
@@ -6,6 +6,7 @@ interface StyledAlertSnackbarProps extends CustomContentProps {
6
6
  alertClassName?: string;
7
7
  alertVariant?: 'standard' | 'filled' | 'outlined';
8
8
  closeButton?: boolean;
9
+ dataTest: string;
9
10
  }
10
11
  export declare const StyledAlertSnackbar: import("react").ForwardRefExoticComponent<StyledAlertSnackbarProps & import("react").RefAttributes<HTMLDivElement>>;
11
12
  export {};
@@ -1,2 +1,4 @@
1
1
  import { type SnackbarProps } from '@mui/material';
2
- export declare const StyledSnackbar: ({ children, ...props }: SnackbarProps) => JSX.Element;
2
+ export declare const StyledSnackbar: ({ children, dataTest, ...props }: SnackbarProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -2,7 +2,7 @@ import React, { type ReactNode } from 'react';
2
2
  export type StyledButtonType = 'contained' | 'outlined' | 'text' | 'textGray';
3
3
  type commonProps = {
4
4
  refLink?: React.Ref<HTMLButtonElement>;
5
- size?: 'large' | 'small';
5
+ size?: 'large' | 'small' | 'medium';
6
6
  startIcon?: ReactNode;
7
7
  endIcon?: ReactNode;
8
8
  dataTest?: string;
@@ -25,7 +25,7 @@ export type StyledButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> &
25
25
  *
26
26
  * Custom props:
27
27
  * @param variant - 'contained' | 'outlined' | 'text' | 'textGray'
28
- * @param size - 'large' | 'small'
28
+ * @param size - 'large' | 'small' | 'medium'
29
29
  * @param startIcon - ReactNode
30
30
  * @param endIcon - ReactNode
31
31
  * @param error - boolean
@@ -1,2 +1,4 @@
1
1
  import { type CheckboxProps } from '@mui/material';
2
- export declare const StyledCheckbox: (props: CheckboxProps) => JSX.Element;
2
+ export declare const StyledCheckbox: ({ dataTest, ...props }: CheckboxProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -2,12 +2,15 @@
2
2
  import type { StoryObj } from '@storybook/react';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: (props: import("@mui/material").CheckboxProps) => JSX.Element;
5
+ component: ({ dataTest, ...props }: import("@mui/material").CheckboxProps & {
6
+ dataTest?: string | undefined;
7
+ }) => JSX.Element;
6
8
  tags: string[];
7
9
  argTypes: {};
8
10
  args: {
9
11
  disableRipple: true;
10
12
  indeterminate: false;
13
+ dataTest: string;
11
14
  };
12
15
  };
13
16
  export default meta;
@@ -1,4 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { DayPicker } from 'react-day-picker';
3
3
  export type CalendarProps = React.ComponentProps<typeof DayPicker>;
4
- export declare const StyledCalendarPicker: ({ showOutsideDays, ...props }: CalendarProps) => JSX.Element;
4
+ export declare const StyledCalendarPicker: ({ dataTest, showOutsideDays, ...props }: (import("react-day-picker").DayPickerDefaultProps | import("react-day-picker").DayPickerSingleProps | import("react-day-picker").DayPickerMultipleProps | import("react-day-picker").DayPickerRangeProps) & {
5
+ dataTest?: string | undefined;
6
+ }) => JSX.Element;
@@ -5,6 +5,7 @@ type CommonDatePickerProps = {
5
5
  inputClassName?: string;
6
6
  onClear?: () => void;
7
7
  allowClear?: boolean;
8
+ dataTest?: string;
8
9
  } & CalendarProps;
9
10
  type CompactRangeProps = {
10
11
  mode: 'range';
@@ -32,5 +33,5 @@ type DefaultSingleProps = {
32
33
  placeholderTo?: never;
33
34
  };
34
35
  export type DatePickerProps = CommonDatePickerProps & (CompactRangeProps | DefaultRangeProps | DefaultSingleProps);
35
- export declare const StyledDatePicker: ({ placeholder, placeholderFrom, placeholderTo, compact, dateFormat, className, inputClassName, disabled, onClear, allowClear, ...props }: DatePickerProps) => JSX.Element;
36
+ export declare const StyledDatePicker: ({ placeholder, placeholderFrom, placeholderTo, compact, dateFormat, className, inputClassName, disabled, onClear, allowClear, dataTest, ...props }: DatePickerProps) => JSX.Element;
36
37
  export {};
@@ -5,7 +5,8 @@ import { type TextFieldProps } from '@mui/material';
5
5
  * inputRef to get Node of Input Element inside
6
6
  *
7
7
  */
8
- export declare const StyledInputField: (props: TextFieldProps & {
9
- allowClear?: boolean;
10
- onClear?: () => void;
8
+ export declare const StyledInputField: ({ dataTest, allowClear, onClear, ...props }: TextFieldProps & {
9
+ allowClear?: boolean | undefined;
10
+ onClear?: (() => void) | undefined;
11
+ dataTest?: string | undefined;
11
12
  }) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import { type RadioProps } from '@mui/material';
2
- export declare const StyledRadio: (props: RadioProps) => JSX.Element;
2
+ export declare const StyledRadio: ({ dataTest, ...props }: RadioProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import { type RadioGroupProps } from '@mui/material';
2
- export declare const StyledRadioGroup: (props: RadioGroupProps) => JSX.Element;
2
+ export declare const StyledRadioGroup: ({ dataTest, ...props }: RadioGroupProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -7,6 +7,7 @@ export interface IRichInput extends ReactQuill.ReactQuillProps {
7
7
  error?: string;
8
8
  is_error?: boolean;
9
9
  is_warning?: boolean;
10
+ dataTest?: string;
10
11
  }
11
12
  declare const RichInput: FC<IRichInput>;
12
13
  export { RichInput };
@@ -5,6 +5,7 @@ import { type SelectProps } from '@mui/material';
5
5
  * inputRef to get Node of Input Element inside
6
6
  *
7
7
  */
8
- export declare const StyledSelect: (props: SelectProps & {
9
- allowClear?: boolean;
8
+ export declare const StyledSelect: ({ dataTest, ...props }: SelectProps<unknown> & {
9
+ allowClear?: boolean | undefined;
10
+ dataTest?: string | undefined;
10
11
  }) => JSX.Element;
@@ -1,2 +1,32 @@
1
+ /// <reference types="react" />
1
2
  import { type MenuItemProps } from '@mui/material';
2
- export declare const StyledSelectItem: (item: MenuItemProps) => JSX.Element;
3
+ export declare const StyledSelectItem: ({ dataTest, ...item }: {
4
+ autoFocus?: boolean | undefined;
5
+ classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
6
+ dense?: boolean | undefined;
7
+ disabled?: boolean | undefined;
8
+ disableGutters?: boolean | undefined;
9
+ divider?: boolean | undefined;
10
+ selected?: boolean | undefined;
11
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
12
+ } & Omit<{
13
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
14
+ centerRipple?: boolean | undefined;
15
+ children?: import("react").ReactNode;
16
+ classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
17
+ disabled?: boolean | undefined;
18
+ disableRipple?: boolean | undefined;
19
+ disableTouchRipple?: boolean | undefined;
20
+ focusRipple?: boolean | undefined;
21
+ focusVisibleClassName?: string | undefined;
22
+ LinkComponent?: import("react").ElementType<any> | undefined;
23
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
24
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
25
+ tabIndex?: number | undefined;
26
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
27
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
28
+ }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
29
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
30
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "children" | "autoFocus" | "tabIndex" | "disabled" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & {
31
+ dataTest?: string | undefined;
32
+ }) => JSX.Element;
@@ -6,6 +6,6 @@ import { type AutocompleteProps, type ChipTypeMap } from '@mui/material';
6
6
  * inputRef to get Node of Input Element inside
7
7
  *
8
8
  */
9
- export declare function StyledSelectAutocomplete<T, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>(props: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
9
+ export declare function StyledSelectAutocomplete<T, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']>({ dataTest, ...props }: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
10
10
  dataTest: string;
11
11
  }): JSX.Element;
@@ -1,2 +1,5 @@
1
1
  import { type SliderProps } from '@mui/material';
2
- export declare const StyledSlider: (props: SliderProps) => JSX.Element;
2
+ export interface StyledSliderProps extends SliderProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledSlider: ({ dataTest, ...props }: StyledSliderProps) => JSX.Element;
@@ -1,3 +1,5 @@
1
1
  import { type SwitchProps as _SwitchProps } from '@mui/material';
2
2
  export type SwitchProps = _SwitchProps;
3
- export declare const StyledSwitch: (props: SwitchProps) => JSX.Element;
3
+ export declare const StyledSwitch: ({ dataTest, ...props }: _SwitchProps & {
4
+ dataTest?: string | undefined;
5
+ }) => JSX.Element;
@@ -5,5 +5,6 @@ export type StyledTimePickerProps = {
5
5
  inputClassName?: string;
6
6
  value?: Date;
7
7
  onSelect: (date: Date | undefined) => void;
8
+ dataTest?: string;
8
9
  };
9
10
  export declare const StyledTimePicker: React.FC<StyledTimePickerProps>;
@@ -1,5 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { StyledTimePickerProps } from '../StyledTimePicker';
3
3
  type TimePickerBodyProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName'>;
4
- export declare const TimePickerBody: React.FC<TimePickerBodyProps>;
4
+ export declare const TimePickerBody: React.FC<TimePickerBodyProps & {
5
+ dataTest?: string;
6
+ }>;
5
7
  export {};
@@ -3,4 +3,6 @@ import type { StyledTimePickerProps } from '../StyledTimePicker';
3
3
  export type TimePickerColumnProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName'> & {
4
4
  type: 'hours' | 'minutes';
5
5
  };
6
- export declare const TimePickerColumn: React.FC<TimePickerColumnProps>;
6
+ export declare const TimePickerColumn: React.FC<TimePickerColumnProps & {
7
+ dataTest?: string;
8
+ }>;
@@ -1,3 +1,5 @@
1
1
  import { type ContainerProps } from '@mui/material';
2
2
  import type { FC } from 'react';
3
- export declare const StyledContainer: FC<ContainerProps>;
3
+ export declare const StyledContainer: FC<ContainerProps & {
4
+ dataTest?: string;
5
+ }>;
@@ -1,2 +1,5 @@
1
1
  import { type FormControlProps } from '@mui/material';
2
- export declare const StyledFormControl: (props: FormControlProps) => JSX.Element;
2
+ export interface StyledFormControlProps extends FormControlProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledFormControl: ({ dataTest, ...props }: StyledFormControlProps) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import { type FormControlLabelProps } from '@mui/material';
2
- export declare const StyledFormControlLabel: (props: FormControlLabelProps) => JSX.Element;
2
+ export declare const StyledFormControlLabel: ({ dataTest, ...props }: FormControlLabelProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -1,3 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { type FormGroupProps } from '@mui/material';
3
- export declare const StyledFormGroup: React.FC<FormGroupProps>;
3
+ export declare const StyledFormGroup: React.FC<FormGroupProps & {
4
+ dataTest?: string;
5
+ }>;
@@ -1,2 +1,5 @@
1
1
  import { type FormHelperTextProps } from '@mui/material';
2
- export declare const StyledFormHelperText: (props: FormHelperTextProps) => JSX.Element;
2
+ export interface StyledFormHelperTextProps extends FormHelperTextProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledFormHelperText: ({ dataTest, ...props }: StyledFormHelperTextProps) => JSX.Element;
@@ -1,2 +1,7 @@
1
+ /// <reference types="react" />
1
2
  import { type FormLabelProps } from '@mui/material';
2
- export declare const StyledFormLabel: (props: FormLabelProps) => JSX.Element;
3
+ export declare const StyledFormLabel: ({ dataTest, ...props }: import("@mui/material").FormLabelBaseProps & import("@mui/material").FormLabelOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
4
+ ref?: ((instance: HTMLLabelElement | null) => void) | import("react").RefObject<HTMLLabelElement> | null | undefined;
5
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "form" | "slot" | "title" | "color" | "sx" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "error" | "disabled" | "required" | "htmlFor" | "filled" | "focused"> & {
6
+ dataTest?: string | undefined;
7
+ }) => JSX.Element;
@@ -1,2 +1,5 @@
1
1
  import { type InputLabelProps } from '@mui/material';
2
- export declare const StyledInputLabel: (props: InputLabelProps) => JSX.Element;
2
+ export interface StyledInputLabelProps extends InputLabelProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledInputLabel: ({ dataTest, ...props }: StyledInputLabelProps) => JSX.Element;
@@ -1,2 +1,5 @@
1
1
  import { type StackProps } from '@mui/material';
2
- export declare const StyledStack: (props: StackProps) => JSX.Element;
2
+ export interface StyledStackProps extends StackProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledStack: ({ dataTest, ...props }: StyledStackProps) => JSX.Element;
@@ -1,3 +1,5 @@
1
1
  import { type DrawerProps } from '@mui/material';
2
2
  import type { FC } from 'react';
3
- export declare const StyledDrawer: FC<DrawerProps>;
3
+ export declare const StyledDrawer: FC<DrawerProps & {
4
+ dataTest?: string;
5
+ }>;
@@ -1,2 +1,4 @@
1
1
  import { type MenuProps } from '@mui/material';
2
- export declare const StyledMenu: (props: MenuProps) => JSX.Element;
2
+ export declare const StyledMenu: ({ dataTest, ...props }: MenuProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -1,2 +1,32 @@
1
+ /// <reference types="react" />
1
2
  import { type MenuItemProps } from '@mui/material';
2
- export declare const StyledMenuItem: (props: MenuItemProps) => JSX.Element;
3
+ export declare const StyledMenuItem: ({ dataTest, ...props }: {
4
+ autoFocus?: boolean | undefined;
5
+ classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
6
+ dense?: boolean | undefined;
7
+ disabled?: boolean | undefined;
8
+ disableGutters?: boolean | undefined;
9
+ divider?: boolean | undefined;
10
+ selected?: boolean | undefined;
11
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
12
+ } & Omit<{
13
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
14
+ centerRipple?: boolean | undefined;
15
+ children?: import("react").ReactNode;
16
+ classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
17
+ disabled?: boolean | undefined;
18
+ disableRipple?: boolean | undefined;
19
+ disableTouchRipple?: boolean | undefined;
20
+ focusRipple?: boolean | undefined;
21
+ focusVisibleClassName?: string | undefined;
22
+ LinkComponent?: import("react").ElementType<any> | undefined;
23
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
24
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
25
+ tabIndex?: number | undefined;
26
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
27
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
28
+ }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
29
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
30
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "children" | "autoFocus" | "tabIndex" | "disabled" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & {
31
+ dataTest?: string | undefined;
32
+ }) => JSX.Element;
@@ -1,2 +1,21 @@
1
+ /// <reference types="react" />
1
2
  import { type MenuListProps } from '@mui/material';
2
- export declare const StyledMenuList: (props: MenuListProps) => JSX.Element;
3
+ export declare const StyledMenuList: ({ dataTest, ...props }: {
4
+ autoFocus?: boolean | undefined;
5
+ autoFocusItem?: boolean | undefined;
6
+ children?: import("react").ReactNode;
7
+ disabledItemsFocusable?: boolean | undefined;
8
+ disableListWrap?: boolean | undefined;
9
+ variant?: "menu" | "selectedMenu" | undefined;
10
+ } & {
11
+ children?: import("react").ReactNode;
12
+ classes?: Partial<import("@mui/material").ListClasses> | undefined;
13
+ dense?: boolean | undefined;
14
+ disablePadding?: boolean | undefined;
15
+ subheader?: import("react").ReactNode;
16
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
17
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
18
+ ref?: ((instance: HTMLUListElement | null) => void) | import("react").RefObject<HTMLUListElement> | null | undefined;
19
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "children" | "autoFocus" | "dense" | "disabledItemsFocusable" | "disableListWrap" | "autoFocusItem" | "disablePadding" | "subheader"> & {
20
+ dataTest?: string | undefined;
21
+ }) => JSX.Element;
@@ -1,3 +1,5 @@
1
1
  import { type TabProps } from '@mui/material';
2
2
  import type { FC } from 'react';
3
- export declare const StyledTab: FC<TabProps>;
3
+ export declare const StyledTab: FC<TabProps & {
4
+ dataTest?: string;
5
+ }>;
@@ -1,3 +1,6 @@
1
1
  import { type TabsProps } from '@mui/material';
2
2
  import type { FC } from 'react';
3
- export declare const StyledTabs: FC<TabsProps>;
3
+ export interface StyledTabsProps extends TabsProps {
4
+ dataTest?: string;
5
+ }
6
+ export declare const StyledTabs: FC<StyledTabsProps>;
@@ -1,2 +1,7 @@
1
1
  import { type AccordionProps } from '@mui/material';
2
- export declare const StyledAccordion: (props: AccordionProps) => JSX.Element;
2
+ export interface StyledAccordionProps extends AccordionProps {
3
+ dataTest?: string;
4
+ }
5
+ export declare const StyledAccordion: ({ dataTest, ...props }: StyledAccordionProps & {
6
+ dataTest?: string | undefined;
7
+ }) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import { type AccordionDetailsProps } from '@mui/material';
2
- export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
2
+ export declare const StyledAccordionDetails: ({ dataTest, ...props }: AccordionDetailsProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -1,2 +1,28 @@
1
+ /// <reference types="react" />
1
2
  import { type AccordionSummaryProps } from '@mui/material';
2
- export declare const StyledAccordionSummary: (props: AccordionSummaryProps) => JSX.Element;
3
+ export declare const StyledAccordionSummary: ({ dataTest, ...props }: {
4
+ children?: import("react").ReactNode;
5
+ classes?: Partial<import("@mui/material").AccordionSummaryClasses> | undefined;
6
+ expandIcon?: import("react").ReactNode;
7
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
8
+ } & Omit<{
9
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
10
+ centerRipple?: boolean | undefined;
11
+ children?: import("react").ReactNode;
12
+ classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
13
+ disabled?: boolean | undefined;
14
+ disableRipple?: boolean | undefined;
15
+ disableTouchRipple?: boolean | undefined;
16
+ focusRipple?: boolean | undefined;
17
+ focusVisibleClassName?: string | undefined;
18
+ LinkComponent?: import("react").ElementType<any> | undefined;
19
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
20
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
21
+ tabIndex?: number | undefined;
22
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
23
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
24
+ }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
25
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
26
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "children" | "tabIndex" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & {
27
+ dataTest?: string | undefined;
28
+ }) => JSX.Element;
@@ -2,4 +2,4 @@ import type { StyledTableProps } from './types';
2
2
  export declare const SELECT_COLUMN_ID = "select";
3
3
  export declare const StyledTable: <TData extends {
4
4
  id: string | number;
5
- }, TCustomData = Record<string, unknown>>({ actions, autoSize, columns, data, customSubRowData, initialState, enableRowSelection, headerPin, loading, noRowsOverlay, tableInstanceRef, className, rowHeight, tdClassName, thClassName, getRowClassName, onRowClick, renderSubRows, ...rest }: StyledTableProps<TData, TCustomData>) => JSX.Element;
5
+ }, TCustomData = Record<string, unknown>>({ actions, autoSize, columns, data, customSubRowData, initialState, enableRowSelection, headerPin, loading, noRowsOverlay, tableInstanceRef, className, rowHeight, tdClassName, thClassName, getRowClassName, onRowClick, renderSubRows, dataTest, ...rest }: StyledTableProps<TData, TCustomData>) => JSX.Element;
@@ -67,4 +67,5 @@ export interface StyledTableProps<TData, TCustomData> extends Omit<TableOptions<
67
67
  row: TData;
68
68
  }) => ReactElement;
69
69
  getRowSelectionIds?: (ids: string[]) => void;
70
+ dataTest?: string;
70
71
  }
@@ -1,2 +1,4 @@
1
1
  import { type PopoverProps } from '@mui/material';
2
- export declare const StyledPopover: (props: PopoverProps) => JSX.Element;
2
+ export declare const StyledPopover: ({ dataTest, ...props }: PopoverProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;