indicator-ui 0.0.258 → 0.0.259
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 +60 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +2 -0
- package/dist/types/src/ui/InputFields/FlexField/ui/FlexField.d.ts +1 -0
- package/dist/types/src/ui/InputFields/InputFieldWrapper/types/InputFieldWrapperTypes.d.ts +2 -0
- package/dist/types/src/ui/InputFields/InputFieldWrapper/ui/InputFieldWrapper.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
3
3
|
import { UserPickUrlType } from "../../../../ui";
|
|
4
|
+
export type DisplayTypes = "small" | "large" | undefined;
|
|
4
5
|
export type BlocksType = any;
|
|
5
6
|
export type PatternType = any;
|
|
6
7
|
export type FlexFieldValueType = string;
|
|
7
8
|
export type FlexFieldPropsType = FieldsBasePropsType<FlexFieldValueType> & {
|
|
8
9
|
type?: string;
|
|
10
|
+
display?: DisplayTypes;
|
|
9
11
|
name?: string;
|
|
10
12
|
/**
|
|
11
13
|
* Маска imask, можно засунуть, как строку (к примеру 000-000-000),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from "react";
|
|
2
|
+
import { DisplayTypes } from "../../../../ui";
|
|
2
3
|
export type InputFieldWrapperClassNameType = {
|
|
3
4
|
inputFieldWrapper?: string;
|
|
4
5
|
isError?: string;
|
|
@@ -24,6 +25,7 @@ export type InputFieldWrapperPropsType = {
|
|
|
24
25
|
labelText?: string;
|
|
25
26
|
hintText?: string;
|
|
26
27
|
name?: string;
|
|
28
|
+
display?: DisplayTypes;
|
|
27
29
|
isErrorHintText?: string;
|
|
28
30
|
helperLink?: InputFieldWrapperHelperLinkType;
|
|
29
31
|
isError?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputFieldWrapperPropsType } from '../types';
|
|
2
|
-
export default function InputFieldWrapper({ children, labelText, hintText, name, isErrorHintText, helperLink, isError, viewRequired, additionStyle, }: InputFieldWrapperPropsType): JSX.Element;
|
|
2
|
+
export default function InputFieldWrapper({ children, labelText, hintText, name, isErrorHintText, helperLink, isError, viewRequired, additionStyle, display, }: InputFieldWrapperPropsType): JSX.Element;
|