asma-core-ui 1.9.9 → 1.9.11

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
+ }>;
@@ -5,7 +5,7 @@ type commonProps = {
5
5
  size?: 'large' | 'small' | 'medium';
6
6
  startIcon?: ReactNode;
7
7
  endIcon?: ReactNode;
8
- dataTest: string;
8
+ dataTest?: string;
9
9
  };
10
10
  type variantTextGrayProps = {
11
11
  variant?: 'textGray';
@@ -1,5 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type CheckboxProps } from '@mui/material';
3
- export declare const StyledCheckbox: React.FC<CheckboxProps & {
4
- dataTest: string;
5
- }>;
2
+ export declare const StyledCheckbox: (props: CheckboxProps) => JSX.Element;
@@ -2,9 +2,7 @@
2
2
  import type { StoryObj } from '@storybook/react';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: import("react").FC<import("@mui/material").CheckboxProps & {
6
- dataTest: string;
7
- }>;
5
+ component: (props: import("@mui/material").CheckboxProps) => JSX.Element;
8
6
  tags: string[];
9
7
  argTypes: {};
10
8
  args: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type TextFieldProps } from '@mui/material';
3
2
  /**
4
3
  *
@@ -6,8 +5,7 @@ import { type TextFieldProps } from '@mui/material';
6
5
  * inputRef to get Node of Input Element inside
7
6
  *
8
7
  */
9
- export declare const StyledInputField: React.FC<TextFieldProps & {
8
+ export declare const StyledInputField: (props: TextFieldProps & {
10
9
  allowClear?: boolean;
11
10
  onClear?: () => void;
12
- dataTest: string;
13
- }>;
11
+ }) => 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;
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;
@@ -5,6 +5,5 @@ export type StyledTimePickerProps = {
5
5
  inputClassName?: string;
6
6
  value?: Date;
7
7
  onSelect: (date: Date | undefined) => void;
8
- dataTest: string;
9
8
  };
10
9
  export declare const StyledTimePicker: React.FC<StyledTimePickerProps>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { StyledTimePickerProps } from '../StyledTimePicker';
3
- export type TimePickerColumnProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName' | 'dataTest'> & {
3
+ export type TimePickerColumnProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName'> & {
4
4
  type: 'hours' | 'minutes';
5
5
  };
6
6
  export declare const TimePickerColumn: React.FC<TimePickerColumnProps>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.9.9",
6
+ "version": "1.9.11",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",