react-bounded-overlay-manager 1.0.0 → 1.0.2

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 +6 -3
  2. package/package.json +36 -2
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- `React Bounded Overlay Manager` is a React library designed to create and manage overlay components within a specified bounding container. It offers flexible positioning, dynamic show/hide behavior, customizable event handling, and an API for extended control.
5
+ `React Bounded Overlay Manager` is a React library, with TypeScript support, designed to create and manage overlay components within a specified bounding container. It offers flexible positioning, dynamic event-based show/hide behavior, customizable event handling, and an API for extended control.
6
6
 
7
7
  ## Key Features
8
8
 
@@ -27,17 +27,20 @@ const BasicExample = () => {
27
27
  const boundingComponentRef = useRef(null);
28
28
 
29
29
  return (
30
- <div>
30
+ <>
31
31
  <div ref={boundingComponentRef} style={{ width: '70vw', height: '50vh', border: '1px solid black' }}>
32
32
  Hover over this div to display overlays.
33
33
  </div>
34
+ {/*
35
+ The BoundedOverlayManager component can be flexibly placed anywhere within the React component tree of your application's JSX. Its internal logic will handle the actual rendering location of overlays, ensuring consistent functionality regardless of its position in the JSX.
36
+ */}
34
37
  <BoundedOverlayManager boundingComponentRef={boundingComponentRef}>
35
38
  <Overlay position={PredefinedPosition.BOTTOM_CENTER}>
36
39
  <button>Overlay Button</button>
37
40
  </Overlay>
38
41
  <!-- more overlays here -->
39
42
  </BoundedOverlayManager>
40
- </div>
43
+ </>
41
44
  );
42
45
  };
43
46
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-bounded-overlay-manager",
3
3
  "private": false,
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -75,5 +75,39 @@
75
75
  "repository": {
76
76
  "type": "git",
77
77
  "url": "https://github.com/metincansiper/react-bounded-overlay-manager"
78
- }
78
+ },
79
+ "keywords": [
80
+ "react",
81
+ "overlay",
82
+ "customizable",
83
+ "extendable",
84
+ "flexible",
85
+ "dynamic-visibility",
86
+ "react-overlay",
87
+ "overlay-manager",
88
+ "manager",
89
+ "controller",
90
+ "interactive-ui",
91
+ "relative",
92
+ "absolute",
93
+ "positioning",
94
+ "position",
95
+ "offset",
96
+ "component-library",
97
+ "event-based",
98
+ "user-interaction",
99
+ "responsive",
100
+ "interface-enhancement",
101
+ "ui-library",
102
+ "react-components",
103
+ "dynamic-content",
104
+ "popup",
105
+ "tooltip",
106
+ "popover",
107
+ "modal",
108
+ "typescript",
109
+ "ui-components",
110
+ "react-ui",
111
+ "frontend"
112
+ ]
79
113
  }