asma-core-ui 2.18.42 → 2.19.1

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.
@@ -1,2 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { type BadgeProps } from '@mui/material';
2
- export declare const StyledBadge: ({ color, ...props }: BadgeProps) => JSX.Element;
3
+ export declare const StyledBadge: React.FC<BadgeProps & {
4
+ dataTest: string;
5
+ }>;
@@ -1,2 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { type ChipProps } from '@mui/material';
2
- export declare const StyledChip: (props: ChipProps) => JSX.Element;
3
+ export declare const StyledChip: React.FC<ChipProps & {
4
+ dataTest: string;
5
+ }>;
@@ -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: React.FC<IStyledDialogProps>;
@@ -5,6 +5,7 @@ import { type TextFieldProps } from '@mui/material';
5
5
  * @inputRef
6
6
  * inputRef to get Node of Input Element inside
7
7
  *
8
+ * type='mui-input' is temporary, remove it after deleting antd from all projects. Antd lib overwrites styles for type[text]
8
9
  */
9
10
  export declare const StyledInputField: React.FC<TextFieldProps & {
10
11
  allowClear?: boolean;
@@ -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;
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;
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 };
@@ -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;
5
+ }) => JSX.Element;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.18.42",
6
+ "version": "2.19.1",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",