@xapp/form-widget 1.62.0 → 1.63.1
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/components/FormFieldCard/FormFieldCard.d.ts +1 -0
- package/dist/components/FormFieldDate/FormFieldDate.d.ts +1 -0
- package/dist/components/FormFieldTextInputAddress/FormFieldTextInputAddress.d.ts +3 -0
- package/dist/components/FormFieldTextInputAddress/index.d.ts +1 -0
- package/dist/components/SearchResponseFormDisplay/model.d.ts +5 -2
- package/dist/components/SimpleNavigationHeader/SimpleNavigationHeader.d.ts +4 -2
- package/dist/constants/variables.d.ts +1 -1
- package/dist/index.css +811 -1
- package/dist/index.es.js +3535 -9949
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3535 -9949
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormFieldTextInputAddress } from "./FormFieldTextInputAddress";
|
|
@@ -14,6 +14,7 @@ export interface MultistepForm extends BaseDisplay {
|
|
|
14
14
|
type: "FORM";
|
|
15
15
|
name: string;
|
|
16
16
|
header: FormHeaderItem[];
|
|
17
|
+
labelHeader: boolean;
|
|
17
18
|
steps: FormStep[];
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
@@ -37,6 +38,7 @@ export interface FormStep {
|
|
|
37
38
|
name: string;
|
|
38
39
|
title?: string;
|
|
39
40
|
fields: FormField[];
|
|
41
|
+
condition?: string;
|
|
40
42
|
nextAction?: "next" | "submit" | "omit";
|
|
41
43
|
previousAction?: "previous" | "submit" | "omit";
|
|
42
44
|
nextLabel?: string;
|
|
@@ -60,7 +62,7 @@ export interface FormInput {
|
|
|
60
62
|
*/
|
|
61
63
|
export interface FormTextInput extends FormInput {
|
|
62
64
|
multiline?: boolean;
|
|
63
|
-
format?: "PHONE" | "EMAIL";
|
|
65
|
+
format?: "PHONE" | "EMAIL" | "ADDRESS";
|
|
64
66
|
placeholder?: string;
|
|
65
67
|
label?: string;
|
|
66
68
|
rows?: number;
|
|
@@ -99,7 +101,8 @@ export interface FormCardInput extends FormInput {
|
|
|
99
101
|
subheader?: string;
|
|
100
102
|
};
|
|
101
103
|
media?: {
|
|
102
|
-
|
|
104
|
+
height?: number;
|
|
105
|
+
width?: number;
|
|
103
106
|
imageUrl: string;
|
|
104
107
|
alt?: string;
|
|
105
108
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { FormHeaderItem } from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FormHeaderItem } from "../SearchResponseFormDisplay";
|
|
3
3
|
interface SimpleNavigationHeaderProps {
|
|
4
4
|
items: FormHeaderItem[];
|
|
5
5
|
onHeaderClick(step: string): void;
|
|
6
|
+
labelHeader?: boolean;
|
|
7
|
+
stepName: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const SimpleNavigationHeader: React.FC<SimpleNavigationHeaderProps>;
|
|
8
10
|
export {};
|