@huntflow/ui 0.3.9 → 0.3.10-beta.0
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.
|
@@ -5,7 +5,7 @@ export { UiButtonLink } from './ui-button-link';
|
|
|
5
5
|
export { UiIcon, injectSvgSprite } from './ui-icon';
|
|
6
6
|
export type { UiIconProps, IconType } from './ui-icon';
|
|
7
7
|
export { UiInput } from './ui-input';
|
|
8
|
-
export type { UiInputProps } from './ui-input';
|
|
8
|
+
export type { UiInputProps, UiInputSize } from './ui-input';
|
|
9
9
|
export { UiLabel } from './ui-label';
|
|
10
10
|
export { UiLoader } from './ui-loader';
|
|
11
11
|
export type { UiLoaderSize } from './ui-loader';
|
|
@@ -32,6 +32,6 @@ export type UiButtonProps = {
|
|
|
32
32
|
fill?: boolean;
|
|
33
33
|
};
|
|
34
34
|
export type UiButtonWeight = 'regular' | 'medium';
|
|
35
|
-
export type UiButtonSize = 's' | 'xs' | 'm' | 'l' | 'xl';
|
|
35
|
+
export type UiButtonSize = 's' | 'xs' | 'm' | 'l' | 'xl' | 'xxl';
|
|
36
36
|
export type UiButtonType = 'primary' | 'secondary' | 'accent' | 'jobsites' | 'ghost' | 'ghost-danger' | 'danger' | 'transparent-dark' | 'transparent-secondary' | 'text-primary' | 'text-secondary';
|
|
37
37
|
export type UiButtonHTMLType = 'button' | 'submit' | 'reset';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IconType } from '../index';
|
|
2
|
+
export type UiInputSize = 's' | 'm';
|
|
2
3
|
export type UiInputProps = {
|
|
3
4
|
/** Тип нативного input. */
|
|
4
5
|
type?: UiInputType;
|
|
@@ -30,5 +31,7 @@ export type UiInputProps = {
|
|
|
30
31
|
rightIcon?: IconType;
|
|
31
32
|
/** включение автофокуса на поле */
|
|
32
33
|
autofocus?: boolean;
|
|
34
|
+
/** Размер input. */
|
|
35
|
+
size?: UiInputSize;
|
|
33
36
|
};
|
|
34
37
|
export type UiInputType = 'text' | 'password' | 'email' | 'tel' | 'search';
|