indicator-ui 0.0.115 → 0.0.117

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.
@@ -17,16 +17,22 @@ export type DateTimeFieldPropsType = FieldsBasePropsType<DateTimeFieldValueType>
17
17
  fieldConfig?: DateTimeFieldFieldConfigType;
18
18
  /**
19
19
  * Визуальны формат времени, то как время будет показывать в поле.
20
+ *
21
+ * Экранируйте символы *Z*, *T* и тд, обернув в одинарные кавычки. Пример: `"HH:mm:ss'Z'"`
20
22
  * */
21
23
  timeFormat?: string;
22
24
  /**
23
25
  * Визуальны формат даты, то как дата будет показывать в поле.
26
+ *
27
+ * Экранируйте символы *Z*, *T* и тд, обернув в одинарные кавычки. Пример: `"HH:mm:ss'Z'"`
24
28
  * */
25
29
  dateFormat?: string;
26
30
  /**
27
31
  * Выходной формат.
28
32
  *
29
33
  * _Следите, чтобы в выходном формате было достаточно переменных, для визуальных (`timeFormat` и `dateFormat`)._
34
+ *
35
+ * Экранируйте символы *Z*, *T* и тд, обернув в одинарные кавычки. Пример: `"HH:mm:ss'Z'"`
30
36
  * */
31
37
  outFormat?: string | 'iso-8601';
32
38
  /**
@@ -17,6 +17,8 @@ export type InputFieldWrapperHelperLinkType = {
17
17
  text: string;
18
18
  onClick?: () => void;
19
19
  };
20
+ export type InputFieldWrapperAdditionStyleNameType = 'label' | 'hint' | 'main' | 'helper-link';
21
+ export type InputFieldWrapperAdditionStyleType = Record<InputFieldWrapperAdditionStyleNameType, string | string[] | undefined> | string | string[];
20
22
  export type InputFieldWrapperPropsType = {
21
23
  children?: ReactNode;
22
24
  labelText?: string;
@@ -25,4 +27,8 @@ export type InputFieldWrapperPropsType = {
25
27
  helperLink?: InputFieldWrapperHelperLinkType;
26
28
  isError?: boolean;
27
29
  viewRequired?: boolean;
30
+ /**
31
+ * Добавочные имена стилей. ```className="main-style addition-style-1 addition-style-2..."```
32
+ * */
33
+ additionStyle?: InputFieldWrapperAdditionStyleType;
28
34
  };
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import { InputFieldWrapperPropsType } from '../types';
3
- export default function InputFieldWrapper({ children, labelText, hintText, isErrorHintText, helperLink, isError, viewRequired, }: InputFieldWrapperPropsType): React.JSX.Element;
3
+ export default function InputFieldWrapper({ children, labelText, hintText, isErrorHintText, helperLink, isError, viewRequired, additionStyle, }: InputFieldWrapperPropsType): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.115",
3
+ "version": "0.0.117",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",