indicator-ui 0.0.172 → 0.0.174
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.
- package/dist/index.css +218 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +144 -48
- package/dist/index.js.map +1 -1
- package/dist/types/src/assets/icons/index.d.ts +1 -0
- package/dist/types/src/ui/InputFields/DateTimeField/styles/index.d.ts +1 -0
- package/dist/types/src/ui/InputFields/DateTimeField/types/DateFieldTypes.d.ts +1 -2
- package/dist/types/src/ui/InputFields/DateTimeField/types/DateTimeFieldTypes.d.ts +16 -0
- package/dist/types/src/ui/InputFields/DateTimeField/types/TimeFieldTypes.d.ts +4 -0
- package/dist/types/src/ui/InputFields/DateTimeField/ui/DateField.d.ts +1 -1
- package/dist/types/src/ui/InputFields/DateTimeField/ui/DateTimeField.d.ts +1 -1
- package/dist/types/src/ui/InputFields/DateTimeField/ui/TimeField.d.ts +1 -1
- package/dist/types/src/ui/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -76,6 +76,7 @@ export { default as VolumeMaxSVG } from './volume-max.svg';
|
|
|
76
76
|
export { default as VolumeXSVG } from './volume-x.svg';
|
|
77
77
|
export { default as Wallet03SVG } from './wallet-03.svg';
|
|
78
78
|
export { default as XCloseSVG } from './x-close.svg';
|
|
79
|
+
export { default as LineSVG } from './line.svg';
|
|
79
80
|
export { default as EyeSVG } from './eye.svg';
|
|
80
81
|
export { default as MessageSquare02SVG } from './message-square-02.svg';
|
|
81
82
|
export { default as ShareArrowSVG } from './share-arrow.svg';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
2
2
|
import { FormatNameType } from "../../../../lib";
|
|
3
|
+
import React from "react";
|
|
3
4
|
export type DateTimeFieldValueType = string;
|
|
4
5
|
/**
|
|
5
6
|
* Конфигурация поля. Соответственно *одна дата*, *одно время* или *и то и другое*.
|
|
@@ -42,10 +43,25 @@ export type DateTimeFieldPropsType = FieldsBasePropsType<DateTimeFieldValueType>
|
|
|
42
43
|
additionStyle?: string | string[];
|
|
43
44
|
timePlaceholder?: string;
|
|
44
45
|
datePlaceholder?: string;
|
|
46
|
+
/** Иконка слева у даты*/
|
|
47
|
+
iconDate?: React.ReactNode;
|
|
48
|
+
/** Иконка слева у времени*/
|
|
49
|
+
iconTime?: React.ReactNode;
|
|
50
|
+
/**
|
|
51
|
+
* Выключает стиль ошибки.
|
|
52
|
+
* */
|
|
53
|
+
isError?: boolean;
|
|
54
|
+
onFocus?: (e: any) => void;
|
|
55
|
+
onBlur?: (e: any) => void;
|
|
45
56
|
/**
|
|
46
57
|
* Таймзона, в которой будет работать поле.
|
|
47
58
|
*
|
|
48
59
|
* По умолчанию: UTC
|
|
49
60
|
* */
|
|
50
61
|
timeZone?: string;
|
|
62
|
+
/** Надпись слева от даты*/
|
|
63
|
+
textDate?: string;
|
|
64
|
+
/** Надпись слева от даты*/
|
|
65
|
+
textTime?: string;
|
|
66
|
+
xClose?: boolean;
|
|
51
67
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
2
2
|
import { FormatNameType } from "../../../../lib";
|
|
3
3
|
export type TimeFieldPropsType = FieldsBasePropsType<string> & {
|
|
4
|
+
/**
|
|
5
|
+
* Формат времени.
|
|
6
|
+
* */
|
|
4
7
|
timeFormat?: FormatNameType;
|
|
5
8
|
placeholder?: string;
|
|
6
9
|
/** Дополнительные имена стилей */
|
|
7
10
|
additionStyles?: string | string[];
|
|
8
11
|
timeZone?: string;
|
|
12
|
+
className?: string;
|
|
9
13
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DateFieldPropsType } from "../types";
|
|
2
|
-
export declare function DateField({ value, disabled, required, isError, onChange, onFocus, dateFormat, onBlur, minYear, maxYear,
|
|
2
|
+
export declare function DateField({ value, disabled, required, isError, onChange, onFocus, dateFormat, onBlur, minYear, maxYear, timeZone, placeholder, className, }: DateFieldPropsType): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DateTimeFieldPropsType } from "../types";
|
|
2
|
-
export declare function DateTimeField({ value, fieldConfig, onChange, dateFormat, timeFormat, outFormat, additionStyle, datePlaceholder, timePlaceholder, timeZone, ...props }: DateTimeFieldPropsType): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function DateTimeField({ value, fieldConfig, onChange, dateFormat, timeFormat, outFormat, additionStyle, datePlaceholder, timePlaceholder, timeZone, iconDate, iconTime, textDate, textTime, xClose, isError, onFocus, onBlur, ...props }: DateTimeFieldPropsType): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TimeFieldPropsType } from "../types";
|
|
2
|
-
export declare function TimeField({ value, disabled, required, isError, onChange, onFocus, timeFormat, onBlur, placeholder, additionStyles, timeZone, }: TimeFieldPropsType): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function TimeField({ value, disabled, required, isError, onChange, onFocus, timeFormat, onBlur, placeholder, additionStyles, timeZone, className }: TimeFieldPropsType): import("react/jsx-runtime").JSX.Element;
|