confirm-zepto
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -129,3 +129,3 @@ /******/ (function(modules) { // webpackBootstrap | ||
// module | ||
exports.push([module.id, "@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@-webkit-keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.confirm {\n position: absolute;\n top: 0;\n bottom: 0;\n width: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n font-size: 16px;\n -webkit-animation: fadeIn .2s both;\n animation: fadeIn .2s both;\n}\n.confirm .box {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 270px;\n height: 150px;\n margin-left: -135px;\n margin-top: -60px;\n background-color: white;\n border-radius: 12.5px;\n}\n.confirm .box .title {\n height: 100px;\n line-height: 100px;\n text-align: center;\n font-weight: 700;\n}\n.confirm .box .btn-box {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 45px;\n line-height: 45px;\n color: #007aff;\n font-weight: 700;\n}\n.confirm .box .btn-box .btn {\n display: inline-block;\n width: 50%;\n height: 100%;\n box-sizing: border-box;\n text-align: center;\n border: 1px solid rgba(0, 0, 0, 0.1);\n}\n.confirm .box .btn-box .btn.is-left-btn {\n border-right: 0;\n}\n", ""]); | ||
exports.push([module.id, "@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@-webkit-keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.confirm {\n position: absolute;\n top: 0;\n bottom: 0;\n width: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n font-size: 16px;\n -webkit-animation: fadeIn .2s both;\n animation: fadeIn .2s both;\n}\n.confirm .box {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 270px;\n height: 150px;\n margin-left: -135px;\n margin-top: -60px;\n background-color: white;\n border-radius: 12.5px;\n}\n.confirm .box .title {\n position: relative;\n top: 30px;\n height: 100px;\n line-height: 30px;\n text-align: center;\n font-weight: 700;\n}\n.confirm .box .btn-box {\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 45px;\n line-height: 45px;\n color: #007aff;\n font-weight: 700;\n}\n.confirm .box .btn-box .btn {\n display: inline-block;\n width: 50%;\n height: 100%;\n box-sizing: border-box;\n text-align: center;\n border: 1px solid rgba(0, 0, 0, 0.1);\n}\n.confirm .box .btn-box .btn.is-left-btn {\n border-right: 0;\n}\n", ""]); | ||
@@ -132,0 +132,0 @@ // exports |
{ | ||
"name": "confirm-zepto", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "mobile confirm replacing window.confirm(), mocking iOS prompt UI, supporting custom message and positive button text", | ||
@@ -5,0 +5,0 @@ "main": "dist/confirm.js", |
@@ -27,3 +27,3 @@ # confirm | ||
# options | ||
# Options | ||
@@ -36,1 +36,5 @@ * title: title | ||
no css is required! it's built-in by webpack | ||
# Change Logs | ||
* 1.0.5: long title display bug fix |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
87189
38