mjml-navbar
Advanced tools
Comparing version 4.14.1 to 4.15.0
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -20,5 +19,3 @@ value: true | ||
}); | ||
var _Navbar = _interopRequireDefault(require("./Navbar")); | ||
var _NavbarLink = _interopRequireDefault(require("./NavbarLink")); |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -11,31 +9,17 @@ value: true | ||
exports.default = void 0; | ||
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); | ||
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); | ||
var _callSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/callSuper")); | ||
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")); | ||
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); | ||
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
var _mjmlCore = require("mjml-core"); | ||
var _conditionalTag = _interopRequireWildcard(require("mjml-core/lib/helpers/conditionalTag")); | ||
var _genRandomHexString = _interopRequireDefault(require("mjml-core/lib/helpers/genRandomHexString")); | ||
let MjNavbar = /*#__PURE__*/function (_BodyComponent) { | ||
let MjNavbar = exports.default = /*#__PURE__*/function (_BodyComponent) { | ||
(0, _inherits2.default)(MjNavbar, _BodyComponent); | ||
var _super = (0, _createSuper2.default)(MjNavbar); | ||
function MjNavbar(...args) { | ||
var _this; | ||
(0, _classCallCheck2.default)(this, MjNavbar); | ||
_this = _super.call(this, ...args); | ||
_this = (0, _callSuper2.default)(this, MjNavbar, [...args]); | ||
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "headStyle", breakpoint => ` | ||
@@ -55,3 +39,2 @@ noinput.mj-menu-checkbox { display:block!important; max-height:none!important; visibility:visible!important; } | ||
} | ||
(0, _createClass2.default)(MjNavbar, [{ | ||
@@ -170,4 +153,2 @@ key: "getStyles", | ||
}(_mjmlCore.BodyComponent); | ||
exports.default = MjNavbar; | ||
(0, _defineProperty2.default)(MjNavbar, "componentName", 'mj-navbar'); | ||
@@ -174,0 +155,0 @@ (0, _defineProperty2.default)(MjNavbar, "allowedAttributes", { |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -9,27 +8,15 @@ value: true | ||
exports.default = void 0; | ||
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); | ||
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); | ||
var _callSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/callSuper")); | ||
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); | ||
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
var _mjmlCore = require("mjml-core"); | ||
var _conditionalTag = _interopRequireDefault(require("mjml-core/lib/helpers/conditionalTag")); | ||
let MjNavbarLink = /*#__PURE__*/function (_BodyComponent) { | ||
let MjNavbarLink = exports.default = /*#__PURE__*/function (_BodyComponent) { | ||
(0, _inherits2.default)(MjNavbarLink, _BodyComponent); | ||
var _super = (0, _createSuper2.default)(MjNavbarLink); | ||
function MjNavbarLink() { | ||
(0, _classCallCheck2.default)(this, MjNavbarLink); | ||
return _super.apply(this, arguments); | ||
return (0, _callSuper2.default)(this, MjNavbarLink, arguments); | ||
} | ||
(0, _createClass2.default)(MjNavbarLink, [{ | ||
@@ -108,4 +95,2 @@ key: "getStyles", | ||
}(_mjmlCore.BodyComponent); | ||
exports.default = MjNavbarLink; | ||
(0, _defineProperty2.default)(MjNavbarLink, "componentName", 'mj-navbar-link'); | ||
@@ -112,0 +97,0 @@ (0, _defineProperty2.default)(MjNavbarLink, "endingTag", true); |
{ | ||
"name": "mjml-navbar", | ||
"description": "mjml-navbar", | ||
"version": "4.14.1", | ||
"version": "4.15.0", | ||
"main": "lib/index.js", | ||
@@ -26,3 +26,3 @@ "files": [ | ||
"lodash": "^4.17.21", | ||
"mjml-core": "4.14.1" | ||
"mjml-core": "4.15.0" | ||
}, | ||
@@ -33,3 +33,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "988819de3375867c09585d28f555166b97415200" | ||
"gitHead": "af922bd11c16f4182057077a8a060b7a7f7cc4e3" | ||
} |
@@ -35,3 +35,3 @@ ## mj-navbar | ||
Individual links of the menu should we wrapped inside mj-navbar. | ||
Individual links of the menu should be wrapped inside mj-navbar. | ||
@@ -38,0 +38,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
35714
629
+ Addedcliui@8.0.1(transitive)
+ Addedhtmlparser2@9.1.0(transitive)
+ Addedjuice@10.0.1(transitive)
+ Addedmjml-core@4.15.0(transitive)
+ Addedmjml-migrate@4.15.0(transitive)
+ Addedmjml-parser-xml@4.15.0(transitive)
+ Addedyargs@17.7.2(transitive)
+ Addedyargs-parser@21.1.1(transitive)
- Removedcliui@7.0.4(transitive)
- Removeddetect-node@2.0.4(transitive)
- Removedjuice@9.1.0(transitive)
- Removedmjml-core@4.14.1(transitive)
- Removedmjml-migrate@4.14.1(transitive)
- Removedmjml-parser-xml@4.14.1(transitive)
- Removedyargs@16.2.0(transitive)
- Removedyargs-parser@20.2.9(transitive)
Updatedmjml-core@4.15.0