@hievilmath/browser-formidavim 1.2.8 → 1.2.9
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/index.js +645 -269
- package/index.mjs +40211 -5765
- package/lib/components/inputs/Address.d.ts +5 -0
- package/lib/components/inputs/Date.d.ts +1 -0
- package/lib/components/inputs/Email.d.ts +5 -0
- package/lib/components/inputs/Otp.d.ts +5 -0
- package/lib/components/inputs/Password.d.ts +5 -0
- package/lib/components/inputs/Phone.d.ts +5 -0
- package/lib/styled-components/typography.d.ts +1 -0
- package/lib/utils/emailValidation.d.ts +7 -0
- package/lib/utils/validation.d.ts +1 -1
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ export declare const InlineLink: import('styled-components/dist/types').IStyledC
|
|
|
44
44
|
}, TypographyBaseProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('react-router-dom').LinkProps & import('react').RefAttributes<HTMLAnchorElement>>, keyof import('react').Component<any, {}, any>>;
|
|
45
45
|
export declare const InlineA: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, TypographyBaseProps>> & string;
|
|
46
46
|
export declare const InlineFormError: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ErrorProps>> & string;
|
|
47
|
+
export declare const FormErrorWithIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ErrorProps>> & string;
|
|
47
48
|
export declare const FormErrorTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, ErrorProps>> & string;
|
|
48
49
|
export declare const InputSmallNote: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof LegacyTypographyProps> & LegacyTypographyProps, "ref"> & {
|
|
49
50
|
ref?: ((instance: HTMLParagraphElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLParagraphElement> | null | undefined;
|
|
@@ -2,7 +2,7 @@ import { EvaluatedFormComponent } from '../components/FlowRenderer';
|
|
|
2
2
|
/**
|
|
3
3
|
* Validates that all required visible fields have values
|
|
4
4
|
*/
|
|
5
|
-
export declare const validateRequiredFields: (evaluatedComponents: EvaluatedFormComponent[], getFlowValue: (field: string) => any) => boolean;
|
|
5
|
+
export declare const validateRequiredFields: (evaluatedComponents: EvaluatedFormComponent[], getFlowValue: (field: string) => any, getFlowError: (field: string) => any) => boolean;
|
|
6
6
|
/**
|
|
7
7
|
* Get all required components that are currently visible
|
|
8
8
|
*/
|