gbs-add-block 1.0.13 → 1.0.14

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 (v1.0.13)
1
+ # GBS Building Blocks 2.0 (v1.0.14)
2
2
 
3
3
  Latest and upgraded version of GBS building blocks with headless UI and removed dependencies.
4
4
 
@@ -6,10 +6,11 @@ Latest and upgraded version of GBS building blocks with headless UI and removed
6
6
 
7
7
  For detailed documentation on usage and props, Please visit: [Building Block Documentation v2.0](https://blackmax-designs.gitbook.io/building-block-v2.0)
8
8
 
9
- ## What's New 🎉 (Ver 1.0.13)
9
+ ## What's New 🎉 (Ver 1.0.14)
10
10
 
11
11
  - Data Grid Enhancement
12
12
  - End of Support for Grid Component
13
+ - Select Enhancement
13
14
 
14
15
  ## Authors
15
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gbs-add-block",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "React Component Library",
5
5
  "type": "module",
6
6
  "files": [
@@ -14,7 +14,7 @@ export const PortalDropdown = ({ targetRef, children, isVisible }: any) => {
14
14
  window.pageXOffset || document.documentElement.scrollLeft;
15
15
 
16
16
  setPosition({
17
- top: rect.bottom + scrollTop + 4,
17
+ top: rect.bottom + scrollTop + 1,
18
18
  left: rect.left + scrollLeft,
19
19
  width: rect.width,
20
20
  });
@@ -31,6 +31,7 @@ export const PortalDropdown = ({ targetRef, children, isVisible }: any) => {
31
31
  left: position.left,
32
32
  width: position.width,
33
33
  zIndex: 1000,
34
+ visibility: position.top === 0 ? "hidden" : "visible",
34
35
  }}
35
36
  className={popUp["pop-up-style"]}
36
37
  data-select-portal="true"
@@ -14,7 +14,7 @@ export const PortalDropdown = ({ targetRef, children, isVisible }: any) => {
14
14
  window.pageXOffset || document.documentElement.scrollLeft;
15
15
 
16
16
  setPosition({
17
- top: rect.bottom + scrollTop + 4,
17
+ top: rect.bottom + scrollTop + 1,
18
18
  left: rect.left + scrollLeft,
19
19
  width: rect.width,
20
20
  });
@@ -31,6 +31,7 @@ export const PortalDropdown = ({ targetRef, children, isVisible }: any) => {
31
31
  left: position.left,
32
32
  width: position.width,
33
33
  zIndex: 1000,
34
+ visibility: position.top === 0 ? "hidden" : "visible",
34
35
  }}
35
36
  className={popUp["pop-up-style"]}
36
37
  data-select-portal="true"