@react-typed-forms/schemas 11.6.0 → 11.7.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.
@@ -29,7 +29,7 @@ export interface DataRendererRegistration {
29
29
  export interface LabelRendererRegistration {
30
30
  type: "label";
31
31
  labelType?: LabelType | LabelType[];
32
- render: (labelProps: LabelRendererProps, labelStart: ReactNode, labelEnd: ReactNode, renderers: FormRenderer) => ReactElement;
32
+ render: (labelProps: LabelRendererProps, labelStart: ReactNode, labelEnd: ReactNode, renderers: FormRenderer) => ReactNode;
33
33
  }
34
34
  export interface ActionRendererRegistration {
35
35
  type: "action";
@@ -1,6 +1,8 @@
1
1
  import { FieldOption, SchemaField, SchemaInterface } from "./types";
2
2
  import { Control } from "@react-typed-forms/core";
3
3
  export declare class DefaultSchemaInterface implements SchemaInterface {
4
+ protected boolStrings: [string, string];
5
+ constructor(boolStrings?: [string, string]);
4
6
  getOptions({ options }: SchemaField): FieldOption[] | null | undefined;
5
7
  isEmptyValue(f: SchemaField, value: any): boolean;
6
8
  textValue(field: SchemaField, value: any, element?: boolean | undefined): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-typed-forms/schemas",
3
- "version": "11.6.0",
3
+ "version": "11.7.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",