dhx-react-suite 1.0.3 → 1.0.5
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.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ export declare interface FormConfig {
|
|
|
133
133
|
rows?: (FormField | FormField[])[];
|
|
134
134
|
padding?: string | number;
|
|
135
135
|
width?: string | number;
|
|
136
|
+
labelWidth?: number;
|
|
136
137
|
buttons?: boolean;
|
|
137
138
|
buttonAlign?: "flex-start" | "center" | "flex-end";
|
|
138
139
|
submitText?: string;
|
|
@@ -144,12 +145,17 @@ export declare interface FormField {
|
|
|
144
145
|
type?: "input" | "textarea" | "select" | "checkbox" | "radio" | "slider" | "combo" | "datepicker" | "timepicker" | "fieldset" | "spacer" | "text" | "toggle" | "colorpicker";
|
|
145
146
|
name: string;
|
|
146
147
|
label?: string;
|
|
148
|
+
labelWidth?: number;
|
|
149
|
+
labelPosition?: "top" | "left";
|
|
147
150
|
placeholder?: string;
|
|
148
151
|
required?: boolean;
|
|
149
152
|
disabled?: boolean;
|
|
150
153
|
value?: unknown;
|
|
151
154
|
inputType?: string;
|
|
152
155
|
icon?: React.ReactNode;
|
|
156
|
+
offIcon?: React.ReactNode;
|
|
157
|
+
text?: string;
|
|
158
|
+
offText?: string;
|
|
153
159
|
helpMessage?: string;
|
|
154
160
|
options?: FormFieldOption[];
|
|
155
161
|
data?: {
|