asma-core-ui 1.9.5 → 1.9.7

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 (85) hide show
  1. package/Readme.md +2 -2
  2. package/dist/asma-core-ui.es.js +21 -21
  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/icons/delete-outline-icon/DeleteOutlineIcon.d.ts +3 -0
  7. package/dist/src/components/data-display/icons/delete-outline-icon/index.d.ts +1 -0
  8. package/dist/src/components/data-display/icons/drag-horizontal-icon/DragHorizontalIcon.d.ts +3 -0
  9. package/dist/src/components/data-display/icons/drag-horizontal-icon/index.d.ts +1 -0
  10. package/dist/src/components/data-display/icons/file-pdf-icon/FilePdfIcon.d.ts +3 -0
  11. package/dist/src/components/data-display/icons/file-pdf-icon/index.d.ts +1 -0
  12. package/dist/src/components/data-display/icons/index.d.ts +3 -0
  13. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +4 -1
  14. package/dist/src/components/data-display/typography/StyledTypography.d.ts +4 -1
  15. package/dist/src/components/data-grid/StyledDataGrid.d.ts +1 -1
  16. package/dist/src/components/data-grid/StyledGridActionsCellItem.d.ts +3 -1
  17. package/dist/src/components/data-grid/types.d.ts +1 -0
  18. package/dist/src/components/feedback/alert/StyledAlert.d.ts +3 -1
  19. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +3 -1
  20. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +4 -2
  21. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +3 -1
  22. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +3 -1
  23. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +4 -1
  24. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -0
  25. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +3 -1
  26. package/dist/src/components/feedback/snack-bar/index.d.ts +1 -0
  27. package/dist/src/components/feedback/snack-bar/processInfoSnackbar.d.ts +1 -0
  28. package/dist/src/components/inputs/button/StyledButton.d.ts +2 -2
  29. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +3 -1
  30. package/dist/src/components/inputs/checkbox/StyledCheckbox.stories.d.ts +5 -1
  31. package/dist/src/components/inputs/date-picker/StyledCalendarPicker.d.ts +6 -0
  32. package/dist/src/components/inputs/date-picker/StyledDatePicker.d.ts +37 -0
  33. package/dist/src/components/inputs/date-picker/index.d.ts +1 -0
  34. package/dist/src/components/inputs/input/StyledInput.d.ts +4 -13
  35. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +12 -0
  36. package/dist/src/components/inputs/input-field/index.d.ts +2 -0
  37. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +4 -0
  38. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +4 -0
  39. package/dist/src/components/inputs/radio-button/index.d.ts +2 -0
  40. package/dist/src/components/inputs/rich-input/RichInput.d.ts +1 -0
  41. package/dist/src/components/inputs/select/StyledSelect.d.ts +11 -3
  42. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +31 -1
  43. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +11 -0
  44. package/dist/src/components/inputs/select-autocomplete/index.d.ts +1 -0
  45. package/dist/src/components/inputs/slider/StyledSlider.d.ts +4 -1
  46. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +3 -1
  47. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +5 -3
  48. package/dist/src/components/inputs/time-picker/StyledTimePicker.d.ts +10 -0
  49. package/dist/src/components/inputs/time-picker/components/TimePickerBody.d.ts +7 -0
  50. package/dist/src/components/inputs/time-picker/components/TimePickerColumn.d.ts +8 -0
  51. package/dist/src/components/inputs/time-picker/index.d.ts +1 -0
  52. package/dist/src/components/layout/container/StyledContainer.d.ts +5 -0
  53. package/dist/src/components/layout/container/index.d.ts +1 -0
  54. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +5 -1
  55. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +3 -1
  56. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +3 -1
  57. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +4 -1
  58. package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +6 -1
  59. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +4 -1
  60. package/dist/src/components/miscellaneous/StyledStack.d.ts +4 -1
  61. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +5 -0
  62. package/dist/src/components/navigation/drawer/index.d.ts +1 -0
  63. package/dist/src/components/navigation/link/StyledLink.d.ts +2 -2
  64. package/dist/src/components/navigation/menu/StyledMenu.d.ts +3 -1
  65. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +31 -1
  66. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +20 -1
  67. package/dist/src/components/navigation/menu/index.d.ts +1 -0
  68. package/dist/src/components/navigation/tabs/StyledTab.d.ts +5 -0
  69. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +6 -0
  70. package/dist/src/components/navigation/tabs/index.d.ts +2 -0
  71. package/dist/src/components/surfaces/accordion/StyledAccordion.d.ts +6 -1
  72. package/dist/src/components/surfaces/accordion/StyledAccordionDetails.d.ts +3 -1
  73. package/dist/src/components/surfaces/accordion/StyledAccordionSummary.d.ts +27 -1
  74. package/dist/src/components/table/StyledTable.d.ts +3 -26
  75. package/dist/src/components/table/components/columns/action-column/actionColumn.d.ts +19 -0
  76. package/dist/src/components/table/components/columns/action-column/components/HeaderActionMenu.d.ts +5 -0
  77. package/dist/src/components/table/components/columns/action-column/components/RowActionMenu.d.ts +12 -0
  78. package/dist/src/components/table/components/columns/widthStabilizer.d.ts +6 -0
  79. package/dist/src/components/table/index.d.ts +1 -0
  80. package/dist/src/components/table/types.d.ts +55 -2
  81. package/dist/src/components/utils/popover/StyledPopover.d.ts +3 -1
  82. package/dist/src/index.d.ts +7 -1
  83. package/dist/style.css +2 -2
  84. package/package.json +4 -1
  85. /package/dist/src/{components/table/useToggleMenuVisibility.d.ts → hooks/useToggleMenuVisibility.hook.d.ts} +0 -0
