@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/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 RadioButtonRenderOptions extends RenderOptions {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-typed-forms/schemas",
3
- "version": "13.2.0",
3
+ "version": "13.3.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "lib/index.cjs",