pcln-menu
Advanced tools
Comparing version 4.0.0-beta.2 to 4.0.0
@@ -45,12 +45,10 @@ "use strict"; | ||
componentId: "enbv9e-0" | ||
})(["font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;overflow-y:scroll;height:", "px;& > *{margin-right:", "px;margin-bottom:", "px;}", ";"], function (props) { | ||
return props.height || 300; | ||
}, (0, _styledSystem.themeGet)('space.1'), (0, _styledSystem.themeGet)('space.1'), (0, _pclnDesignSystem.applySizes)(sizes)); | ||
})(["font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;overflow-y:scroll;& > *{margin-right:", "px;margin-bottom:", "px;}", ";"], (0, _styledSystem.themeGet)('space.1'), (0, _styledSystem.themeGet)('space.1'), (0, _pclnDesignSystem.applySizes)(sizes)); | ||
function focusNext(item) { | ||
return item && item.nextElementSibling; | ||
return item === null || item === void 0 ? void 0 : item.nextElementSibling; | ||
} | ||
function focusPrevious(item) { | ||
return item && item.previousElementSibling; | ||
return item === null || item === void 0 ? void 0 : item.previousElementSibling; | ||
} | ||
@@ -60,3 +58,3 @@ | ||
var nextFocus = traversalFunction(currentFocus); | ||
nextFocus && nextFocus.focus(); | ||
nextFocus === null || nextFocus === void 0 ? void 0 : nextFocus.focus(); | ||
} | ||
@@ -63,0 +61,0 @@ |
@@ -25,12 +25,10 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
componentId: "enbv9e-0" | ||
})(["font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;overflow-y:scroll;height:", "px;& > *{margin-right:", "px;margin-bottom:", "px;}", ";"], function (props) { | ||
return props.height || 300; | ||
}, themeGet('space.1'), themeGet('space.1'), applySizes(sizes)); | ||
})(["font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;overflow-y:scroll;& > *{margin-right:", "px;margin-bottom:", "px;}", ";"], themeGet('space.1'), themeGet('space.1'), applySizes(sizes)); | ||
function focusNext(item) { | ||
return item && item.nextElementSibling; | ||
return item === null || item === void 0 ? void 0 : item.nextElementSibling; | ||
} | ||
function focusPrevious(item) { | ||
return item && item.previousElementSibling; | ||
return item === null || item === void 0 ? void 0 : item.previousElementSibling; | ||
} | ||
@@ -40,3 +38,3 @@ | ||
var nextFocus = traversalFunction(currentFocus); | ||
nextFocus && nextFocus.focus(); | ||
nextFocus === null || nextFocus === void 0 ? void 0 : nextFocus.focus(); | ||
} | ||
@@ -43,0 +41,0 @@ |
@@ -25,12 +25,10 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
componentId: "enbv9e-0" | ||
})(["font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;overflow-y:scroll;height:", "px;& > *{margin-right:", "px;margin-bottom:", "px;}", ";"], function (props) { | ||
return props.height || 300; | ||
}, themeGet('space.1'), themeGet('space.1'), applySizes(sizes)); | ||
})(["font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;overflow-y:scroll;& > *{margin-right:", "px;margin-bottom:", "px;}", ";"], themeGet('space.1'), themeGet('space.1'), applySizes(sizes)); | ||
function focusNext(item) { | ||
return item && item.nextElementSibling; | ||
return item === null || item === void 0 ? void 0 : item.nextElementSibling; | ||
} | ||
function focusPrevious(item) { | ||
return item && item.previousElementSibling; | ||
return item === null || item === void 0 ? void 0 : item.previousElementSibling; | ||
} | ||
@@ -40,3 +38,3 @@ | ||
var nextFocus = traversalFunction(currentFocus); | ||
nextFocus && nextFocus.focus(); | ||
nextFocus === null || nextFocus === void 0 ? void 0 : nextFocus.focus(); | ||
} | ||
@@ -43,0 +41,0 @@ |
{ | ||
"name": "pcln-menu", | ||
"version": "4.0.0-beta.2", | ||
"version": "4.0.0", | ||
"main": "dist/cjs/index.js", | ||
@@ -25,3 +25,2 @@ "module": "dist/esm/index.js", | ||
], | ||
"keywords": [], | ||
"author": "Priceline", | ||
@@ -41,3 +40,3 @@ "license": "MIT", | ||
"npm-run-all": "^4.1.5", | ||
"pcln-design-system": "^4.0.0", | ||
"pcln-design-system": "^4.1.0", | ||
"pcln-icons": "^4.0.0", | ||
@@ -53,3 +52,3 @@ "pcln-popover": "^4.0.0", | ||
"peerDependencies": { | ||
"pcln-design-system": "^4.0.0", | ||
"pcln-design-system": "^4.1.0", | ||
"pcln-icons": "^4.0.0", | ||
@@ -56,0 +55,0 @@ "pcln-popover": "^4.0.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
44691
25
792
1
1