@@ -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;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const DeleteOutlineIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './DeleteOutlineIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const DragHorizontalIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './DragHorizontalIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const FilePdfIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './FilePdfIcon';
@@ -46,3 +46,6 @@ export * from './inbox-outbox-icon';
46
46
  export * from './inbox-outbox-outline-icon';
47
47
  export * from './topic-icon';
48
48
  export * from './empty-page-icon';
49
+ export * from './drag-horizontal-icon';
50
+ export * from './file-pdf-icon';
51
+ export * from './delete-outline-icon';
@@ -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;
@@ -1,6 +1,8 @@
1
1
  import type { DialogProps } from '@mui/material/Dialog';
2
+ import type { ReactNode } from 'react';
2
3
  export interface IStyledDialogProps extends DialogProps {
3
- onCloseText?: string;
4
+ onCloseText?: ReactNode;
4
5
  showCloseIcon?: boolean;
6
+ dataTest?: string;
5
7
  }
6
- 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,3 +2,4 @@ export * from './SnackbarProvider';
2
2
  export { enqueueSnackbar, closeSnackbar, useSnackbar } from 'notistack';
3
3
  export * from './StyledSnackbar';
4
4
  export * from './processAlertSnackBar';
5
+ export * from './processInfoSnackbar';
@@ -0,0 +1 @@
1
+ export declare function processInfoSnackbar(message: string): void;
@@ -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,11 +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;
12
+ indeterminate: false;
13
+ dataTest: string;
10
14
  };
11
15
  };
12
16
  export default meta;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { DayPicker } from 'react-day-picker';
