jb-modal 1.5.3 → 1.5.4

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 +7 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,8 +2,9 @@
2
2
  modal web component with features:
3
3
 
4
4
  - customizable content
5
+ - support typescript
5
6
  - auto close on background click
6
- - add custom route history in browser so back button can close modal
7
+ - you can add custom route history in browser so back button can close modal and refresh (when modal is open) is open modal again
7
8
 
8
9
  ## install
9
10
 
@@ -24,7 +25,8 @@ document.querySelector('jb-modal').config.autoCloseOnBackgroundClick = true;
24
25
  ## customize modal look
25
26
 
26
27
  you can customize modal look by following css properties
27
-
28
- --jb-modal-bg-color: modal background color
29
- --jb-modal-border-radius: modal border-radius
30
- --jb-modal-border-radius-mobile: modal border-radius on mobile
28
+ | css variable name | description |
29
+ | ------------- | ------------- |
30
+ | --jb-modal-bg-color | modal background color default is black `#fff` |
31
+ | --jb-modal-border-radius | modal border-radius default `24px` |
32
+ | --jb-modal-border-radius-mobile | modal border-radius on mobile default is `24px 24px 0 0` |
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "pop up",
15
15
  "web component"
16
16
  ],
17
- "version": "1.5.3",
17
+ "version": "1.5.4",
18
18
  "bugs": "https://github.com/javadbat/jb-modal/issues",
19
19
  "license": "MIT",
20
20
  "files": [