Comparing version 0.1.8 to 0.1.9
{ | ||
"name": "modals", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "reimplementation of toast/alert/confirm/prompt", | ||
@@ -19,3 +19,3 @@ "main": "src/index.js", | ||
"type": "git", | ||
"url": "" | ||
"url": "https://github.com/MrRaindrop/modals" | ||
}, | ||
@@ -22,0 +22,0 @@ "keywords": [ |
# lib-modal | ||
**version:** 0.1.3 | ||
A modal displays content that temporarily blocks interactions with the main view of a site. This lib temporarily support alert, confirm and prompt. Also there's a toast method to display a short info, which is not technically a modal. | ||
@@ -9,18 +7,6 @@ | ||
``tnpm install @ali/lib-modal --save`` | ||
``npm install modals --save`` | ||
## usage | ||
### require: | ||
``` | ||
var modal = require('@ali/lib-modal') | ||
``` | ||
or get it from global: | ||
``` | ||
var modal = lib.modal | ||
``` | ||
### toast | ||
@@ -106,8 +92,2 @@ | ||
## Change Log | ||
#### 0.1.3 | ||
- use css instead of sass. | ||
## License | ||
@@ -114,0 +94,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1
87354
19
102