3
+ export type CalendarProps = React.ComponentProps<typeof DayPicker>;
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;
@@ -0,0 +1,37 @@
1
+ import { type CalendarProps } from './StyledCalendarPicker';
2
+ type CommonDatePickerProps = {
3
+ dateFormat?: string;
4
+ className?: string;
5
+ inputClassName?: string;
6
+ onClear?: () => void;
7
+ allowClear?: boolean;
8
+ dataTest?: string;
9
+ } & CalendarProps;
10
+ type CompactRangeProps = {
11
+ mode: 'range';
12
+ compact: true;
13
+ placeholderFrom?: string;
14
+ placeholderTo?: string;
15
+ placeholder?: never;
16
+ onClearFrom?: () => void;
17
+ onClearTo?: () => void;
18
+ };
19
+ type DefaultRangeProps = {
20
+ mode: 'range';
21
+ compact?: false;
22
+ placeholder?: string;
23
+ placeholderFrom?: never;
24
+ placeholderTo?: never;
25
+ onClearFrom?: () => void;
26
+ onClearTo?: () => void;
27
+ };
28
+ type DefaultSingleProps = {
29
+ mode: 'single';
30
+ placeholder?: string;
31
+ compact?: never;
32
+ placeholderFrom?: never;
33
+ placeholderTo?: never;
34
+ };
35
+ export type DatePickerProps = CommonDatePickerProps & (CompactRangeProps | DefaultRangeProps | DefaultSingleProps);
36
+ export declare const StyledDatePicker: ({ placeholder, placeholderFrom, placeholderTo, compact, dateFormat, className, inputClassName, disabled, onClear, allowClear, dataTest, ...props }: DatePickerProps) => JSX.Element;
37
+ export {};
@@ -0,0 +1 @@
1
+ export * from './StyledDatePicker';
@@ -1,15 +1,6 @@
1
- import { type FC } from 'react';
1
+ import { type FC, type ReactNode } from 'react';
2
2
  /**
3
- * Developer: bragari.andrei@carasent.com
4
- * Custom props:
5
- * @param description - message under input (string)
6
- * @param startIcon - icon before input (JSX.Element)
7
- * @param endIcon - icon after input (JSX.Element)
8
- * @param dataTest - data-test tag (string)
9
- * @param label - string
10
- * @param refLink - ref to component
11
- * @param size - 'large' | 'small'
12
- * @param className - for styles (width)
3
+ * @deprecated The input should not be used, use ->> StyledInputField
13
4
  */
