@veeqo/ui 0.1.2 → 0.1.3

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.
@@ -13,7 +13,7 @@ declare const StyledTextField: import("styled-components").StyledComponent<impor
13
13
  max?: string | undefined;
14
14
  pattern?: string | undefined;
15
15
  hasError?: boolean | undefined;
16
- size?: import("../types").ComponentSize | undefined;
16
+ size?: "base" | "sm" | undefined;
17
17
  multiline?: boolean | undefined;
18
18
  rows?: string | undefined;
19
19
  invalid?: boolean | undefined;
@@ -20,7 +20,7 @@ export declare const PageInput: import("styled-components").StyledComponent<impo
20
20
  max?: string | undefined;
21
21
  pattern?: string | undefined;
22
22
  hasError?: boolean | undefined;
23
- size?: import("../types").ComponentSize | undefined;
23
+ size?: "base" | "sm" | undefined;
24
24
  multiline?: boolean | undefined;
25
25
  rows?: string | undefined;
26
26
  invalid?: boolean | undefined;
@@ -12,7 +12,7 @@ export declare const StyledTextField: import("styled-components").StyledComponen
12
12
  max?: string | undefined;
13
13
  pattern?: string | undefined;
14
14
  hasError?: boolean | undefined;
15
- size?: ComponentSize | undefined;
15
+ size?: "base" | "sm" | undefined;
16
16
  multiline?: boolean | undefined;
17
17
  rows?: string | undefined;
18
18
  invalid?: boolean | undefined;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { SearchProps } from './types';
3
- export declare const Search: ({ type, disabled, onClearClick, onChange, onBlur, onFocus, onKeyUp, onKeyDown, onKeyPress, value, error, placeholder, className, name, isLoading, fill, reversed, autoComplete, }: SearchProps) => React.JSX.Element;
3
+ export declare const Search: ({ type, disabled, onClearClick, onChange, onBlur, onFocus, onKeyUp, onKeyDown, onKeyPress, value, error, placeholder, className, name, isLoading, fill, reversed, autoComplete, size, }: SearchProps) => React.JSX.Element;
@@ -12,7 +12,7 @@ declare const Input: import("styled-components").StyledComponent<import("react")
12
12
  max?: string | undefined;
13
13
  pattern?: string | undefined;
14
14
  hasError?: boolean | undefined;
15
- size?: import("../types").ComponentSize | undefined;
15
+ size?: "base" | "sm" | undefined;
16
16
  multiline?: boolean | undefined;
17
17
  rows?: string | undefined;
18
18
  invalid?: boolean | undefined;
@@ -11,7 +11,7 @@ export declare const TextField: import("react").FC<Omit<import("../types").Event
11
11
  max?: string | undefined;
12
12
  pattern?: string | undefined;
13
13
  hasError?: boolean | undefined;
14
- size?: import("../types").ComponentSize | undefined;
14
+ size?: "base" | "sm" | undefined;
15
15
  multiline?: boolean | undefined;
16
16
  rows?: string | undefined;
17
17
  invalid?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ComponentSize, EventHandlerProps } from '../types';
2
+ import { EventHandlerProps } from '../types';
3
3
  export type TextFieldType = 'text' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'url' | 'date' | 'datetime-local' | 'month' | 'time' | 'week' | 'currency';
4
4
  /**
5
5
  * TextField properties.
@@ -17,7 +17,7 @@ export type TextFieldProps = Omit<EventHandlerProps, 'onChange' | 'onKeyDown'> &
17
17
  max?: string;
18
18
  pattern?: string;
19
19
  hasError?: boolean;
20
- size?: ComponentSize;
20
+ size?: 'sm' | 'base';
21
21
  multiline?: boolean;
22
22
  rows?: string;
23
23
  invalid?: boolean;
@@ -13,7 +13,7 @@ declare const StyledTextField: import("styled-components").StyledComponent<impor
13
13
  max?: string | undefined;
14
14
  pattern?: string | undefined;
15
15
  hasError?: boolean | undefined;
16
- size?: import("../types").ComponentSize | undefined;
16
+ size?: "base" | "sm" | undefined;
17
17
  multiline?: boolean | undefined;
18
18
  rows?: string | undefined;
19
19
  invalid?: boolean | undefined;