gbs-add-block 0.0.24 → 0.0.25
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# GBS Building Blocks 2.0 (v0.0.
|
|
1
|
+
# GBS Building Blocks 2.0 (v0.0.25)
|
|
2
2
|
|
|
3
3
|
Latest and upgraded version of GBS building blocks with headless UI and removed dependencies.
|
|
4
4
|
|
|
@@ -8,8 +8,7 @@ For detailed documentation on usage and props, Please visit: [Building Block Doc
|
|
|
8
8
|
|
|
9
9
|
## What's New 🎉 (Ver 0.0.23)
|
|
10
10
|
|
|
11
|
-
- Updated
|
|
12
|
-
- Global Style Customisation is Now available(beta)
|
|
11
|
+
- Updated Grid
|
|
13
12
|
|
|
14
13
|
## Authors
|
|
15
14
|
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import type { GridProps } from "./type";
|
|
34
34
|
import { getSourceData } from "../utils";
|
|
35
35
|
|
|
36
|
-
export const
|
|
36
|
+
export const GridMemoised = forwardRef((props: GridProps, ref) => {
|
|
37
37
|
const {
|
|
38
38
|
dataSource,
|
|
39
39
|
columns = [],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* https://psychedelic-step-e70.notion.site/Data-GRID-by-GBS-R-D-20ff97c899d24bc590215a6196435fa3
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import {
|
|
11
|
+
import { GridMemoised as GridComponent } from "./Grid";
|
|
12
12
|
import React, { memo } from "react";
|
|
13
13
|
|
|
14
14
|
const Grid = memo(GridComponent, (prevProps, nextProps) => {
|