@react-querybuilder/antd 4.1.3 → 4.2.2
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/README.md +5 -24
- package/dist/index.cjs.js +11 -1
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +3798 -25
- package/dist/index.es.js.map +1 -0
- package/dist/types/AntDActionElement.d.ts +2 -3
- package/dist/types/AntDDragHandle.d.ts +1 -2
- package/dist/types/AntDNotToggle.d.ts +1 -2
- package/dist/types/AntDValueEditor.d.ts +1 -2
- package/dist/types/AntDValueSelector.d.ts +2 -3
- package/dist/types/index.d.ts +8 -5
- package/package.json +6 -5
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ActionProps } from 'react-querybuilder';
|
|
3
|
-
declare const AntDActionElement: {
|
|
4
|
-
({ className, handleOnClick, label, title, disabled }: ActionProps): JSX.Element;
|
|
3
|
+
export declare const AntDActionElement: {
|
|
4
|
+
({ className, handleOnClick, label, title, disabled, disabledTranslation, }: ActionProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
|
-
export default AntDActionElement;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { DragHandleProps } from 'react-querybuilder';
|
|
3
|
-
declare const AntDDragHandle: import("react").ForwardRefExoticComponent<DragHandleProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
4
|
-
export default AntDDragHandle;
|
|
3
|
+
export declare const AntDDragHandle: import("react").ForwardRefExoticComponent<DragHandleProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { NotToggleProps } from 'react-querybuilder';
|
|
3
|
-
declare const AntDNotToggle: {
|
|
3
|
+
export declare const AntDNotToggle: {
|
|
4
4
|
({ className, handleOnChange, label, checked, title, disabled, }: NotToggleProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
|
-
export default AntDNotToggle;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ValueEditorProps } from 'react-querybuilder';
|
|
3
|
-
declare const AntDValueEditor: {
|
|
3
|
+
export declare const AntDValueEditor: {
|
|
4
4
|
({ fieldData, operator, value, handleOnChange, title, className, type, inputType, values, disabled, ...props }: ValueEditorProps): JSX.Element | null;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
|
-
export default AntDValueEditor;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ValueSelectorProps } from 'react-querybuilder';
|
|
3
|
-
declare const AntDValueSelector: {
|
|
4
|
-
({ className, handleOnChange, options, value, title, disabled, }: ValueSelectorProps): JSX.Element;
|
|
3
|
+
export declare const AntDValueSelector: {
|
|
4
|
+
({ className, handleOnChange, options, value, title, disabled, multiple, }: ValueSelectorProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
|
-
export default AntDValueSelector;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import type { Controls } from 'react-querybuilder';
|
|
2
|
+
import { AntDActionElement } from './AntDActionElement';
|
|
3
|
+
import { AntDDragHandle } from './AntDDragHandle';
|
|
4
|
+
import { AntDNotToggle } from './AntDNotToggle';
|
|
5
|
+
import { AntDValueEditor } from './AntDValueEditor';
|
|
6
|
+
import { AntDValueSelector } from './AntDValueSelector';
|
|
7
|
+
export declare const antdControlElements: Partial<Controls>;
|
|
8
|
+
export { AntDActionElement, AntDDragHandle, AntDNotToggle, AntDValueEditor, AntDValueSelector };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-querybuilder/antd",
|
|
3
3
|
"description": "Custom Ant Design components for react-querybuilder",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.2.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/react-querybuilder/react-querybuilder"
|
|
16
|
+
"url": "https://github.com/react-querybuilder/react-querybuilder.git",
|
|
17
|
+
"directory": "packages/antd"
|
|
17
18
|
},
|
|
18
19
|
"license": "MIT",
|
|
19
20
|
"homepage": "https://react-querybuilder.js.org/",
|
|
@@ -25,9 +26,9 @@
|
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"@ant-design/icons": "^4.7.0",
|
|
27
28
|
"@types/react": "^17.0.0",
|
|
28
|
-
"antd": "4.17.3",
|
|
29
|
+
"antd": "^4.17.3",
|
|
29
30
|
"react": "^17.0.1",
|
|
30
|
-
"react-querybuilder": "^4.
|
|
31
|
+
"react-querybuilder": "^4.2.2",
|
|
31
32
|
"typescript": "^4.5.0"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
|
@@ -36,5 +37,5 @@
|
|
|
36
37
|
"react": ">=16.8.0",
|
|
37
38
|
"react-querybuilder": ">=4"
|
|
38
39
|
},
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "7cbb02520fd4f2839115c607303090bb31bfbf54"
|
|
40
41
|
}
|