Skip to content

Commit 36fdbad

Browse files
authored
Merge pull request #27 from yjose/fix/issue#20
Fix/issue#26
2 parents 09ca08d + a8e0991 commit 36fdbad

File tree

13 files changed

+744
-873
lines changed

13 files changed

+744
-873
lines changed

README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919

2020
[Reactjs-popup](https://react-popup.netlify.com) is a simple react popup component with a lot of benefits :
2121

22-
* Built with react fragment that’s mean no additional wrapper Divs in your code or in the trigger element. 😮
23-
* Does not inject HTML outside your app root. 📦
24-
* Function as children pattern to take control over your popup anywhere in your code. 💪
25-
* Modal, Tooltip, Menu : All in one 🏋️
26-
* Full style customization 👌
27-
* Easy to use. 🚀
28-
* All these clocks in at around 3 kB zipped. ⚡️
22+
- Built with react fragment that’s mean no additional wrapper Divs in your code or in the trigger element. 😮
23+
- Does not inject HTML outside your app root. 📦
24+
- Function as children pattern to take control over your popup anywhere in your code. 💪
25+
- Modal, Tooltip, Menu : All in one 🏋️
26+
- Full style customization 👌
27+
- Easy to use. 🚀
28+
- IE Support.
29+
- All these clocks in at around 3 kB zipped. ⚡️
2930

3031
Requires React >= 16.0
3132

@@ -37,15 +38,15 @@ Requires React >= 16.0
3738

3839
## TO DO
3940

40-
* [x] Create repository && publish package
41-
* [x] Create reactjs-popup Home page
42-
* [x] Tooltip Support
43-
* [x] Modal Support
44-
* [x] Menu & Nested Menu Support
45-
* [x] Add Live examples
46-
* [ ] Animation API
47-
* [ ] Toast Support
48-
* [ ] suggest a feature [here](https://github.com/yjose/reactjs-popup/labels/Features)
41+
- [x] Create repository && publish package
42+
- [x] Create reactjs-popup Home page
43+
- [x] Tooltip Support
44+
- [x] Modal Support
45+
- [x] Menu & Nested Menu Support
46+
- [x] Add Live examples
47+
- [ ] Animation API
48+
- [ ] Toast Support
49+
- [ ] suggest a feature [here](https://github.com/yjose/reactjs-popup/labels/Features)
4950

5051
## Installing / Getting started
5152

docs/src/markdown/componentApi.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title : React Popup | Component API
2+
title : React Popup | Component API
33
description : The reactjs-popup API is inspired by semantic popup docs
44
components:
55
InputFocus : InputFocus
@@ -17,7 +17,8 @@ The reactjs-popup API is inspired by semantic popup docs
1717
| on | `'hover'` | {enum,Array} | Events triggering the popup. Enums or Array of : `'hover' 'click' 'focus'` . |
1818
| children | | {node or func} | Popup content |
1919
| position | `'bottom center'` | {enum} | Position for the popover. <br /> Enums:`'top left' 'top right' 'bottom right' 'bottom left' 'right center' 'left center' 'top center' 'bottom center'` |
20-
| offset | 0 | number | Offset in pixels to be applied to the Popup. |
20+
| offsetX | 0 | number | OffsetX in pixels to be applied to the Popup. |
21+
| offsetY | 0 | number | OffsetY in pixels to be applied to the Popup. |
2122
| arrow | true | {bool} | Arrow element |
2223
| modal | false | {bool} | A modal component when modal ={true} |
2324
| lockScroll | false | {bool} | Disable body scroll when modal is open ( work only with modal) |

docs/src/markdown/welcome.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
---
22
title: React Popup Component - Modals,Tooltips and Menus —  All in one
33
description: A Simple React popup component.Use it as a tooltip,modal,sub-menu and match more ...
4-
components:
4+
components:
55
Demo: Demo
66
---
77

88
## Welcome
99

1010
Reactjs-popup is a simple react popup component with a lot of benefits :
1111

12-
* Built with react fragment that’s mean no additional wrapper Divs in your code or in the trigger element. 😮
13-
* Does not inject HTML outside your app root. 📦
14-
* Function as children pattern to take control over your popup anywhere in your code. 💪
15-
* Modal, Tooltip, Menu : All in one 🏋️
16-
* Full style customization 👌
17-
* Easy to use. 🚀
18-
* All these clocks in at around 3 kB zipped. ⚡️
12+
- Built with react fragment that’s mean no additional wrapper Divs in your code or in the trigger element. 😮
13+
- Does not inject HTML outside your app root. 📦
14+
- Function as children pattern to take control over your popup anywhere in your code. 💪
15+
- Modal, Tooltip, Menu : All in one 🏋️
16+
- Full style customization 👌
17+
- Easy to use. 🚀
18+
- IE Support.
19+
- All these clocks in at around 3 kB zipped. ⚡️
1920

2021
Requires React >= 16.0
2122

@@ -25,15 +26,15 @@ Requires React >= 16.0
2526

2627
## TO DO Next
2728

28-
* [x] Create repository && publish package
29-
* [x] Create reactjs-popup Home page
30-
* [x] Tooltip Support
31-
* [x] Modal Support
32-
* [x] Menu & Nested Menu Support
33-
* [x] Add Live examples
34-
* [ ] Animation API
35-
* [ ] Toast Support
36-
* [ ] suggest a feature [here](https://github.com/yjose/reactjs-popup/labels/Features)
29+
- [x] Create repository && publish package
30+
- [x] Create reactjs-popup Home page
31+
- [x] Tooltip Support
32+
- [x] Modal Support
33+
- [x] Menu & Nested Menu Support
34+
- [x] Add Live examples
35+
- [ ] Animation API
36+
- [ ] Toast Support
37+
- [ ] suggest a feature [here](https://github.com/yjose/reactjs-popup/labels/Features)
3738

3839
## Show your support!
3940

lib/README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919

2020
[Reactjs-popup](https://react-popup.netlify.com) is a simple react popup component with a lot of benefits :
2121

22-
* Built with react fragment that’s mean no additional wrapper Divs in your code or in the trigger element. 😮
23-
* Does not inject HTML outside your app root. 📦
24-
* Function as children pattern to take control over your popup anywhere in your code. 💪
25-
* Modal, Tooltip, Menu : All in one 🏋️
26-
* Full style customization 👌
27-
* Easy to use. 🚀
28-
* All these clocks in at around 3 kB zipped. ⚡️
22+
- Built with react fragment that’s mean no additional wrapper Divs in your code or in the trigger element. 😮
23+
- Does not inject HTML outside your app root. 📦
24+
- Function as children pattern to take control over your popup anywhere in your code. 💪
25+
- Modal, Tooltip, Menu : All in one 🏋️
26+
- Full style customization 👌
27+
- Easy to use. 🚀
28+
- IE Support.
29+
- All these clocks in at around 3 kB zipped. ⚡️
2930

3031
Requires React >= 16.0
3132

@@ -37,15 +38,15 @@ Requires React >= 16.0
3738

3839
## TO DO
3940

40-
* [x] Create repository && publish package
41-
* [x] Create reactjs-popup Home page
42-
* [x] Tooltip Support
43-
* [x] Modal Support
44-
* [x] Menu & Nested Menu Support
45-
* [x] Add Live examples
46-
* [ ] Animation API
47-
* [ ] Toast Support
48-
* [ ] suggest a feature [here](https://github.com/yjose/reactjs-popup/labels/Features)
41+
- [x] Create repository && publish package
42+
- [x] Create reactjs-popup Home page
43+
- [x] Tooltip Support
44+
- [x] Modal Support
45+
- [x] Menu & Nested Menu Support
46+
- [x] Add Live examples
47+
- [ ] Animation API
48+
- [ ] Toast Support
49+
- [ ] suggest a feature [here](https://github.com/yjose/reactjs-popup/labels/Features)
4950

5051
## Installing / Getting started
5152

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactjs-popup",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "React Popup Component - Modals,Tooltips and Menus —  All in one",
55
"main": "reactjs-popup.cjs.js",
66
"module": "reactjs-popup.es.js",

0 commit comments

Comments
 (0)