@react-querybuilder/bootstrap 7.7.1-rc.0 → 7.7.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.
- package/README.md +3 -0
- package/package.json +16 -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=bootstrap) / [StackBlitz](https://react-querybuilder.js.org/sandbox?p=stackblitz&t=bootstrap) example projects
|
|
8
8
|
|
|
9
|
+

|
|
10
|
+
|
|
9
11
|
## Installation
|
|
10
12
|
|
|
11
13
|
```bash
|
|
@@ -21,6 +23,7 @@ To configure the query builder to use Bootstrap-compatible components, place `Qu
|
|
|
21
23
|
import { QueryBuilderBootstrap } from '@react-querybuilder/bootstrap';
|
|
22
24
|
import 'bootstrap-icons/font/bootstrap-icons.scss';
|
|
23
25
|
import 'bootstrap/scss/bootstrap.scss';
|
|
26
|
+
import { useState } from 'react';
|
|
24
27
|
import { type Field, QueryBuilder, type RuleGroupType } from 'react-querybuilder';
|
|
25
28
|
|
|
26
29
|
const fields: Field[] = [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-querybuilder/bootstrap",
|
|
3
3
|
"description": "Custom Bootstrap components for react-querybuilder",
|
|
4
|
-
"version": "7.7.1
|
|
4
|
+
"version": "7.7.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -32,6 +32,18 @@
|
|
|
32
32
|
},
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"homepage": "https://react-querybuilder.js.org/",
|
|
35
|
+
"keywords": [
|
|
36
|
+
"react",
|
|
37
|
+
"querybuilder",
|
|
38
|
+
"bootstrap",
|
|
39
|
+
"query",
|
|
40
|
+
"builder",
|
|
41
|
+
"operators",
|
|
42
|
+
"component",
|
|
43
|
+
"clause",
|
|
44
|
+
"expression",
|
|
45
|
+
"sql"
|
|
46
|
+
],
|
|
35
47
|
"scripts": {
|
|
36
48
|
"start": "bunx --bun vite",
|
|
37
49
|
"build": "bunx --bun tsup",
|
|
@@ -48,7 +60,7 @@
|
|
|
48
60
|
"bootstrap-icons": "^1.11.3",
|
|
49
61
|
"react": "^18.3.1",
|
|
50
62
|
"react-dom": "^18.3.1",
|
|
51
|
-
"react-querybuilder": "7.7.1
|
|
63
|
+
"react-querybuilder": "7.7.1",
|
|
52
64
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
53
65
|
"typescript": "^5.6.3",
|
|
54
66
|
"vite": "^5.4.9"
|
|
@@ -57,7 +69,7 @@
|
|
|
57
69
|
"bootstrap": ">=5",
|
|
58
70
|
"bootstrap-icons": ">=1.7.0",
|
|
59
71
|
"react": ">=18",
|
|
60
|
-
"react-querybuilder": "7.7.1
|
|
72
|
+
"react-querybuilder": "7.7.1"
|
|
61
73
|
},
|
|
62
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "946050b72a648f203a70c7edf89e30b78789c8f6"
|
|
63
75
|
}
|