@react-typed-forms/schemas 11.5.2 → 11.5.3

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.
@@ -50,6 +50,14 @@ export declare function intField<S extends Partial<SchemaField>>(displayName: st
50
50
  type: FieldType.Int;
51
51
  displayName: string;
52
52
  } & S;
53
+ export declare function dateField<S extends Partial<SchemaField>>(displayName: string, options?: S): (name: string) => SchemaField & {
54
+ type: FieldType.Date;
55
+ displayName: string;
56
+ } & S;
57
+ export declare function dateTimeField<S extends Partial<SchemaField>>(displayName: string, options?: S): (name: string) => SchemaField & {
58
+ type: FieldType.DateTime;
59
+ displayName: string;
60
+ } & S;
53
61
  export declare function boolField<S extends Partial<SchemaField>>(displayName: string, options?: S): (name: string) => SchemaField & {
54
62
  type: FieldType.Bool;
55
63
  displayName: string;
package/lib/types.d.ts CHANGED
@@ -198,6 +198,7 @@ export interface HtmlEditorRenderOptions extends RenderOptions {
198
198
  export interface DateTimeRenderOptions extends RenderOptions {
199
199
  type: DataRenderType.DateTime;
200
200
  format?: string | null;
201
+ forceMidnight?: boolean;
201
202
  }
202
203
  export interface IconListRenderOptions extends RenderOptions {
203
204
  type: DataRenderType.IconList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-typed-forms/schemas",
3
- "version": "11.5.2",
3
+ "version": "11.5.3",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",