@rjsf/antd 5.18.1 → 5.18.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.
- package/LICENSE.md +1 -1
- package/lib/templates/ArrayFieldItemTemplate/index.d.ts +1 -2
- package/lib/templates/ArrayFieldTemplate/index.d.ts +1 -2
- package/lib/templates/BaseInputTemplate/index.d.ts +1 -2
- package/lib/templates/DescriptionField/index.d.ts +1 -2
- package/lib/templates/ErrorList/index.d.ts +1 -2
- package/lib/templates/FieldErrorTemplate/index.d.ts +1 -2
- package/lib/templates/FieldTemplate/index.d.ts +1 -2
- package/lib/templates/IconButton/index.d.ts +6 -7
- package/lib/templates/ObjectFieldTemplate/index.d.ts +1 -2
- package/lib/templates/SubmitButton/index.d.ts +1 -2
- package/lib/templates/TitleField/index.d.ts +1 -2
- package/lib/templates/WrapIfAdditionalTemplate/index.d.ts +1 -2
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/widgets/AltDateTimeWidget/index.d.ts +1 -2
- package/lib/widgets/AltDateWidget/index.d.ts +1 -2
- package/lib/widgets/CheckboxWidget/index.d.ts +1 -2
- package/lib/widgets/CheckboxesWidget/index.d.ts +1 -2
- package/lib/widgets/DateTimeWidget/index.d.ts +1 -2
- package/lib/widgets/DateWidget/index.d.ts +1 -2
- package/lib/widgets/PasswordWidget/index.d.ts +1 -2
- package/lib/widgets/RadioWidget/index.d.ts +1 -2
- package/lib/widgets/RangeWidget/index.d.ts +1 -2
- package/lib/widgets/SelectWidget/index.d.ts +1 -2
- package/lib/widgets/TextareaWidget/index.d.ts +1 -2
- package/package.json +13 -13
package/LICENSE.md
CHANGED
|
@@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work.
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2015-2024 rjsf-team
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ArrayFieldTemplateItemType, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `ArrayFieldItemTemplate` component is the template used to render an items of an array.
|
|
4
3
|
*
|
|
5
4
|
* @param props - The `ArrayFieldTemplateItemType` props for the component
|
|
6
5
|
*/
|
|
7
|
-
export default function ArrayFieldItemTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: ArrayFieldTemplateItemType<T, S, F>): JSX.Element;
|
|
6
|
+
export default function ArrayFieldItemTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: ArrayFieldTemplateItemType<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ArrayFieldTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `ArrayFieldTemplate` component is the template used to render all items in an array.
|
|
4
3
|
*
|
|
5
4
|
* @param props - The `ArrayFieldTemplateItemType` props for the component
|
|
6
5
|
*/
|
|
7
|
-
export default function ArrayFieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: ArrayFieldTemplateProps<T, S, F>): JSX.Element;
|
|
6
|
+
export default function ArrayFieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: ArrayFieldTemplateProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { BaseInputTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `BaseInputTemplate` is the template to use to render the basic `<input>` component for the `core` theme.
|
|
4
3
|
* It is used as the template for rendering many of the <input> based widgets that differ by `type` and callbacks only.
|
|
@@ -6,4 +5,4 @@ import { BaseInputTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema }
|
|
|
6
5
|
*
|
|
7
6
|
* @param props - The `WidgetProps` for this template
|
|
8
7
|
*/
|
|
9
|
-
export default function BaseInputTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: BaseInputTemplateProps<T, S, F>): JSX.Element;
|
|
8
|
+
export default function BaseInputTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: BaseInputTemplateProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DescriptionFieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `DescriptionField` is the template to use to render the description of a field
|
|
4
3
|
*
|
|
5
4
|
* @param props - The `DescriptionFieldProps` for this component
|
|
6
5
|
*/
|
|
7
|
-
export default function DescriptionField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: DescriptionFieldProps<T, S, F>): JSX.Element | null;
|
|
6
|
+
export default function DescriptionField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: DescriptionFieldProps<T, S, F>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `ErrorList` component is the template that renders the all the errors associated with the fields in the `Form`
|
|
4
3
|
*
|
|
5
4
|
* @param props - The `ErrorListProps` for this component
|
|
6
5
|
*/
|
|
7
|
-
export default function ErrorList<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ errors, registry, }: ErrorListProps<T, S, F>): JSX.Element;
|
|
6
|
+
export default function ErrorList<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ errors, registry, }: ErrorListProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FieldErrorProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `FieldErrorTemplate` component renders the errors local to the particular field
|
|
4
3
|
*
|
|
5
4
|
* @param props - The `FieldErrorProps` for the errors being rendered
|
|
6
5
|
*/
|
|
7
|
-
export default function FieldErrorTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: FieldErrorProps<T, S, F>): JSX.Element | null;
|
|
6
|
+
export default function FieldErrorTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: FieldErrorProps<T, S, F>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FieldTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `FieldTemplate` component is the template used by `SchemaField` to render any field. It renders the field
|
|
4
3
|
* content, (label, description, children, errors and help) inside of a `WrapIfAdditional` component.
|
|
5
4
|
*
|
|
6
5
|
* @param props - The `FieldTemplateProps` for this component
|
|
7
6
|
*/
|
|
8
|
-
export default function FieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: FieldTemplateProps<T, S, F>): JSX.Element;
|
|
7
|
+
export default function FieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: FieldTemplateProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ButtonProps } from 'antd';
|
|
3
2
|
import { FormContextType, IconButtonProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
4
3
|
export type AntdIconButtonProps<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any> = Omit<IconButtonProps<T, S, F>, 'type'>;
|
|
5
|
-
export default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F> & Omit<ButtonProps, 'onClick'>): JSX.Element;
|
|
6
|
-
export declare function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): JSX.Element;
|
|
7
|
-
export declare function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): JSX.Element;
|
|
8
|
-
export declare function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): JSX.Element;
|
|
9
|
-
export declare function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): JSX.Element;
|
|
10
|
-
export declare function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): JSX.Element;
|
|
4
|
+
export default function IconButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F> & Omit<ButtonProps, 'onClick'>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function AddButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function CopyButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function MoveDownButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function MoveUpButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function RemoveButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: AntdIconButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormContextType, ObjectFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `ObjectFieldTemplate` is the template to use to render all the inner properties of an object along with the
|
|
4
3
|
* title and description if available. If the object is expandable, then an `AddButton` is also rendered after all
|
|
@@ -6,4 +5,4 @@ import { FormContextType, ObjectFieldTemplateProps, RJSFSchema, StrictRJSFSchema
|
|
|
6
5
|
*
|
|
7
6
|
* @param props - The `ObjectFieldTemplateProps` for this component
|
|
8
7
|
*/
|
|
9
|
-
export default function ObjectFieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: ObjectFieldTemplateProps<T, S, F>): JSX.Element;
|
|
8
|
+
export default function ObjectFieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: ObjectFieldTemplateProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormContextType, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';
|
|
3
2
|
/** The `SubmitButton` renders a button that represent the `Submit` action on a form
|
|
4
3
|
*/
|
|
5
|
-
export default function SubmitButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ uiSchema }: SubmitButtonProps<T, S, F>): JSX.Element | null;
|
|
4
|
+
export default function SubmitButton<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ uiSchema }: SubmitButtonProps<T, S, F>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormContextType, TitleFieldProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
|
|
3
2
|
/** The `TitleField` is the template to use to render the title of a field
|
|
4
3
|
*
|
|
5
4
|
* @param props - The `TitleFieldProps` for this component
|
|
6
5
|
*/
|
|
7
|
-
export default function TitleField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ id, required, registry, title, }: TitleFieldProps<T, S, F>): JSX.Element | null;
|
|
6
|
+
export default function TitleField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ id, required, registry, title, }: TitleFieldProps<T, S, F>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormContextType, RJSFSchema, StrictRJSFSchema, WrapIfAdditionalTemplateProps } from '@rjsf/utils';
|
|
3
2
|
/** The `WrapIfAdditional` component is used by the `FieldTemplate` to rename, or remove properties that are
|
|
4
3
|
* part of an `additionalProperties` part of a schema.
|
|
5
4
|
*
|
|
6
5
|
* @param props - The `WrapIfAdditionalProps` for this component
|
|
7
6
|
*/
|
|
8
|
-
export default function WrapIfAdditionalTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: WrapIfAdditionalTemplateProps<T, S, F>): JSX.Element;
|
|
7
|
+
export default function WrapIfAdditionalTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: WrapIfAdditionalTemplateProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
|