@react-querybuilder/antd 7.7.1-rc.0 → 7.7.1-rc.1

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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -6,6 +6,8 @@ Official [react-querybuilder](https://npmjs.com/package/react-querybuilder) comp
6
6
  - [Full documentation](https://react-querybuilder.js.org/)
7
7
  - [CodeSandbox](https://react-querybuilder.js.org/sandbox?t=antd) / [StackBlitz](https://react-querybuilder.js.org/sandbox?p=stackblitz&t=antd) example projects
8
8
 
9
+ ![Screenshot](../../_assets/screenshot-antd.png)
10
+
9
11
  ## Installation
10
12
 
11
13
  ```bash
@@ -19,6 +21,7 @@ To configure the query builder to use Ant Design-compatible components, place `Q
19
21
 
20
22
  ```tsx
21
23
  import { QueryBuilderAntD } from '@react-querybuilder/antd';
24
+ import { useState } from 'react';
22
25
  import { type Field, QueryBuilder, type RuleGroupType } from 'react-querybuilder';
23
26
 
24
27
  const fields: Field[] = [
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": "7.7.1-rc.0",
4
+ "version": "7.7.1-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -48,7 +48,7 @@
48
48
  "dayjs": "^1.11.13",
49
49
  "react": "^18.3.1",
50
50
  "react-dom": "^18.3.1",
51
- "react-querybuilder": "7.7.1-rc.0",
51
+ "react-querybuilder": "7.7.1-rc.1",
52
52
  "rollup-plugin-visualizer": "^5.12.0",
53
53
  "typescript": "^5.6.3",
54
54
  "vite": "^5.4.9"
@@ -58,7 +58,7 @@
58
58
  "antd": ">=5",
59
59
  "dayjs": ">=1",
60
60
  "react": ">=18",
61
- "react-querybuilder": "7.7.1-rc.0"
61
+ "react-querybuilder": "7.7.1-rc.1"
62
62
  },
63
- "gitHead": "926c333065a2ad41d49b0732354bfdb76ac10ea1"
63
+ "gitHead": "bb43af45775f5c806af47abd2bba944c96e4c651"
64
64
  }