gbs-add-block 1.0.27 → 1.0.29
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 +4 -4
- package/index.cjs +2 -2
- package/package.json +1 -1
- package/source/components/datagrid/context/GridContext.tsx +2 -2
- package/source/components/datagrid/hooks/useFiltering.ts +1 -1
- package/source/components/datagrid/index.tsx +1 -0
- package/source/components/datagrid/layout/GridBody.tsx +1 -1
- package/source/components/datagrid/type.ts +1 -1
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# GBS Building Blocks 2.0 (v1.0.
|
|
1
|
+
# GBS Building Blocks 2.0 (v1.0.29)
|
|
2
2
|
|
|
3
3
|
Latest and upgraded version of GBS building blocks with headless UI and removed dependencies.
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
7
|
-
For detailed documentation on usage and props, Please visit: [Building Block Documentation v2.0](https://
|
|
7
|
+
For detailed documentation on usage and props, Please visit: [Building Block Documentation v2.0](https://gramprokit.vercel.app)
|
|
8
8
|
|
|
9
|
-
## What's New 🎉 (Ver 1.0.
|
|
9
|
+
## What's New 🎉 (Ver 1.0.29)
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- DataGrid Bug Fix
|
|
12
12
|
|
|
13
13
|
## Authors
|
|
14
14
|
|
package/index.cjs
CHANGED
|
@@ -34,13 +34,13 @@ const CONFIG = {
|
|
|
34
34
|
"Bargraph",
|
|
35
35
|
"UsePaginatedData",
|
|
36
36
|
"UseUploader",
|
|
37
|
-
"DataGridBeta"
|
|
37
|
+
"DataGridBeta",
|
|
38
38
|
],
|
|
39
39
|
// Define component dependencies
|
|
40
40
|
dependencies: {
|
|
41
41
|
FormRenderer: ["Select", "MultiSelect", "Input", "DatePicker"],
|
|
42
42
|
},
|
|
43
|
-
docs: "https://
|
|
43
|
+
docs: "https://gramprokit.vercel.app/",
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
const SOURCE_PATH = path.join(__dirname, "source", "components");
|
package/package.json
CHANGED
|
@@ -110,8 +110,8 @@ export const GridProvider: React.FC<{
|
|
|
110
110
|
const { selectedRows, handleSelectAll, handleSelect, isRowSelected } =
|
|
111
111
|
useRowSelection(workingDataSource, onSelectRow);
|
|
112
112
|
|
|
113
|
-
// Page status reporting
|
|
114
|
-
usePageStatus(currentPage, totalPages, pageStatus);
|
|
113
|
+
// Page status reporting - Bug Report - causes re-rendering when currentPage or totalPages change
|
|
114
|
+
// usePageStatus(currentPage, totalPages, pageStatus);
|
|
115
115
|
|
|
116
116
|
// Context value
|
|
117
117
|
const contextValue: GridContextType = {
|
|
@@ -3,7 +3,7 @@ import { useGridContext } from "../context/GridContext";
|
|
|
3
3
|
import FilterPopup from "./FilterPopup";
|
|
4
4
|
import Icon from "../../icon/Icon";
|
|
5
5
|
import { listFilter } from "../../icon/iconPaths";
|
|
6
|
-
import { Column } from "../type";
|
|
6
|
+
import type { Column } from "../type";
|
|
7
7
|
|
|
8
8
|
const GridBody = () => {
|
|
9
9
|
const {
|