indicator-ui 0.0.145 → 0.0.147
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 +0 -59
- package/dist/index.css.map +1 -1
- package/dist/index.js +8 -54
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +1 -1
- package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +1 -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 +1 -0
- package/dist/types/src/ui/InputFields/InputFieldWrapper/ui/InputFieldWrapper.d.ts +1 -1
- package/dist/types/src/ui/InputFields/SwitcherField/types/SwitcherFieldTypes.d.ts +3 -3
- package/dist/types/src/ui/InputFields/SwitcherField/ui/SwitcherField.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FORM_BUILDER_SCHEMA } from "../schemes";
|
|
2
2
|
import { AdditionPropsType } from "../types";
|
|
3
|
-
declare const formBuilder: (schema: FORM_BUILDER_SCHEMA, additionProps: AdditionPropsType) =>
|
|
3
|
+
declare const formBuilder: (schema: FORM_BUILDER_SCHEMA, additionProps: AdditionPropsType) => import("react").ReactNode[];
|
|
4
4
|
export default formBuilder;
|
|
@@ -4,6 +4,7 @@ export type BlocksType = any;
|
|
|
4
4
|
export type PatternType = any;
|
|
5
5
|
export type FlexFieldPropsType = FieldsBasePropsType<string> & {
|
|
6
6
|
type?: string;
|
|
7
|
+
name?: string;
|
|
7
8
|
/**
|
|
8
9
|
* Маска imask, можно засунуть, как строку (к примеру 000-000-000),
|
|
9
10
|
* так и регулярное выражение. Важно!!!: не ставить маску undefined,
|
|
@@ -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, additionStyle, }: InputFieldWrapperPropsType): React.JSX.Element;
|
|
3
|
+
export default function InputFieldWrapper({ children, labelText, hintText, name, isErrorHintText, helperLink, isError, viewRequired, additionStyle, }: InputFieldWrapperPropsType): React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactElement
|
|
1
|
+
import { ReactElement } from "react";
|
|
2
|
+
import { TogglePropsType } from "../../../../ui";
|
|
2
3
|
import { FieldsBasePropsType } from "../../FieldsBase";
|
|
3
|
-
export type SwitcherFieldPropsType = FieldsBasePropsType<boolean> & {
|
|
4
|
-
children?: ReactNode;
|
|
4
|
+
export type SwitcherFieldPropsType = TogglePropsType & FieldsBasePropsType<boolean> & {
|
|
5
5
|
switcherWrapper?: ReactElement<any>;
|
|
6
6
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SwitcherFieldPropsType } from "../types";
|
|
3
|
-
export default function SwitcherField({ value, onChange,
|
|
3
|
+
export default function SwitcherField({ value, onChange, disabled, switcherWrapper, ...props }: SwitcherFieldPropsType): React.JSX.Element;
|