dt-shared-front 2.2.123 → 2.2.125

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,4 +1,4 @@
1
- import React, { ComponentProps } from 'react';
1
+ import React, { ComponentProps, ReactNode } from 'react';
2
2
  declare const AntDatePicker: import("antd/lib/date-picker/generatePicker/interface").PickerComponentClass<import("antd/lib/date-picker/generatePicker").PickerProps<Date> & {
3
3
  status?: "" | "error" | "warning";
4
4
  dropdownClassName?: string;
@@ -50,10 +50,15 @@ declare type IDatePickerProps = {
50
50
  error?: boolean;
51
51
  onClear?: (e: any) => void;
52
52
  onTouchStart?: (e: any) => void;
53
+ onClick?: (e: any) => void;
53
54
  format?: string;
54
55
  mask?: string;
55
56
  labelPlaceholder?: string;
56
57
  isWbTheme?: boolean;
58
+ placeholder?: string;
59
+ className?: string;
60
+ onChange?: (e: any) => void;
61
+ suffixIcon?: ReactNode;
57
62
  } & ComponentProps<typeof AntDatePicker>;
58
63
  export declare const DatePicker: React.ForwardRefExoticComponent<IDatePickerProps & React.RefAttributes<unknown>>;
59
64
  export {};
@@ -1,4 +1,4 @@
1
- import { MutableRefObject } from "react";
1
+ import { MutableRefObject } from 'react';
2
2
  interface IFocusErrorProps {
3
3
  formRef: MutableRefObject<HTMLFormElement>;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { FormikContextType } from "formik";
3
- import { PropsWithChildren } from "react";
2
+ import { FormikContextType } from 'formik';
3
+ import { PropsWithChildren } from 'react';
4
4
  interface IFormProps {
5
5
  form: FormikContextType<any>;
6
6
  className?: string;
@@ -13,5 +13,5 @@ interface IInfoBlockProps {
13
13
  variant?: keyof typeof EInfoBlockVariant;
14
14
  onClick?: () => void;
15
15
  }
16
- export declare const InfoBlock: ({ title, description, onClick, className, variant, children }: PropsWithChildren<IInfoBlockProps>) => React.JSX.Element;
16
+ export declare const InfoBlock: ({ title, description, onClick, className, variant, children, }: PropsWithChildren<IInfoBlockProps>) => React.JSX.Element;
17
17
  export {};
@@ -17,11 +17,12 @@ declare type IRadioProps<T> = Omit<RadioGroupProps, 'options' | 'onChange' | 'va
17
17
  value?: any;
18
18
  onChange?: (value: T, option: IRadioOption<T>, e?: MouseEvent) => void;
19
19
  position?: 'vertical' | 'horizontal';
20
+ labelPosition?: 'left' | 'right';
20
21
  className?: string;
21
22
  classNameContainer?: string;
22
23
  error?: boolean;
23
24
  isWbTheme?: boolean;
24
25
  onRenderOption?: (value: T) => ReactNode;
25
26
  };
26
- export declare function Radio<T = any>({ options, position, valueKey, labelKey, labels, className, error, isWbTheme, onRenderOption, ...props }: IRadioProps<T>): React.JSX.Element;
27
+ export declare function Radio<T = any>({ options, position, labelPosition, valueKey, labelKey, labels, className, error, isWbTheme, onRenderOption, ...props }: IRadioProps<T>): React.JSX.Element;
27
28
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  interface IRatingProps {
3
3
  value: number;
4
4
  onChange?: (val: number) => void;