14
5
  type ConditionalProps = {
15
6
  disabled?: boolean;
@@ -34,11 +25,11 @@ type ConditionalProps = {
34
25
  };
35
26
  export type StyledInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & {
36
27
  size?: 'large' | 'small';
37
- description?: string;
28
+ description?: ReactNode;
38
29
  startIcon?: JSX.Element;
39
30
  endIcon?: JSX.Element;
40
31
  dataTest?: string;
41
- label?: string;
32
+ label?: ReactNode;
42
33
  refLink?: React.Ref<HTMLInputElement>;
43
34
  } & ConditionalProps;
44
35
  export declare const StyledInput: FC<StyledInputProps>;
@@ -0,0 +1,12 @@
1
+ import { type TextFieldProps } from '@mui/material';
2
+ /**
3
+ *
4
+ * @inputRef
5
+ * inputRef to get Node of Input Element inside
6
+ *
7
+ */
8
+ export declare const StyledInputField: ({ dataTest, allowClear, onClear, ...props }: TextFieldProps & {
9
+ allowClear?: boolean | undefined;
10
+ onClear?: (() => void) | undefined;
11
+ dataTest?: string | undefined;
12
+ }) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './StyledInputField';
2
+ export { type TextFieldProps } from '@mui/material';
@@ -0,0 +1,4 @@
1
+ import { type RadioProps } from '@mui/material';
2
+ export declare const StyledRadio: ({ dataTest, ...props }: RadioProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { type RadioGroupProps } from '@mui/material';
2
+ export declare const StyledRadioGroup: ({ dataTest, ...props }: RadioGroupProps & {
3
+ dataTest?: string | undefined;
4
+ }) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './StyledRadio';
2
+ export * from './StyledRadioGroup';
@@ -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 };
@@ -1,11 +1,19 @@
1
1
  /// <reference types="react" />
2
2
  import { type SelectProps } from '@mui/material';
3
3
  /**
4
+ *
5
+ * @usage
6
+ * use StyleSelect only inside StyledFormControl
7
+ *
8
+ * @size
9
+ * control the size through StyledFormControl
4
10
  *
5
11
  * @inputRef
6
12
  * inputRef to get Node of Input Element inside
7
13
  *
8
14
  */
9
- export declare const StyledSelect: (props: SelectProps<unknown> & {
10
- reflink?: import("react").RefObject<unknown> | ((instance: unknown) => void) | null | undefined;
11
- }) => JSX.Element;
15
+ export declare const StyledSelect: React.FC<SelectProps & {
16
+ allowClear?: boolean;
17
+ dataTest: string;
18
+ dataId?: string;
19
+ }>;
@@ -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;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { type AutocompleteProps, type ChipTypeMap } from '@mui/material';
3
+ /**
4
+ *
5
+ * @inputRef
6
+ * inputRef to get Node of Input Element inside
7
+ *
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']>({ dataTest, ...props }: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo, ChipComponent> & {
10
+ dataTest: string;
11
+ }): JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledSelectAutocomplete';
@@ -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;
@@ -1,9 +1,11 @@
1
- import React, { type ChangeEvent } from 'react';
1
+ import React, { type ChangeEvent, type ReactNode } from 'react';
2
2
  type TextareaCommonProps = {
3
3
  id?: string;
4
4
  value?: string;
5
- label?: string;
6
- description?: string;
5
+ label?: ReactNode;
6
+ labelClassName?: string;
7
+ description?: ReactNode;
8
+ containerClassName?: string;
7
9
  className?: string;
8
10
  dataTest?: string;
9
11
  };
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ export type StyledTimePickerProps = {
3
+ placeholder?: string;
4
+ disabled?: boolean;
5
+ inputClassName?: string;
6
+ value?: Date;
7
+ onSelect: (date: Date | undefined) => void;
8
+ dataTest?: string;
9
+ };
10
+ export declare const StyledTimePicker: React.FC<StyledTimePickerProps>;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import type { StyledTimePickerProps } from '../StyledTimePicker';
3
+ type TimePickerBodyProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName'>;
4
+ export declare const TimePickerBody: React.FC<TimePickerBodyProps & {
5
+ dataTest?: string;
6
+ }>;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { StyledTimePickerProps } from '../StyledTimePicker';
3
+ export type TimePickerColumnProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName'> & {
4
+ type: 'hours' | 'minutes';
5
+ };
6
+ export declare const TimePickerColumn: React.FC<TimePickerColumnProps & {
7
+ dataTest?: string;
8
+ }>;
@@ -0,0 +1 @@
1
+ export * from './StyledTimePicker';
@@ -0,0 +1,5 @@
1
+ import { type ContainerProps } from '@mui/material';
2
+ import type { FC } from 'react';
3
+ export declare const StyledContainer: FC<ContainerProps & {
4
+ dataTest?: string;
5
+ }>;
@@ -0,0 +1 @@
1
+ export * from './StyledContainer';
@@ -1,2 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { type FormControlProps } from '@mui/material';
2
- export declare const StyledFormControl: (props: FormControlProps) => JSX.Element;
3
+ export declare const StyledFormControl: React.FC<FormControlProps & {
4
+ dataTest: string;
5
+ dataTestId?: string;
6
+ }>;
@@ -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;
@@ -0,0 +1,5 @@
1
+ import { type DrawerProps } from '@mui/material';
2
+ import type { FC } from 'react';
3
+ export declare const StyledDrawer: FC<DrawerProps & {
4
+ dataTest?: string;
5
+ }>;
@@ -0,0 +1 @@
1
+ export * from './StyledDrawer';
@@ -1,8 +1,8 @@
1
- import React, { type AnchorHTMLAttributes } from 'react';
1
+ import React, { type AnchorHTMLAttributes, type ReactNode } from 'react';
2
2
  export type StyledLinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
3
3
  disabled?: boolean;
4
4
  size?: 'small' | 'large';
5
- title: string;
5
+ title: ReactNode;
6
6
  children?: never;
7
7
  reflink?: React.Ref<HTMLAnchorElement>;
8
8
  dataTest?: string;
@@ -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;