gantri-components 2.134.0-beta.4 → 2.134.0-beta.6

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,7 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { Property } from 'csstype';
3
- import { TextFieldSize } from '../text-field';
4
- import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
5
3
  export declare const StyledOption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../typography").TypographyProps & {
6
4
  children?: import("react").ReactNode;
7
5
  } & import("react").RefAttributes<unknown>, "ref"> & {
@@ -13,9 +11,6 @@ export declare const StyledSelect: import("styled-components/dist/types").IStyle
13
11
  $maxWidth?: Property.Width<string | number> | undefined;
14
12
  }>> & string;
15
13
  export declare const StyledCustomPlaceholderContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
16
- $hasLeftIcon?: boolean | undefined;
17
- $hasTopPadding: boolean;
18
- $size?: ResolutionAwareProp<TextFieldSize> | undefined;
19
14
  disabled: boolean | undefined;
20
15
  }>> & string;
21
16
  export declare const StyledTextField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("../text-field").TextFieldProps, {
@@ -2,6 +2,7 @@ import { ChangeEvent, CSSProperties, FocusEvent, HTMLInputTypeAttribute, Keyboar
2
2
  import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
3
3
  import { BoxDimension } from '../box/box.types';
4
4
  import { TextVariant } from '../typography';
5
+ import { Maybe } from '../../global';
5
6
  export type ErrorMessageType = string | {
6
7
  tx: string;
7
8
  values?: {
@@ -60,6 +61,7 @@ export interface TextFieldProps {
60
61
  [key: string]: string;
61
62
  };
62
63
  readOnly?: boolean;
64
+ renderPlaceholder?: Maybe<JSX.Element>;
63
65
  required?: boolean;
64
66
  rightIcon?: ReactElement;
65
67
  size?: ResolutionAwareProp<TextFieldSize>;