@react-typed-forms/schemas 13.2.0 → 13.3.0
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/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types.d.ts +8 -2
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
|
@@ -214,7 +214,12 @@ export interface TextfieldRenderOptions extends RenderOptions {
|
|
|
214
214
|
placeholder?: string | null;
|
|
215
215
|
multiline?: boolean | null;
|
|
216
216
|
}
|
|
217
|
-
export interface
|
|
217
|
+
export interface CheckEntryClasses {
|
|
218
|
+
entryWrapperClass?: string | null;
|
|
219
|
+
selectedClass?: string | null;
|
|
220
|
+
notSelectedClass?: string | null;
|
|
221
|
+
}
|
|
222
|
+
export interface RadioButtonRenderOptions extends RenderOptions, CheckEntryClasses {
|
|
218
223
|
type: DataRenderType.Radio;
|
|
219
224
|
}
|
|
220
225
|
export interface StandardRenderer extends RenderOptions {
|
|
@@ -270,7 +275,7 @@ export type ArrayActionOptions = Pick<ArrayRenderOptions, "addText" | "addAction
|
|
|
270
275
|
disabled?: boolean;
|
|
271
276
|
designMode?: boolean;
|
|
272
277
|
};
|
|
273
|
-
export interface CheckListRenderOptions extends RenderOptions {
|
|
278
|
+
export interface CheckListRenderOptions extends RenderOptions, CheckEntryClasses {
|
|
274
279
|
type: DataRenderType.CheckList;
|
|
275
280
|
}
|
|
276
281
|
export interface SynchronisedRenderOptions extends RenderOptions {
|
|
@@ -416,3 +421,4 @@ export declare function isCompoundField(sf: SchemaField): sf is CompoundField;
|
|
|
416
421
|
export declare function isDataControl(c: ControlDefinition): c is DataControlDefinition;
|
|
417
422
|
export declare function isGroupControl(c: ControlDefinition): c is GroupedControlsDefinition;
|
|
418
423
|
export type ControlActionHandler = (actionId: string, actionData: any, ctx: ControlDataContext) => (() => void) | undefined;
|
|
424
|
+
export declare function isCheckEntryClasses(options?: RenderOptions | null): options is CheckEntryClasses & RenderOptions;
|