asma-core-ui 1.9.8 → 1.9.9

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.
@@ -3,6 +3,5 @@ import type { ReactNode } from 'react';
3
3
  export interface IStyledDialogProps extends DialogProps {
4
4
  onCloseText?: ReactNode;
5
5
  showCloseIcon?: boolean;
6
- dataTest: string;
7
6
  }
8
- export declare const StyledDialog: React.FC<IStyledDialogProps>;
7
+ export declare const StyledDialog: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: IStyledDialogProps) => JSX.Element;
@@ -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,2 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { type CheckboxProps } from '@mui/material';
2
- export declare const StyledCheckbox: (props: CheckboxProps) => JSX.Element;
3
+ export declare const StyledCheckbox: React.FC<CheckboxProps & {
4
+ dataTest: string;
5
+ }>;
@@ -2,7 +2,9 @@
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: import("react").FC<import("@mui/material").CheckboxProps & {
6
+ dataTest: string;
7
+ }>;
6
8
  tags: string[];
7
9
  argTypes: {};
8
10
  args: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { type TextFieldProps } from '@mui/material';
2
3
  /**
3
4
  *
@@ -5,7 +6,8 @@ import { type TextFieldProps } from '@mui/material';
5
6
  * inputRef to get Node of Input Element inside
6
7
  *
7
8
  */
8
- export declare const StyledInputField: (props: TextFieldProps & {
9
+ export declare const StyledInputField: React.FC<TextFieldProps & {
9
10
  allowClear?: boolean;
10
11
  onClear?: () => void;
11
- }) => JSX.Element;
12
+ dataTest: string;
13
+ }>;
@@ -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,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { StyledTimePickerProps } from '../StyledTimePicker';
3
- export type TimePickerColumnProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName'> & {
3
+ export type TimePickerColumnProps = Omit<StyledTimePickerProps, 'placeholder' | 'disabled' | 'inputClassName' | 'dataTest'> & {
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.8",
6
+ "version": "1.9.9",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",